You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > SetVal Method > Matrix.SetVal Method (TCplx, integer, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.SetVal Method (TCplx, integer, integer, integer, integer)

Sets the calling matrix elements [Row,Col]..[Row+ToRow,Col+ToCol] to complex value Value.

Pascal
function SetVal(const Value: TCplx; Row: integer; Col: integer; ToRow: integer; ToCol: integer): TMtx; overload;

Complex properties of the calling object are set to true even before the call it was false. An exception is raised if array bounds are overrun.

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