You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > Replace Method > Matrix.Replace Method (TCplx, TCplx, integer, integer, double)
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.Replace Method (TCplx, TCplx, 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(SearchValue: TCplx; ReplaceValue: TCplx; Index: integer; Len: integer; 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!