TMtx.DivAndAdd Method

Overload List

#SignatureDescription
1function DivAndAdd(const X, Y: TMtxVec; const Z: Double): TMtxVec; overload;self = X/Y + zScalar
2function DivAndAdd(const X: TMtxVec; const Y: TMtxVec; const xyScale: Double; const Z: Double): TMtxVec; overload;self = (X / Y) * xyScale + zScalar
3function DivAndAdd(const X: TMtxVec; const Y: TMtxVec; const xyScale: Double; const Z: TMtxVec; const zScale: Double): TMtxVec; overload;self = (X / Y)*xyScale + Z*zScale
4function DivAndAdd(const X, Y: TMtxVec; const Z: TCplx): TMtxVec; overload;self = X/Y + zScalar
5function DivAndAdd(const X: TMtxVec; const Y: TMtxVec; const xyScale: TCplx; const Z: TCplx): TMtxVec; overload;self = (X / Y) * xyScale + zScalar
6function DivAndAdd(const X, Y: TMtxVec; const xyScale: TCplx; const Z: TMtxVec): TMtxVec; overload;self = X/Y*xyScale + Z
7function DivAndAdd(const X: TMtxVec; const Y: TMtxVec; const xyScale: TCplx; const Z: TMtxVec; const zScale: TCplx): TMtxVec; overload;self = (X / Y)*xyScale + Z*zScale
8function DivAndAdd(const X, Y, Z: TMtxVec): TMtxVec; overload;self = X/Y + Z
9function DivAndAdd(const X, Y, Z: TMtxVec; const zScale: TCplx): TMtxVec; overload;self = X/Y + Z*zScale
10function DivAndAdd(const X, Y, Z: TMtxVec; const zScale: double): TMtxVec; overload;self = X/Y + Z*zScale
11function DivAndAdd(const X, Y: TMtxVec; const xyScale: double; const Z: TMtxVec): TMtxVec; overload;self = X/Y*xyScale + Z
12function DivAndAdd(const X: TMtxVec; xIndex: Integer; const Y: TMtxVec; yIndex: Integer; const xyScale: Double; const Z: Double; Index, Len: Integer): TMtxVec; overload;self = (X / Y) * xyScale + zScalar
13function DivAndAdd(const X: TMtxVec; xIndex: Integer; const Y: TMtxVec; yIndex: Integer; const Z: Double; Index, Len: Integer): TMtxVec; overload;self = X/Y + zScalar
14function DivAndAdd(const X: TMtxVec; xIndex: Integer; const Y: TMtxVec; yIndex: Integer; const xyScale: Double; const Z: TMtxVec; zIndex: Integer; const zScale: Double; Index, Len: Integer): TMtxVec; overload;self = (X / Y)*xyScale + Z*zScale
15function DivAndAdd(const X: TMtxVec; xIndex: Integer; const Y: TMtxVec; yIndex: Integer; const Z: TCplx; Index, Len: Integer): TMtxVec; overload;self = X/Y + zScalar
16function DivAndAdd(const X: TMtxVec; xIndex: Integer; const Y: TMtxVec; yIndex: Integer; const xyScale: TCplx; const Z: TCplx; Index, Len: Integer): TMtxVec; overload;self = (X / Y) * xyScale + zScalar
17function DivAndAdd(const X: TMtxVec; xIndex: Integer; const Y: TMtxVec; yIndex: Integer; const xyScale: TCplx; const Z: TMtxVec; zIndex: Integer; Index, Len: Integer): TMtxVec; overload;self = X/Y*xyScale + Z
18function DivAndAdd(const X: TMtxVec; xIndex: Integer; const Y: TMtxVec; yIndex: Integer; const xyScale: TCplx; const Z: TMtxVec; zIndex: Integer; const zScale: TCplx; Index, Len: Integer): TMtxVec; overload;self = (X / Y)*xyScale + Z*zScale
19function DivAndAdd(const X: TMtxVec; xIndex: Integer; const Y: TMtxVec; yIndex: Integer; const Z: TMtxVec; zIndex: Integer; Index, Len: Integer): TMtxVec; overload;self = X/Y + Z
20function DivAndAdd(const X: TMtxVec; xIndex: Integer; const Y: TMtxVec; yIndex: Integer; const Z: TMtxVec; zIndex: Integer; const zScale: TCplx; Index, Len: Integer): TMtxVec; overload;self = X/Y + Z*zScale
21function DivAndAdd(const X: TMtxVec; xIndex: Integer; const Y: TMtxVec; yIndex: Integer; const Z: TMtxVec; zIndex: Integer; const zScale: double; Index, Len: Integer): TMtxVec; overload;self = X/Y + Z*zScale
22function DivAndAdd(const X: TMtxVec; xIndex: Integer; const Y: TMtxVec; yIndex: Integer; const xyScale: double; const Z: TMtxVec; zIndex: Integer; Index, Len: Integer): TMtxVec; overload;self = X/Y*xyScale + Z

