You are here: Symbol Reference > MtxVec Namespace > Classes > TMtx Class > public > TMtx.IndexOf Method
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtx.IndexOf Method

Returns the 1D index in to the matrix.

Pascal
function IndexOf(const Row: integer; const Col: integer): integer; overload;

Row*Mtx.Cols + Col

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