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

Replaces the SearchValue with a ReplaceValue, where the searchValue is compared with Tol to the calling object elements [Index]..[Index+Len-1].

Pascal
function Replace(const SearchValue: double; const ReplaceValue: double; Index: integer; Len: integer; const Tol: double = 0.0001): TMtxVec; overload;

An exception is raised if array borders are overrun/underrun.

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