Overload 1: function DivAndAdd(const X, Y: TMtxVec; const Z: Double): TMtxVec; overload;

Compute X/Y + zScalar

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2YTMtxVecsource TVec or TMtx
3ZDoublescalar

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

Overload 2: function DivAndAdd(const X: TMtxVec; const Y: TMtxVec; const xyScale: Double; const Z: Double): TMtxVec; overload;

Compute (X / Y) * xyScale + zScalar

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2YTMtxVecsource TVec or TMtx
3xyScaleDoublescalar
4ZDoublescalar

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

Overload 3: function DivAndAdd(const X: TMtxVec; const Y: TMtxVec; const xyScale: Double; const Z: TMtxVec; const zScale: Double): TMtxVec; overload;

Compute (X / Y)*xyScale + Z*zScale

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2YTMtxVecsource TVec or TMtx
3xyScaleDoublescalar
4ZTMtxVecsource TVec or TMtx
5zScaleDoublescalar

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

Remarks:

The following expression would also run at the same or higher speed, when passing Z also for the Y parameter:

(X / Z) xyScale + Z zScale

Overload 4: function DivAndAdd(const X, Y: TMtxVec; const Z: TCplx): TMtxVec; overload;

Compute X/Y + zScalar

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2YTMtxVecsource TVec or TMtx
3ZTCplxscalar

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

Overload 5: function DivAndAdd(const X: TMtxVec; const Y: TMtxVec; const xyScale: TCplx; const Z: TCplx): TMtxVec; overload;

Compute (X / Y) * xyScale + zScalar

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2YTMtxVecsource TVec or TMtx
3xyScaleTCplxscalar
4ZTCplxscalar

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

Overload 6: function DivAndAdd(const X, Y: TMtxVec; const xyScale: TCplx; const Z: TMtxVec): TMtxVec; overload;

Compute X/Y*xyScale + Z

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2YTMtxVecsource TVec or TMtx
3xyScaleTCplxscalar
4ZTMtxVecsource TVec or TMtx

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

Overload 7: function DivAndAdd(const X: TMtxVec; const Y: TMtxVec; const xyScale: TCplx; const Z: TMtxVec; const zScale: TCplx): TMtxVec; overload;

Compute (X / Y)*xyScale + Z*zScale

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2YTMtxVecsource TVec or TMtx
3xyScaleTCplxscalar
4ZTMtxVecsource TVec or TMtx
5zScaleTCplxscalar

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

Remarks:

The following expression would also run at the same or higher speed, when passing Z also for the Y parameter:

(X / Z) xyScale + Z zScale

Overload 8: function DivAndAdd(const X, Y, Z: TMtxVec): TMtxVec; overload;

Compute X/Y + Z

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2YTMtxVecsource TVec or TMtx
3ZTMtxVecsource TVec or TMtx

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

Overload 9: function DivAndAdd(const X, Y, Z: TMtxVec; const zScale: TCplx): TMtxVec; overload;

Compute X/Y + Z*zScale

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2YTMtxVecsource TVec or TMtx
3ZTMtxVecsource TVec or TMtx
4zScaleTCplxscalar

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

Overload 10: function DivAndAdd(const X, Y, Z: TMtxVec; const zScale: double): TMtxVec; overload;

Compute X/Y + Z*zScale

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2YTMtxVecsource TVec or TMtx
3ZTMtxVecsource TVec or TMtx
4zScaledoublescalar

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

Overload 11: function DivAndAdd(const X, Y: TMtxVec; const xyScale: double; const Z: TMtxVec): TMtxVec; overload;

Compute X/Y*xyScale + Z

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2YTMtxVecsource TVec or TMtx
3xyScaledoublescalar
4ZTMtxVecsource TVec or TMtx

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

Overload 12: function DivAndAdd(const X: TMtxVec; xIndex: Integer; const Y: TMtxVec; yIndex: Integer; const xyScale: Double; const Z: Double; Index, Len: Integer): TMtxVec; overload;

Compute (X / Y) * xyScale + zScalar

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2xIndexInteger
3YTMtxVecsource TVec or TMtx
4yIndexInteger
5xyScaleDoublescalar
6ZDoublescalar
7IndexIntegerstart index
8LenIntegerelement count

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

Overload 13: function DivAndAdd(const X: TMtxVec; xIndex: Integer; const Y: TMtxVec; yIndex: Integer; const Z: Double; Index, Len: Integer): TMtxVec; overload;

Compute X/Y + zScalar on sub array

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2xIndexInteger
3YTMtxVecsource TVec or TMtx
4yIndexInteger
5ZDoublescalar
6IndexIntegerstart index
7LenIntegerelement count

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

Overload 14: function DivAndAdd(const X: TMtxVec; xIndex: Integer; const Y: TMtxVec; yIndex: Integer; const xyScale: Double; const Z: TMtxVec; zIndex: Integer; const zScale: Double; Index, Len: Integer): TMtxVec; overload;

