Tvariable_set Struct Reference Detailed DescriptionA set of variable indexes. This is used to implement the set of power variables in a monomial or just a colletion of variable indexes (in this case the powers are not used). The structure also supports funtions applied to each individual variable (typically trigonometric functions: sin/cos). This can be combined with the powers to yield exponentials of the functions (e.g. sin(x)^n or cos(x)^n). Note that this is not a set of variables with information for each variable (see Tvariables) but merely a set of variable indexes. This is basically a vector (see Tvector) and is not implemented using the generic Tvector just for legacy reasons (Tvariable_set was implemented much before that the generic structure Tvector). Moreover, to use a generic vector we need to implement a basic type including the variable identifier and the variable power (and the associated constructor, destructor, copy operator, etc).
Definition at line 131 of file variable_set.h.
Field Documentation
Number of variables indexes in the set. Definition at line 132 of file variable_set.h. Referenced by AddVariableInt(), CmpVarSet(), CopyVarSet(), DeriveVarSet(), EmptyVarSet(), EvaluateVarSet(), EvaluateVarSetInt(), FixVariableInVarSet(), InitVarSet(), PrintVarSet(), ProductVarSet(), RemoveVariableFromSet(), ReplaceVariableInVarSet(), ResetVarSet(), ShiftVarIndexes(), UnionVarSet(), VariableSetSize(), and VarSetOrder().
Maximum number of the variables in the set. Definition at line 133 of file variable_set.h. Referenced by AddVariableInt(), CopyVarSet(), DeriveVarSet(), and InitVarSet().
Variable indexes. Definition at line 134 of file variable_set.h. Referenced by AddVariable2Set(), AddVariableInt(), CmpVarSet(), CopyVarSet(), DeleteVarSet(), DeriveVarSet(), EvaluateVarSet(), EvaluateVarSetInt(), FixVariableInVarSet(), GetPlaceinSet(), GetVariableN(), GetVariables(), Included(), InitVarSet(), PrintVarSet(), ProductVarSet(), RemoveVariableFromSet(), ReplaceVariableInVarSet(), ShiftVarIndexes(), UnionVarSet(), and VarSetIntersect().
Power for each variable. Definition at line 135 of file variable_set.h. Referenced by AddVariable2Set(), AddVariableInt(), CmpVarSet(), CopyVarSet(), DeleteVarSet(), DeriveVarSet(), EvaluateVarSet(), EvaluateVarSetInt(), FixVariableInVarSet(), GetPowers(), GetVariablePowerN(), Included(), InitVarSet(), PrintVarSet(), ProductVarSet(), RemoveVariableFromSet(), ReplaceVariableInVarSet(), UnionVarSet(), VarSetIntersect(), and VarSetOrder().
(Trigonometric) Function for each variable. Definition at line 136 of file variable_set.h. Referenced by AddVariable2Set(), AddVariableInt(), CmpVarSet(), CopyVarSet(), DeleteVarSet(), DeriveVarSet(), EvaluateVarSet(), EvaluateVarSetInt(), FixVariableInVarSet(), GetVariableFunctionN(), Included(), InitVarSet(), PolynomialVarSet(), PrintVarSet(), ProductVarSet(), RemoveVariableFromSet(), ReplaceVariableInVarSet(), UnionVarSet(), and VarSetIntersect(). |
Follow us!