TSparseMtx.SetCplx Method

function SetCplx(Index: integer; const A: array of TCplx): TMtxVec; overload;

Sets object complex values.

#NameTypeDescription
1Indexintegerstart index
2Aarray of TCplx

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

Remarks:

The a array complex values are copied to the calling object CValues from [Index]..[Index+Length(a)-1]. An exception is raised if calling object array borders are overrun/underrun.

Note
Use this method for complex array only.