mAllocUnit.c File Reference

#include <stdio.h>
#include <math.h>
#include <malloc.h>
#include <AR/matrix.h>
Include dependency graph for mAllocUnit.c:

Go to the source code of this file.

Functions

ARMatarMatrixAllocUnit (int dim)
 Creates a unit matrix.

Function Documentation

ARMat* arMatrixAllocUnit ( int  dim  ) 

Creates a unit matrix.

Allocates and initializes a matrix to a an identity matrix.

Parameters:
dim dimensions of the unit matrix (square)
Returns:
the matrix allocated if success, NULL if error

Definition at line 21 of file mAllocUnit.c.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines


artoolkit
Author(s): Gautier Dumonteil
autogenerated on Fri Jan 11 10:05:48 2013