VectorInt.Sub Method

Overload List

#SignatureDescription
1function Sub(const X: TMtxVecInt; const Y: TMtxVecInt; const Z: TMtxVecInt): TMtxVecInt;self = X - Y - Z
└ indexed: function Sub(const X: TMtxVecInt; XIndex: Integer; const Y: TMtxVecInt; YIndex: Integer; const Z: TMtxVecInt; zIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;
2function Sub(const X: TMtxVecInt; const Y: TMtxVecInt; const Z: Integer): TMtxVecInt;self = X - Y - zScalar
└ indexed: function Sub(const X: TMtxVecInt; XIndex: Integer; const Y: TMtxVecInt; YIndex: Integer; const Z: Integer; Index: Integer; Len: Integer): TMtxVecInt;

Overload 1: function Sub(const X: TMtxVecInt; const Y: TMtxVecInt; const Z: TMtxVecInt): TMtxVecInt;

Compute X - Y - Z

#NameTypeDescription
1XTMtxVecInt
2YTMtxVecInt
3ZTMtxVecInt

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

Indexed: function Sub(const X: TMtxVecInt; XIndex: Integer; const Y: TMtxVecInt; YIndex: Integer; const Z: TMtxVecInt; zIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;

Compute X - Y - Z on sub array

#NameTypeDescription
1XTMtxVecInt
2XIndexIntegerX start index
3YTMtxVecInt
4YIndexIntegerY start index
5ZTMtxVecInt
6zIndexInteger
7IndexIntegerstart index
8LenIntegerelement count

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

Overload 2: function Sub(const X: TMtxVecInt; const Y: TMtxVecInt; const Z: Integer): TMtxVecInt;

Compute X - Y - zScalar

#NameTypeDescription
1XTMtxVecInt
2YTMtxVecInt
3ZInteger

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

Indexed: function Sub(const X: TMtxVecInt; XIndex: Integer; const Y: TMtxVecInt; YIndex: Integer; const Z: Integer; Index: Integer; Len: Integer): TMtxVecInt;

Compute X - Y - zScalar on sub array

#NameTypeDescription
1XTMtxVecInt
2XIndexIntegerX start index
3YTMtxVecInt
4YIndexIntegerY start index
5ZInteger
6IndexIntegerstart index
7LenIntegerelement count

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