TMtxExpression::DefineMatrix Method

Overload List

#SignatureDescription
1TMatrixValue *DefineMatrix(const DewString &AVarName, TMtx *mtx);DefineMatrix defines new matrix variable.
2TMatrixValue *DefineMatrix(const DewString &AVarName);Use internal matrix.

Overload 1: TMatrixValue *DefineMatrix(const DewString &AVarName, TMtx *mtx);

DefineMatrix defines new matrix variable.

#NameTypeDescription
1AVarNameconst DewString &
2mtxTMtx *
Remarks:

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

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

Overload 2: TMatrixValue *DefineMatrix(const DewString &AVarName);

Use internal matrix.

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