Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtx *StringsToValues(tStrings *srcList, const DewString &aDelimiter); | Convert strings to double (TCplx) and store them in the Values array. |
| 2 | virtual TMtx *StringsToValues(tStrings *srcList); | Convert strings to double (TCplx) and store them in the Values array. |
| 3 | TMtx *StringsToValues(tStrings *srcList, int ListIndex, int ListLen, int Row, int Col, DewString Delimiter = kTab); | Convert strings from [ListIndex]..[ListIndex+ListLen-1] in aList to double (TCplx). |
| 4 | TMtx *StringsToValues(const DewArray<DewString> &aList, const DewString &Delimiter = kTab); | |
| 5 | TMtx *StringsToValues(const DewArray<DewString> &aList, int ListIndex, int ListLen, int Row, int Col, DewString Delimiter = kTab); |
Overload 1: TMtx *StringsToValues(tStrings *srcList, const DewString &aDelimiter);
Convert strings to double (TCplx) and store them in the Values array.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | srcList | tStrings * | |
| 2 | aDelimiter | const DewString & |
Convert strings in aList to double (real number) and store them in the Values array of the calling matrix. TMtx::Rows property is set to aList.Count. TMtx::Complex and TMtx::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 aDelimiter.
Overload 2: virtual TMtx *StringsToValues(tStrings *srcList);
Convert strings to double (TCplx) and store them in the Values array.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | srcList | tStrings * |
Uses Tab (#9) as the default column separator.
Overload 3: TMtx *StringsToValues(tStrings *srcList, int ListIndex, int ListLen, int Row, int Col, DewString Delimiter = kTab);
Convert strings from [ListIndex]..[ListIndex+ListLen-1] in aList to double (TCplx).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | srcList | tStrings * | |
| 2 | ListIndex | int | |
| 3 | ListLen | int | |
| 4 | Row | int | |
| 5 | Col | int | |
| 6 | Delimiter = kTab | DewString |
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.
Overload 4: TMtx *StringsToValues(const DewArray<DewString> &aList, const DewString &Delimiter = kTab);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aList | const DewArray<DewString> & | |
| 2 | Delimiter = kTab | const DewString & |
Overload 5: TMtx *StringsToValues(const DewArray<DewString> &aList, int ListIndex, int ListLen, int Row, int Col, DewString Delimiter = kTab);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aList | const DewArray<DewString> & | |
| 2 | ListIndex | int | |
| 3 | ListLen | int | |
| 4 | Row | int | |
| 5 | Col | int | |
| 6 | Delimiter = kTab | DewString |