Wolfram Library Archive


All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

Declaring Properties of Variables
Author

Pekka Janhunen
Organization: Finnish Meterological Institute
Old MathSource #

0202-149
Revision date

1992-02-01
Description

Allows you to declare properties for Mathematica variables and uses those declarations 'intelligently'. For example, if you say Declare[x, Real], then Sqrt[x^2] will simplify to Abs[x] and so forth.
Subjects

*Wolfram Technology > Kernel > Pattern Matching
*Wolfram Technology > Programming > Symbolic Computation
Keywords

Declare, NewDeclare, NonPositive, RealQ, Odd, Even, Uncertain, Declare.m, DeclareTest.ma
Downloads Download Wolfram CDF Player

Download
Declare.m (6.7 KB) - Mathematica Package
Download
DeclareTest.nb (12.9 KB) - Mathematica Notebook

Files specific to Mathematica 2.2 version:
Download
DeclareTest.ma (9.8 KB) - Mathematica Notebook 2.2 or older