TVec::StringsToValues Method

Overload List

#SignatureDescription
1void StringsToValues(tStrings *srcList);Convert strings in aList to double or TCplx.
2TVec *StringsToValues(tStrings *srcList, int ListIndex, int Index = 0, int Len = MtxVecEOA);Convert strings in aList to double (TCplx) starting at ListIndex.
3TVec *StringsToValues(const DewArray<DewString> &aList);
4TVec *StringsToValues(const DewArray<DewString> &aList, int ListIndex, int Index = 0, int Len = MtxVecEOA);

Overload 1: void StringsToValues(tStrings *srcList);

Convert strings in aList to double or TCplx.

#NameTypeDescription
1srcListtStrings *
Remarks:

Convert strings in aList to double. (Cplx) and store them in the Values array of the calling vector. If AComplex is True, then the

TVec::Complex property is set to True and strings are converted by using the
Math387::StrToCplx function. The TVec::Length of the calling vector is set to

aList.Count and the complex property is auto-detected by looking at the first string.

See Also: TVec::ValuesToStrings
Declared in Dew::Math::TVec · Dew.Math/MtxVec.h · Cross-compiler

Overload 2: TVec *StringsToValues(tStrings *srcList, int ListIndex, int Index = 0, int Len = MtxVecEOA);

Convert strings in aList to double (TCplx) starting at ListIndex.

#NameTypeDescription
1srcListtStrings *
2ListIndexint
3Index = 0int
4Len = MtxVecEOAint
Remarks:

Store them in the Values array of the calling vector from Index to Index+Len-1. If strings represent complex numbers, then the complex property must be True or an exception is raised. The Length property of the calling vector is not changed. If array bounds are overrun and exception is raised.

Declared in Dew::Math::TVec · Dew.Math/MtxVec.h · Cross-compiler

Overload 3: TVec *StringsToValues(const DewArray<DewString> &aList);

#NameTypeDescription
1aListconst DewArray<DewString> &
Declared in Dew::Math::TVec · Dew.Math/MtxVec.h · Cross-compiler

Overload 4: TVec *StringsToValues(const DewArray<DewString> &aList, int ListIndex, int Index = 0, int Len = MtxVecEOA);

#NameTypeDescription
1aListconst DewArray<DewString> &
2ListIndexint
3Index = 0int
4Len = MtxVecEOAint
Declared in Dew::Math::TVec · Dew.Math/MtxVec.h · Cross-compiler