Vector::SubFrom Method

Overload List

#SignatureDescription
1TMtxVec *SubFrom(double Value) const;Subtraction from value.
2TMtxVec *SubFrom(TCplx Value) const;Subtract each of calling object elements from complex Value.
3TMtxVec *SubFrom(double Value, int Index, int Len) const;Subtract elements [Index]..[Index+Len-1] from Value and store the result in Self.
4TMtxVec *SubFrom(TCplx Value, int Index, int Len) const;Subtract elements [Index]..[Index+Len-1] from complex Value and store the result in Self.
5TMtxVec *SubFrom(double Value, TMtxVec *Vec) const;Substract Vec elements from Value and store the result in the calling object.
6TMtxVec *SubFrom(TCplx Value, TMtxVec *Vec) const;Substract complex Vec elements from Value and store the result in the calling object.
7TMtxVec *SubFrom(double Value, TMtxVec *Vec, int VecIndex, int Index, int Len) const;Substract Vec elements [VecIndex]..[VecIndex+Len-1] from Value.
8TMtxVec *SubFrom(TCplx Value, TMtxVec *Vec, int VecIndex, int Index, int Len) const;Substract Vec elements [VecIndex]..[VecIndex+Len-1] from complex Value and store the result to the calling object elements [Index]..[Index+Len-1].

Overload 1: TMtxVec *SubFrom(double Value) const;

Subtraction from value.

#NameTypeDescription
1Valuedouble
Remarks:

Subtract each of calling object elements from Value.

See Also: Vector::Add, Vector::Sub
Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 2: TMtxVec *SubFrom(TCplx Value) const;

Subtract each of calling object elements from complex Value.

#NameTypeDescription
1ValueTCplx
Remarks:

If the calling vector is not complex, the conversion is performed automatically in a performance efficient way.

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 3: TMtxVec *SubFrom(double Value, int Index, int Len) const;

Subtract elements [Index]..[Index+Len-1] from Value and store the result in Self.

#NameTypeDescription
1Valuedouble
2Indexint
3Lenint
Remarks:

An exception is raised if Vector::ConditionCheck is True and array borders are overrun or underrun.

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 4: TMtxVec *SubFrom(TCplx Value, int Index, int Len) const;

Subtract elements [Index]..[Index+Len-1] from complex Value and store the result in Self.

#NameTypeDescription
1ValueTCplx
2Indexint
3Lenint
Remarks:

If the calling vector is not complex, the conversion to complex is performed automatically in performance efficient way. An exception is raised if Vector::ConditionCheck is True and array borders are overrun or underrun.

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 5: TMtxVec *SubFrom(double Value, TMtxVec *Vec) const;

Substract Vec elements from Value and store the result in the calling object.

#NameTypeDescription
1Valuedouble
2VecTMtxVec *
Remarks:

Size and Vector::Complex properties of calling object are adjusted automatically.

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 6: TMtxVec *SubFrom(TCplx Value, TMtxVec *Vec) const;

Substract complex Vec elements from Value and store the result in the calling object.

#NameTypeDescription
1ValueTCplx
2VecTMtxVec *
Remarks:

Size property of the calling object is set automatically. Vector::Complex property of the calling object is set to True.

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 7: TMtxVec *SubFrom(double Value, TMtxVec *Vec, int VecIndex, int Index, int Len) const;

Substract Vec elements [VecIndex]..[VecIndex+Len-1] from Value.

#NameTypeDescription
1Valuedouble
2VecTMtxVec *
3VecIndexint
4Indexint
5Lenint
Remarks:

Store the result to the calling object elements [Index]..[Index+Len-1]. Size property of the calling object is not changed. An exception is raised if Vector::ConditionCheck is True and array borders are overrun or underrun. Vector::Complex property of the calling object is adjusted automatically.

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 8: TMtxVec *SubFrom(TCplx Value, TMtxVec *Vec, int VecIndex, int Index, int Len) const;

Substract Vec elements [VecIndex]..[VecIndex+Len-1] from complex Value and store the result to the calling object elements [Index]..[Index+Len-1].

#NameTypeDescription
1ValueTCplx
2VecTMtxVec *
3VecIndexint
4Indexint
5Lenint
Remarks:

Size property of the calling object is not changed. An exception is raised if Vector::ConditionCheck is True and array borders are overrun or underrun. Vector::Complex property of the calling object is set to True.

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler