You are here: Symbol Reference > MtxVec Namespace > Classes > TMtx Class > public > SetVal Method > TMtx.SetVal Method (double, integer, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtx.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]..[ToRow,ToCol] to Value. An exception is raised if TMtxVecBase.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!