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

Initializes matrix values to Value.

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

Sets the calling matrix elements [Row,Col]..[Row+ToRow,Col+ToCol] to Value. An exception is raised if ConditionCheck is true and array bounds are overrun.

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