clMatrix::ValuesToStrings Method

Overload List

#SignatureDescription
1void ValuesToStrings(tStrings *dstList, const DewString &Delimiter = kTab, const DewString &ReFormat = " 0.######;-0.#######", const DewString &ImFormat = "+0.######i;-0.######i") const;Converts the content of the matrix Values array to a list of strings.
2void ValuesToStrings(tStrings *dstList, int ListIndex, int Row, int Col, int RowCount, int ColCount, DewString Delimiter = kTab, const DewString &ReFormat = " 0.######;-0.######", const DewString &ImFormat = "+0.######i;-0.######i") const;nvert calling matrix elements, starting with [Row,Col] and converting Len elements to strings.

Overload 1: void ValuesToStrings(tStrings *dstList, const DewString &Delimiter = kTab, const DewString &ReFormat = " 0.######;-0.#######", const DewString &ImFormat = "+0.######i;-0.######i") const;

Converts the content of the matrix Values array to a list of strings.

#NameTypeDescription
1dstListtStrings *
2Delimiter = kTabconst DewString &
3ReFormat = " 0.######;-0.#######"const DewString &
4ImFormat = "+0.######i;-0.######i"const DewString &
Remarks:

Convert all elements of the calling matrix to strings with formating real parts with ReFormat, imaginary parts with ImFormat, using the text delimiter Delimiter and store them in aList, by using the Add method of TStrings object.

Performance note:
This routine will be exceedingly slow, if TRichEdit.Lines or TMemo.Lines are passed as a parameter for dstList. Use TStringList or StringList types and then call TMemo.Lines.AddStrings(yourList) for best results.

Declared in Dew::Math::clMatrix · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 2: void ValuesToStrings(tStrings *dstList, int ListIndex, int Row, int Col, int RowCount, int ColCount, DewString Delimiter = kTab, const DewString &ReFormat = " 0.######;-0.######", const DewString &ImFormat = "+0.######i;-0.######i") const;

nvert calling matrix elements, starting with [Row,Col] and converting Len elements to strings.

#NameTypeDescription
1dstListtStrings *
2ListIndexint
3Rowint
4Colint
5RowCountint
6ColCountint
7Delimiter = kTabDewString
8ReFormat = " 0.######;-0.######"const DewString &
9ImFormat = "+0.######i;-0.######i"const DewString &
Remarks:

Vormating real parts with ReFormat, imaginary parts with ImFormat, using the text delimiter Delimiter and store them in aList starting at ListIndex. If aList is not large enough, the method will use the Add method of aList object.

Declared in Dew::Math::clMatrix · Dew.Math/clMtxExpr.h · Cross-compiler