Matrix::ValuesToStrings Method

Overload List

#SignatureDescription
1void ValuesToStrings(DewArray<DewString> &aList, const DewString &Delimiter = kTab, const TFixedTextAlign Align = TFixedTextAlign::ftaNone, const DewString &ReFormat = " 0.###;-0.###", const DewString &ImFormat = "+0.###i;-0.###i", const bool Headers = false) const;
2void ValuesToStrings(DewArray<DewString> &aList, int ListIndex, int Row, int Col, int RowCount, int ColCount, const DewString &Delimiter = kTab, const TFixedTextAlign Align = TFixedTextAlign::ftaNone, const DewString &ReFormat = " 0.###;-0.###", const DewString &ImFormat = "+0.###i;-0.###i", const bool Headers = false) const;
3int ValuesToStrings(tStrings *dstList, const DewString &Delimiter = kTab, const TFixedTextAlign Align = TFixedTextAlign::ftaNone, const DewString &ReFormat = " 0.###;-0.###", const DewString &ImFormat = "+0.###i;-0.###i", const bool Headers = false, const int ColumnWidth = - 1) const;Converts the content of the matrix Values array to a list of strings.
4int ValuesToStrings(tStrings *dstList, int ListIndex, int Row, int Col, int RowCount, int ColCount, const DewString &Delimiter = kTab, const TFixedTextAlign Align = TFixedTextAlign::ftaNone, const DewString &ReFormat = " 0.###;-0.###", const DewString &ImFormat = "+0.###i;-0.###i", const bool Headers = false, const int ColumnWidth = - 1) const;Convert calling matrix elements, starting with [Row,Col] and converting Len elements to strings with formating real parts with ReFormat, imaginary parts with ImFormat.

Overload 1: void ValuesToStrings(DewArray<DewString> &aList, const DewString &Delimiter = kTab, const TFixedTextAlign Align = TFixedTextAlign::ftaNone, const DewString &ReFormat = " 0.###;-0.###", const DewString &ImFormat = "+0.###i;-0.###i", const bool Headers = false) const;

#NameTypeDescription
1aListDewArray<DewString> &
2Delimiter = kTabconst DewString &
3Align = TFixedTextAlign::ftaNoneconst TFixedTextAlign
4ReFormat = " 0.###;-0.###"const DewString &
5ImFormat = "+0.###i;-0.###i"const DewString &
6Headers = falseconst bool
Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler

Overload 2: void ValuesToStrings(DewArray<DewString> &aList, int ListIndex, int Row, int Col, int RowCount, int ColCount, const DewString &Delimiter = kTab, const TFixedTextAlign Align = TFixedTextAlign::ftaNone, const DewString &ReFormat = " 0.###;-0.###", const DewString &ImFormat = "+0.###i;-0.###i", const bool Headers = false) const;

#NameTypeDescription
1aListDewArray<DewString> &
2ListIndexint
3Rowint
4Colint
5RowCountint
6ColCountint
7Delimiter = kTabconst DewString &
8Align = TFixedTextAlign::ftaNoneconst TFixedTextAlign
9ReFormat = " 0.###;-0.###"const DewString &
10ImFormat = "+0.###i;-0.###i"const DewString &
11Headers = falseconst bool
Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler

Overload 3: int ValuesToStrings(tStrings *dstList, const DewString &Delimiter = kTab, const TFixedTextAlign Align = TFixedTextAlign::ftaNone, const DewString &ReFormat = " 0.###;-0.###", const DewString &ImFormat = "+0.###i;-0.###i", const bool Headers = false, const int ColumnWidth = - 1) const;

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

#NameTypeDescription
1dstListtStrings *
2Delimiter = kTabconst DewString &
3Align = TFixedTextAlign::ftaNoneconst TFixedTextAlign
4ReFormat = " 0.###;-0.###"const DewString &
5ImFormat = "+0.###i;-0.###i"const DewString &
6Headers = falseconst bool
7ColumnWidth = - 1const int
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.

See Also: Matrix::StringsToValues
Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler

Overload 4: int ValuesToStrings(tStrings *dstList, int ListIndex, int Row, int Col, int RowCount, int ColCount, const DewString &Delimiter = kTab, const TFixedTextAlign Align = TFixedTextAlign::ftaNone, const DewString &ReFormat = " 0.###;-0.###", const DewString &ImFormat = "+0.###i;-0.###i", const bool Headers = false, const int ColumnWidth = - 1) const;

Convert calling matrix elements, starting with [Row,Col] and converting Len elements to strings with formating real parts with ReFormat, imaginary parts with ImFormat.

#NameTypeDescription
1dstListtStrings *
2ListIndexint
3Rowint
4Colint
5RowCountint
6ColCountint
7Delimiter = kTabconst DewString &
8Align = TFixedTextAlign::ftaNoneconst TFixedTextAlign
9ReFormat = " 0.###;-0.###"const DewString &
10ImFormat = "+0.###i;-0.###i"const DewString &
11Headers = falseconst bool
12ColumnWidth = - 1const int
Remarks:

Uses 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.

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::Matrix · Dew.Math/MtxExpr.h · Cross-compiler