TMtxExpression::DefineVector Method

Overload List

#SignatureDescription
1TVectorValue *DefineVector(const DewString &AVarName, TVec *Vec);Defines new vector variable.
2TVectorValue *DefineVector(const DewString &AVarName);Use internal vector.

Overload 1: TVectorValue *DefineVector(const DewString &AVarName, TVec *Vec);

Defines new vector variable.

#NameTypeDescription
1AVarNameconst DewString &
2VecTVec *
Remarks:

If variable with name AVarName already was definded, it is redefined and all expressions which contain the symbol AVarName will be recompiled before the next evaluation. External vector may be assigned as values holder. If external vector is not assigned, internal vector will be used.

See Also: TMtxExpression::Undefine, TMtxExpression::VarByName, TMtxExpression::GetVarList, TMtxExpression::DefineVariable, TMtxExpression::DefineDouble, TMtxExpression::DefineComplex, TMtxExpression::DefineMatrix, TMtxExpression::DefineFunction, TMtxExpression::DefineVaryingFunction, TMtxExpression::DefineOperator, TMtxExpression::DefineDoubleConstant, TMtxExpression::DefineComplexConstant
Declared in Dew::Math::TMtxExpression · Dew.Math/MtxParseExpr.h · Cross-compiler

Overload 2: TVectorValue *DefineVector(const DewString &AVarName);

Use internal vector.

#NameTypeDescription
1AVarNameconst DewString &
Declared in Dew::Math::TMtxExpression · Dew.Math/MtxParseExpr.h · Cross-compiler