#include <math.h>
#include <stdlib.h>
Go to the source code of this file.
Typedefs | |
typedef float ** | matrix |
Functions | |
void | addMatrix (matrix A, matrix B, matrix C, int m, int n) |
void | addMatrix2 (float A[2][2], float B[2][2], float C[2][2]) |
void | addVector (float *A, float *B, float *C, int m) |
void | addVector2 (float V[2], float V1[2], float V2[2]) |
float | BhQhBhT (matrix Qh, float *Bh, float *tmp) |
float | determinant (matrix A, matrix tmp, int n) |
void | getMinor (matrix A, matrix B, int An, int m, int n) |
void | invert2 (float A[2][2], float B[2][2]) |
void | invert3 (matrix A, matrix B) |
void | invt (matrix A, matrix B, matrix tmp1, matrix tmp2, int An) |
void | multMatrix (matrix A, matrix B, matrix C, int Am, int An, int Bn) |
void | multMatrix2 (float A[2][2], float B[2][2], float C[2][2]) |
void | multMatVec (matrix A, float *B, float *C, int Am, int Bn) |
void | multMatVec2 (float A[2][2], float B[2], float C[2]) |
void | negMatrix (matrix A, int m, int n) |
void | subMatrix (matrix A, matrix B, matrix C, int m, int n) |
void | subMatrix2 (float A[2][2], float B[2][2], float C[2][2]) |
void | subVector (float *A, float *B, float *C, int m) |
void | subVector2 (float A[2], float B[2], float C[2]) |
void | transpose (matrix A, matrix B, int Am, int An) |
void | VectdivSc (float *V, float scl) |
void | VectmultSc2 (float V[2], float scl, float V1[2]) |
typedef float** matrix |
Definition at line 7 of file matrices.h.
Definition at line 24 of file matrices2.h.
void addMatrix2 | ( | float | A[2][2], |
float | B[2][2], | ||
float | C[2][2] | ||
) |
Definition at line 3 of file matrices.c.
void addVector | ( | float * | A, |
float * | B, | ||
float * | C, | ||
int | m | ||
) |
Definition at line 35 of file matrices2.h.
void addVector2 | ( | float | V[2], |
float | V1[2], | ||
float | V2[2] | ||
) |
Definition at line 34 of file matrices.c.
Definition at line 212 of file matrices2.h.
float determinant | ( | matrix | A, |
matrix | tmp, | ||
int | n | ||
) |
Definition at line 143 of file matrices2.h.
Definition at line 170 of file matrices2.h.
void invert2 | ( | float | A[2][2], |
float | B[2][2] | ||
) |
Definition at line 178 of file matrices.c.
Definition at line 118 of file matrices2.h.
Definition at line 191 of file matrices2.h.
void multMatrix | ( | matrix | A, |
matrix | B, | ||
matrix | C, | ||
int | Am, | ||
int | An, | ||
int | Bn | ||
) |
Definition at line 77 of file matrices2.h.
void multMatrix2 | ( | float | A[2][2], |
float | B[2][2], | ||
float | C[2][2] | ||
) |
Definition at line 109 of file matrices.c.
void multMatVec | ( | matrix | A, |
float * | B, | ||
float * | C, | ||
int | Am, | ||
int | Bn | ||
) |
Definition at line 93 of file matrices2.h.
void multMatVec2 | ( | float | A[2][2], |
float | B[2], | ||
float | C[2] | ||
) |
Definition at line 139 of file matrices.c.
Definition at line 66 of file matrices2.h.
Definition at line 44 of file matrices2.h.
void subMatrix2 | ( | float | A[2][2], |
float | B[2][2], | ||
float | C[2][2] | ||
) |
Definition at line 40 of file matrices.c.
void subVector | ( | float * | A, |
float * | B, | ||
float * | C, | ||
int | m | ||
) |
Definition at line 55 of file matrices2.h.
void subVector2 | ( | float | A[2], |
float | B[2], | ||
float | C[2] | ||
) |
Definition at line 72 of file matrices.c.
Definition at line 109 of file matrices2.h.
void VectdivSc | ( | float * | V, |
float | scl | ||
) |
Definition at line 237 of file matrices2.h.
void VectmultSc2 | ( | float | V[2], |
float | scl, | ||
float | V1[2] | ||
) |
Definition at line 290 of file matrices.c.