Matrix.DivideBy Method

Overload List

#SignatureDescription
1TMtxVec DivideBy(TCplx Value)Divide complex Value with elements of the calling object and store the result in the calling object.
└ indexed: TMtxVec DivideBy(TCplx Value, Int32 Index, Int32 Len)
2TMtxVec DivideBy(TCplx Value, TMtxVec Vec)Divide complex Value with elements from Vec and store the result in the corresponding elements of the calling object.
└ indexed: TMtxVec DivideBy(TCplx Value, TMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len)
3TMtxVec DivideBy(Double Value)Divide Value with elements of the calling object and store the result in the calling object.
└ indexed: TMtxVec DivideBy(Double Value, Int32 Index, Int32 Len)
4TMtxVec DivideBy(Double Value, TMtxVec Vec)Divide Value with elements from Vec and store the result in the corresponding elements of the calling object.
└ indexed: TMtxVec DivideBy(Double Value, TMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len)

Overload 1: TMtxVec DivideBy(TCplx Value)

Divide complex Value with elements of the calling object and store the result in the calling object.

#NameTypeDescription
1ValueTCplxscalar

Result: stored in self (calling object), returns self for chaining

Remarks:

Calling Matrix will be extended to complex, if the calling Matrix is real.

Indexed: TMtxVec DivideBy(TCplx Value, Int32 Index, Int32 Len)

Divide complex Value with elements [Index]...[Index+Len-1] from the calling object.

#NameTypeDescription
1ValueTCplxscalar
2IndexInt32start index
3LenInt32element count

Result: stored in self (calling object), returns self for chaining

Remarks:

Store the result in the calling object at position [Index]...[Index+Len-1]. Calling Matrix will be extended to complex, if the calling Matrix is real. An exception will be raised if Dew.Math.Matrix.ConditionCheck is True and array borders are overrun or underrun.

Overload 2: TMtxVec DivideBy(TCplx Value, TMtxVec Vec)

Divide complex Value with elements from Vec and store the result in the corresponding elements of the calling object.

#NameTypeDescription
1ValueTCplxscalar
2VecTMtxVecsource TVec or TMtx

Result: stored in self (calling object), returns self for chaining

Remarks:

Size of the calling object is set automatically. Dew.Math.Matrix.Complex property of the calling object is set to True.

Indexed: TMtxVec DivideBy(TCplx Value, TMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len)

Divide complex Value with elements [VecIndex]..[VecIndes+Len-1] from Vec and store the result in the elements [Index]..[Index+Len-1] of the calling object.

#NameTypeDescription
1ValueTCplxscalar
2VecTMtxVecsource TVec or TMtx
3VecIndexInt32
4IndexInt32start index
5LenInt32element count

Result: stored in self (calling object), returns self for chaining

Remarks:

Size of the calling object is not changed. An exception will be raised if Dew.Math.Matrix.ConditionCheck is True and array borders are overrun or underrun. Dew.Math.Matrix.Complex property of the calling object is set to True.

Overload 3: TMtxVec DivideBy(Double Value)

Divide Value with elements of the calling object and store the result in the calling object.

#NameTypeDescription
1ValueDoublescalar

Result: stored in self (calling object), returns self for chaining

Indexed: TMtxVec DivideBy(Double Value, Int32 Index, Int32 Len)

Divide Value with elements [Index]...[Index+Len-1] from the calling object.

#NameTypeDescription
1ValueDoublescalar
2IndexInt32start index
3LenInt32element count

Result: stored in self (calling object), returns self for chaining

Remarks:

Store the result in the calling object at position [Index]...[Index+Len-1]. An exception will be raised if Dew.Math.Matrix.ConditionCheck is True and array borders are overrun or underrun.

Overload 4: TMtxVec DivideBy(Double Value, TMtxVec Vec)

Divide Value with elements from Vec and store the result in the corresponding elements of the calling object.

#NameTypeDescription
1ValueDoublescalar
2VecTMtxVecsource TVec or TMtx

Result: stored in self (calling object), returns self for chaining

Remarks:

Size and Dew.Math.Matrix.Complex properties of the calling object are set automatically.

Indexed: TMtxVec DivideBy(Double Value, TMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len)

Divide Value with Vec elements [VecIndex]..[VecIndes+Len-1].

#NameTypeDescription
1ValueDoublescalar
2VecTMtxVecsource TVec or TMtx
3VecIndexInt32
4IndexInt32start index
5LenInt32element count

Result: stored in self (calling object), returns self for chaining

Remarks:

Store the result in the elements [Index]..[Index+Len-1] of the calling object. Size of the calling object is not changed. An exception will be raised if Dew.Math.Matrix.ConditionCheck is True and array borders are overrun or underrun. Dew.Math.Matrix.Complex property of the calling object is set implicitly.