/afs/csl.tjhsst.edu/students/2007/kkassing/work/libmala/matrix.h File Reference

#include "fmath.h"
#include "vector.h"
#include "quaternion.h"

Include dependency graph for matrix.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef float mat_t
typedef mat_t mat22 [2][2]
typedef mat_t mat33 [3][3]
typedef mat_t mat33f [9]
typedef mat_t mat44 [4][4]
typedef mat_t mat44f [16]

Functions

void mat33_zero (mat33)
void mat33f_zero (mat33f)
void mat33_identity (mat33)
void mat33f_identity (mat33f)
void mat33_add (mat33, mat33, mat33)
void mat33f_add (mat33f, mat33f, mat33f)
void mat33_addeq (mat33, mat33)
void mat33f_addeq (mat33f, mat33f)
void mat33_sub (mat33, mat33, mat33)
void mat33f_sub (mat33f, mat33f, mat33f)
void mat33_subeq (mat33, mat33)
void mat33f_subeq (mat33f, mat33f)
void mat33_scl (mat33, mat_t, mat33)
void mat33f_scl (mat33f, mat_t, mat33f)
void mat33_scleq (mat33, mat_t)
void mat33f_scleq (mat33f, mat_t)
void mat33_mul (mat33, mat33, mat33)
void mat33f_mul (mat33f, mat33f, mat33f)
void mat33_mulvec (mat33, vec3, vec3)
void mat33f_mulvec (mat33f, vec3, vec3)
void mat33f_to_mat33 (mat33f, mat33)
void mat33_to_mat33f (mat33, mat33f)
void mat44_zero (mat44)
void mat44f_zero (mat44f)
void mat44_identity (mat44)
void mat44f_identity (mat44f)
void mat44_add (mat44, mat44, mat44)
void mat44f_add (mat44f, mat44f, mat44f)
void mat44_addeq (mat44, mat44)
void mat44f_addeq (mat44f, mat44f)
void mat44_sub (mat44, mat44, mat44)
void mat44f_sub (mat44f, mat44f, mat44f)
void mat44_subeq (mat44, mat44)
void mat44f_subeq (mat44f, mat44f)
void mat44_scl (mat44, mat_t, mat44)
void mat44f_scl (mat44f, mat_t, mat44f)
void mat44_scleq (mat44, mat_t)
void mat44f_scleq (mat44f, mat_t)
void mat44_mul (mat44, mat44, mat44)
void mat44f_mul (mat44f, mat44f, mat44f)
void mat44_mulvec (mat44, vec4, vec4)
void mat44f_mulvec (mat44f, vec4, vec4)
void mat44f_to_mat44 (mat44f, mat44)
void mat44_to_mat44f (mat44, mat44f)
void mat44_copy (mat44, mat44)
void mat33_gauss_seidel (mat33, vec3, vec3)
void mat44_gauss_seidel (mat44, vec4, vec4)
void mat44_vec3_mul (mat44, vec3, vec3)
void mat33_to_quat (mat33, quat)
void mat44_build_transform (quat, vec3, mat44)
float mat22_det (mat22)
float mat33_det (mat33)
float mat44_det (mat44)
void mat33_submatrix (mat33, int, int, mat22)
void mat44_submatrix (mat44, int, int, mat33)
void mat44_invert (mat44, mat44)


Typedef Documentation

typedef mat_t mat22[2][2]

typedef mat_t mat33[3][3]

typedef mat_t mat33f[9]

typedef mat_t mat44[4][4]

typedef mat_t mat44f[16]

typedef float mat_t


Function Documentation

float mat22_det ( mat22   ) 

void mat33_add ( mat33  ,
mat33  ,
mat33   
)

void mat33_addeq ( mat33  ,
mat33   
)

float mat33_det ( mat33   ) 

void mat33_gauss_seidel ( mat33  ,
vec3  ,
vec3   
)

void mat33_identity ( mat33   ) 

void mat33_mul ( mat33  ,
mat33  ,
mat33   
)

void mat33_mulvec ( mat33  ,
vec3  ,
vec3   
)

void mat33_scl ( mat33  ,
mat_t  ,
mat33   
)

void mat33_scleq ( mat33  ,
mat_t   
)

void mat33_sub ( mat33  ,
mat33  ,
mat33   
)

void mat33_subeq ( mat33  ,
mat33   
)

void mat33_submatrix ( mat33  ,
int  ,
int  ,
mat22   
)

void mat33_to_mat33f ( mat33  ,
mat33f   
)

void mat33_to_quat ( mat33  ,
quat   
)

void mat33_zero ( mat33   ) 

void mat33f_add ( mat33f  ,
mat33f  ,
mat33f   
)

void mat33f_addeq ( mat33f  ,
mat33f   
)

void mat33f_identity ( mat33f   ) 

void mat33f_mul ( mat33f  ,
mat33f  ,
mat33f   
)

void mat33f_mulvec ( mat33f  ,
vec3  ,
vec3   
)

void mat33f_scl ( mat33f  ,
mat_t  ,
mat33f   
)

void mat33f_scleq ( mat33f  ,
mat_t   
)

void mat33f_sub ( mat33f  ,
mat33f  ,
mat33f   
)

void mat33f_subeq ( mat33f  ,
mat33f   
)

void mat33f_to_mat33 ( mat33f  ,
mat33   
)

void mat33f_zero ( mat33f   ) 

void mat44_add ( mat44  ,
mat44  ,
mat44   
)

void mat44_addeq ( mat44  ,
mat44   
)

void mat44_build_transform ( quat  ,
vec3  ,
mat44   
)

void mat44_copy ( mat44  ,
mat44   
)

float mat44_det ( mat44   ) 

void mat44_gauss_seidel ( mat44  ,
vec4  ,
vec4   
)

void mat44_identity ( mat44   ) 

void mat44_invert ( mat44  ,
mat44   
)

void mat44_mul ( mat44  ,
mat44  ,
mat44   
)

void mat44_mulvec ( mat44  ,
vec4  ,
vec4   
)

void mat44_scl ( mat44  ,
mat_t  ,
mat44   
)

void mat44_scleq ( mat44  ,
mat_t   
)

void mat44_sub ( mat44  ,
mat44  ,
mat44   
)

void mat44_subeq ( mat44  ,
mat44   
)

void mat44_submatrix ( mat44  ,
int  ,
int  ,
mat33   
)

void mat44_to_mat44f ( mat44  ,
mat44f   
)

void mat44_vec3_mul ( mat44  ,
vec3  ,
vec3   
)

void mat44_zero ( mat44   ) 

void mat44f_add ( mat44f  ,
mat44f  ,
mat44f   
)

void mat44f_addeq ( mat44f  ,
mat44f   
)

void mat44f_identity ( mat44f   ) 

void mat44f_mul ( mat44f  ,
mat44f  ,
mat44f   
)

void mat44f_mulvec ( mat44f  ,
vec4  ,
vec4   
)

void mat44f_scl ( mat44f  ,
mat_t  ,
mat44f   
)

void mat44f_scleq ( mat44f  ,
mat_t   
)

void mat44f_sub ( mat44f  ,
mat44f  ,
mat44f   
)

void mat44f_subeq ( mat44f  ,
mat44f   
)

void mat44f_to_mat44 ( mat44f  ,
mat44   
)

void mat44f_zero ( mat44f   ) 


Generated on Fri Jun 1 09:11:42 2007 for Antigone by  doxygen 1.4.7