PER Firmware
Loading...
Searching...
No Matches
matrix3.c File Reference

Implementation of 3x3 matrix operations. More...

#include "linear_algebra.h"
#include <math.h>
Include dependency graph for matrix3.c:

Functions

mat3_t mat3_add (const mat3_t *a, const mat3_t *b)
 
mat3_t mat3_sub (const mat3_t *a, const mat3_t *b)
 
mat3_t mat3_scale (const mat3_t *mat, float scalar)
 
mat3_t mat3_mult (const mat3_t *a, const mat3_t *b)
 
vec3_t mat3_mult_vec3 (const mat3_t *mat, const vec3_t *vec)
 
vec3_t mat3_column (const mat3_t *mat, int col_index)
 
mat3_t outer_product3 (const vec3_t a, const vec3_t b)
 
mat3_t symmetrization3 (const mat3_t *mat)
 
mat3_t cholesky3 (const mat3_t *mat)
 

Detailed Description

Implementation of 3x3 matrix operations.

Author
Irving Wang (irvin.nosp@m.gw@p.nosp@m.urdue.nosp@m..edu)

Function Documentation

◆ cholesky3()

mat3_t cholesky3 ( const mat3_t * mat)
Here is the caller graph for this function:

◆ mat3_add()

mat3_t mat3_add ( const mat3_t * a,
const mat3_t * b )
Here is the caller graph for this function:

◆ mat3_column()

vec3_t mat3_column ( const mat3_t * mat,
int col_index )
Here is the caller graph for this function:

◆ mat3_mult()

mat3_t mat3_mult ( const mat3_t * a,
const mat3_t * b )
Here is the caller graph for this function:

◆ mat3_mult_vec3()

vec3_t mat3_mult_vec3 ( const mat3_t * mat,
const vec3_t * vec )
Here is the caller graph for this function:

◆ mat3_scale()

mat3_t mat3_scale ( const mat3_t * mat,
float scalar )
Here is the caller graph for this function:

◆ mat3_sub()

mat3_t mat3_sub ( const mat3_t * a,
const mat3_t * b )
Here is the caller graph for this function:

◆ outer_product3()

mat3_t outer_product3 ( const vec3_t a,
const vec3_t b )
Here is the caller graph for this function:

◆ symmetrization3()

mat3_t symmetrization3 ( const mat3_t * mat)
Here is the caller graph for this function: