void MatSetValue(Mat m,int row,int col,Scalar value,InsertMode mode);Not collective
m | - the matrix |
row | - the row location of the entry |
col | - the column location of the entry |
value | - the value to insert |
mode | - either INSERT_VALUES or ADD_VALUES |
Note that VecSetValue() does NOT return an error code (since this is checked internally).
Level:beginner
Location:src/mat/interface/matrix.c
Matrix Index
Table of Contents