You are here: Symbol Reference > MtxExpr Namespace > Classes > Vector Record > public > ReplaceNAN Method > Vector.ReplaceNAN Method (double, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
Vector.ReplaceNAN Method (double, integer, integer)

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

Pascal
function ReplaceNAN(const Value: double; Index: integer; Len: integer): TMtxVec; overload;

The function will replace all occurences of NAN. If the vector is complex, it will replace any real/imag parts, which are NAN. An exception is raised, if array borders are overrun.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!