| Using the C Math Library | ![]() |
Selecting a Single Element
Use two scalar indices to extract a single element from an array.
mlfAssign(&B, mlfIndexRef(A, "(?,?)", mlfScalar(2), mlfScalar(2)));
selects the element 5 from the center of matrix A (the element at row 2, column 2).
| Overview | Selecting a Vector of Elements | ![]() |