mMul.c File Reference

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

Go to the source code of this file.

Functions

int arMatrixMul (ARMat *dest, ARMat *a, ARMat *b)
 Multiply two matrix.

Function Documentation

int arMatrixMul ( ARMat dest,
ARMat a,
ARMat b 
)

Multiply two matrix.

Multiply two matrix and copy the result in another the product is this one : dest = a * b. The destination matrix must be allocated. Matrix a and b need to have the same size (the source matrix is unmodified).

Parameters:
dest final matrix product
a first matrix
b second matrix
Returns:
0 if success, -1 if error (multiplication impossible, or destination matrix have not comptabile size)

Definition at line 16 of file mMul.c.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines


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