Vector.MulAndDiv Method

Overload List

#SignatureDescription
1function MulAndDiv(const X, Y: TMtxVec; const Z: Double): TMtxVec; overload;self = X * Y / zScalar
2function MulAndDiv(const X, Y: TMtxVec; const xyScale: Double; const Z: TMtxVec): TMtxVec; overload;self = X * Y * xyScale / Z
3function MulAndDiv(const X, Y: TMtxVec; const Z: TCplx): TMtxVec; overload;self = X * Y / zScalar
4function MulAndDiv(const X, Y: TMtxVec; const xyScale: TCplx; const Z: TMtxVec): TMtxVec; overload;self = X * Y * xyScale / Z
5function MulAndDiv(const X, Y, Z: TMtxVec): TMtxVec; overload;self = X * Y / Z
6function MulAndDiv(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
7function MulAndDiv(const X: TMtxVec; xIndex: integer; const Y: TMtxVec; yIndex: integer; const Z: Double; Index, Len: integer): TMtxVec; overload;self = X * Y / zScalar
8function MulAndDiv(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
9function MulAndDiv(const X: TMtxVec; xIndex: integer; const Y: TMtxVec; yIndex: integer; const Z: TCplx; Index, Len: integer): TMtxVec; overload;self = X * Y / zScalar
10function MulAndDiv(const X: TMtxVec; xIndex: integer; const Y: TMtxVec; yIndex: integer; const Z: TMtxVec; zIndex: integer; Index, Len: integer): TMtxVec; overload;self = X * Y / Z

Overload 1: function MulAndDiv(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 MulAndDiv(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

Remarks:

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

X^2 * xyScale/ Z

Overload 3: function MulAndDiv(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 4: function MulAndDiv(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

Remarks:

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

X^2 * xyScale/ Z

Overload 5: function MulAndDiv(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 6: function MulAndDiv(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

Overload 7: function MulAndDiv(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 8: function MulAndDiv(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 9: function MulAndDiv(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 10: function MulAndDiv(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