You are here: Symbol Reference > clMtxVec Namespace > Classes > TOpenCLMtxVec Class > public > SetVal Method > TOpenCLMtxVec.SetVal Method (double, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
TOpenCLMtxVec.SetVal Method (double, integer, integer)

Set all calling object elements [Index]..[Index+Len-1] to real Value.

Pascal
function SetVal(const Value: double; Index: integer; Len: integer): TOpenCLMtxVec; overload; reintroduce;

If the calling object is complex then the real part is set to Value and the imaginary is set to zero. An exception is raised if array borders are overrun/underrun.

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