Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMatrixValue *DefineMatrix(const DewString &AVarName, TMtx *mtx); | DefineMatrix defines new matrix variable. |
| 2 | TMatrixValue *DefineMatrix(const DewString &AVarName); | Use internal matrix. |
Overload 1: TMatrixValue *DefineMatrix(const DewString &AVarName, TMtx *mtx);
DefineMatrix defines new matrix variable.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AVarName | const DewString & | |
| 2 | mtx | TMtx * |
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.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AVarName | const DewString & |
Declared in Dew::Math::TMtxExpression · Dew.Math/MtxParseExpr.h · Cross-compiler