MatrixInt::StringsToValues Method

Overload List

#SignatureDescription
1TMtxInt *StringsToValues(tStrings *aList, const DewString &Delimiter = kTab) const;Convert strings to integers and store them in the Values array.
2TMtxInt *StringsToValues(tStrings *aList, const int ListIndex, const int ListLen, const int Row, const int Col, DewString Delimiter = kTab) const;Convert strings from [ListIndex]..[ListIndex+ListLen-1] in aList to integers.
3TMtxInt *StringsToValues(const DewArray<DewString> &aList, const DewString &Delimiter = kTab) const;
4TMtxInt *StringsToValues(const DewArray<DewString> &aList, const int ListIndex, const int ListLen, const int Row, const int Col, const DewString &Delimiter = kTab) const;

Overload 1: TMtxInt *StringsToValues(tStrings *aList, const DewString &Delimiter = kTab) const;

Convert strings to integers and store them in the Values array.

#NameTypeDescription
1aListtStrings *
2Delimiter = kTabconst DewString &
Remarks:

Convert strings in aList to an integer number and stores them in the Values array of the calling matrix. MatrixInt::Rows property is set to aList.Count. TMtxVecInt::IntPrecision and MatrixInt::Cols propertes are auto-detected. Complex numbers must follow the format: a+bi. All strings must have the same number of columns (numbers). Columns must be separated with a Delimiter. By default the delimiter is the tab charachter.

See Also: MatrixInt::ValuesToStrings
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 2: TMtxInt *StringsToValues(tStrings *aList, const int ListIndex, const int ListLen, const int Row, const int Col, DewString Delimiter = kTab) const;

Convert strings from [ListIndex]..[ListIndex+ListLen-1] in aList to integers.

#NameTypeDescription
1aListtStrings *
2ListIndexconst int
3ListLenconst int
4Rowconst int
5Colconst int
6Delimiter = kTabDewString
Remarks:

Store them in the Values array of the calling matrix, starting from element [Row,Cols]. The size of the calling matrix is not changed. If array bounds are overrun an exception is raised. Complex numbers must follow the format: a+bi.

Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 3: TMtxInt *StringsToValues(const DewArray<DewString> &aList, const DewString &Delimiter = kTab) const;

#NameTypeDescription
1aListconst DewArray<DewString> &
2Delimiter = kTabconst DewString &
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 4: TMtxInt *StringsToValues(const DewArray<DewString> &aList, const int ListIndex, const int ListLen, const int Row, const int Col, const DewString &Delimiter = kTab) const;

#NameTypeDescription
1aListconst DewArray<DewString> &
2ListIndexconst int
3ListLenconst int
4Rowconst int
5Colconst int
6Delimiter = kTabconst DewString &
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler