Functions
mMul.c File Reference
#include <stdio.h>
#include <math.h>
#include <AR/matrix.h>
Include dependency graph for lib/SRC/AR/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:
destfinal matrix product
afirst matrix
bsecond matrix
Returns:
0 if success, -1 if error (multiplication impossible, or destination matrix have not comptabile size)

Definition at line 16 of file lib/SRC/AR/mMul.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


ar_recog
Author(s): Graylin Trevor Jay and Christopher Crick
autogenerated on Fri Jan 25 2013 12:15:01