Compute (X / Y)*xyScale + Z*zScale on sub array

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2xIndexInteger
3YTMtxVecsource TVec or TMtx
4yIndexInteger
5xyScaleDoublescalar
6ZTMtxVecsource TVec or TMtx
7zIndexInteger
8zScaleDoublescalar
9IndexIntegerstart index
10LenIntegerelement count

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

Overload 15: function DivAndAdd(const X: TMtxVec; xIndex: Integer; const Y: TMtxVec; yIndex: Integer; const Z: TCplx; Index, Len: Integer): TMtxVec; overload;

Compute X/Y + zScalar on sub array

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2xIndexInteger
3YTMtxVecsource TVec or TMtx
4yIndexInteger
5ZTCplxscalar
6IndexIntegerstart index
7LenIntegerelement count

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

Overload 16: function DivAndAdd(const X: TMtxVec; xIndex: Integer; const Y: TMtxVec; yIndex: Integer; const xyScale: TCplx; const Z: TCplx; Index, Len: Integer): TMtxVec; overload;

Compute (X / Y) * xyScale + zScalar

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2xIndexInteger
3YTMtxVecsource TVec or TMtx
4yIndexInteger
5xyScaleTCplxscalar
6ZTCplxscalar
7IndexIntegerstart index
8LenIntegerelement count

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

Overload 17: function DivAndAdd(const X: TMtxVec; xIndex: Integer; const Y: TMtxVec; yIndex: Integer; const xyScale: TCplx; const Z: TMtxVec; zIndex: Integer; Index, Len: Integer): TMtxVec; overload;

Compute X/Y*xyScale + Z on sub array

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2xIndexInteger
3YTMtxVecsource TVec or TMtx
4yIndexInteger
5xyScaleTCplxscalar
6ZTMtxVecsource TVec or TMtx
7zIndexInteger
8IndexIntegerstart index
9LenIntegerelement count

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

Overload 18: function DivAndAdd(const X: TMtxVec; xIndex: Integer; const Y: TMtxVec; yIndex: Integer; const xyScale: TCplx; const Z: TMtxVec; zIndex: Integer; const zScale: TCplx; Index, Len: Integer): TMtxVec; overload;

Compute (X / Y)*xyScale + Z*zScale on sub array

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2xIndexInteger
3YTMtxVecsource TVec or TMtx
4yIndexInteger
5xyScaleTCplxscalar
6ZTMtxVecsource TVec or TMtx
7zIndexInteger
8zScaleTCplxscalar
9IndexIntegerstart index
10LenIntegerelement count

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

Overload 19: function DivAndAdd(const X: TMtxVec; xIndex: Integer; const Y: TMtxVec; yIndex: Integer; const Z: TMtxVec; zIndex: Integer; Index, Len: Integer): TMtxVec; overload;

Compute X/Y + Z on sub array

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2xIndexInteger
3YTMtxVecsource TVec or TMtx
4yIndexInteger
5ZTMtxVecsource TVec or TMtx
6zIndexInteger
7IndexIntegerstart index
8LenIntegerelement count

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

Overload 20: function DivAndAdd(const X: TMtxVec; xIndex: Integer; const Y: TMtxVec; yIndex: Integer; const Z: TMtxVec; zIndex: Integer; const zScale: TCplx; Index, Len: Integer): TMtxVec; overload;

Compute X/Y + Z*zScale on sub array

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2xIndexInteger
3YTMtxVecsource TVec or TMtx
4yIndexInteger
5ZTMtxVecsource TVec or TMtx
6zIndexInteger
7zScaleTCplxscalar
8IndexIntegerstart index
9LenIntegerelement count

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

Overload 21: function DivAndAdd(const X: TMtxVec; xIndex: Integer; const Y: TMtxVec; yIndex: Integer; const Z: TMtxVec; zIndex: Integer; const zScale: double; Index, Len: Integer): TMtxVec; overload;

Compute X/Y + Z*zScale on sub array

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2xIndexInteger
3YTMtxVecsource TVec or TMtx
4yIndexInteger
5ZTMtxVecsource TVec or TMtx
6zIndexInteger
7zScaledoublescalar
8IndexIntegerstart index
9LenIntegerelement count

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

Overload 22: function DivAndAdd(const X: TMtxVec; xIndex: Integer; const Y: TMtxVec; yIndex: Integer; const xyScale: double; const Z: TMtxVec; zIndex: Integer; Index, Len: Integer): TMtxVec; overload;

Compute X/Y*xyScale + Z on sub array

#NameTypeDescription
1XTMtxVecsource TVec or TMtx
2xIndexInteger
3YTMtxVecsource TVec or TMtx
4yIndexInteger
5xyScaledoublescalar
6ZTMtxVecsource TVec or TMtx
7zIndexInteger
8IndexIntegerstart index
9LenIntegerelement count

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