You are here: Symbol Reference > MtxVec Namespace > Classes > TVec Class > public > StripNanAndInf Method > TVec.StripNanAndInf Method (TMtxVec, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
TVec.StripNanAndInf Method (TMtxVec, integer, integer, integer)

Copies only those values from Src[SrcIndex.. SrcIndex+Len-1], which are not NAN or INF.

Pascal
function StripNanAndInf(const Src: TMtxVec; SrcIndex: integer; Index: integer; Len: integer): integer; overload;

The length of the Self is not modified. The funtion returns "Index" increased by Number of elements found. The calling vector must have enough space to hold at least Index+Len elements, or an exception will be raised.

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