Adelsbach/VSIPL
Core Programming Reference Guide
DD-00016-015
Core

2.2.4 vsip_MATINDEX - Convert Row/Column Indices to Matrix Index and Store in a Pointer

void vsip_MATINDEX(vsip_scalar_vi row, vsip_scalar_vi col, vsip_scalar_mi *r););
Description

This function converts row and column indices to a single linear matrix index, storing the result in the provided output parameter.

Unlike the function version, vsip_matindex, this macro stores the result in the provided output parameter rather than returning it directly.

Parameters