Matrix.ReplaceNAN Method

function ReplaceNAN(const Value: Double): TMtxVec;

Replaces all NAN values with Value.

#NameTypeDescription
1ValueDouble

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

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

Replaces all NAN values with Value within calling object elements [Index]..[Index+Len-1].

#NameTypeDescription
1ValueDouble
2IndexIntegerstart index
3LenIntegerelement count

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

Remarks:

An exception is raised if array borders are overrun.