Matrix.Offset Method

Overload List

#SignatureDescription
1function Offset(Value: TCplx): TMtxVec;Add/Subtract a complex value.
└ indexed: function Offset(Value: TCplx; Index: Integer; Len: Integer): TMtxVec;
2function Offset(Value: Double): TMtxVec;Add/Subtract a value.
└ indexed: function Offset(Value: Double; Index: Integer; Len: Integer): TMtxVec;

Overload 1: function Offset(Value: TCplx): TMtxVec;

Add/Subtract a complex value.

#NameTypeDescription
1ValueTCplxscalar

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

Indexed: function Offset(Value: TCplx; Index: Integer; Len: Integer): TMtxVec;

Add/Subtract a complex value from [Index]..[Index+Len-1].

#NameTypeDescription
1ValueTCplxscalar
2IndexIntegerstart index
3LenIntegerelement count

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

Overload 2: function Offset(Value: Double): TMtxVec;

Add/Subtract a value.

#NameTypeDescription
1ValueDoublescalar

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

Remarks:

Depreciated
Use Matrix.Add (Value) instead.

Indexed: function Offset(Value: Double; Index: Integer; Len: Integer): TMtxVec;

Add/Subtract a value from [Index]..[Index+Len-1].

#NameTypeDescription
1ValueDoublescalar
2IndexIntegerstart index
3LenIntegerelement count

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