Synopsis

void mth_GetIdentMatrix(int row, int col, double *mat)

Purpose

Build a nXm identity matrix

Description

Builds an nXm identity matrix

Input

row

The number of rows of the matrix to generate

col

The number of columns of the matrix to generate

mat

The matrix array

Output

mat

The generated identity matrix