|
Matrix library. More...
Go to the source code of this file.
Defines | |
#define | NR_END 1 |
#define | MATRIX_MAX_SIZE 10 |
Functions | |
void | matrixPrintF (float *matrix, int numRows, int numCols, char *label) |
void | matrixPrintL (long *matrix, int numRows, int numCols, char *label) |
void | matrixCopyF (float *source, int numRows, int numCols, float *destination) |
void | matrixCopyL (long *source, int numRows, int numCols, long *destination) |
void | matrixMultF (float *matrixA, float *matrixB, int numRowsA, int numColsA, int numColsB, float *matrixC) |
void | matrixMultL (long *matrixA, long *matrixB, int numRowsA, int numColsA, int numColsB, long *matrixC) |
void | matrixAddF (float *matrixA, float *matrixB, int numRowsA, int numColsA, float *matrixC) |
void | matrixAddL (long *matrixA, long *matrixB, int numRowsA, int numColsA, long *matrixC) |
void | matrixSubtractF (float *matrixA, float *matrixB, int numRowsA, int numColsA, float *matrixC) |
void | matrixSubtractL (long *matrixA, long *matrixB, int numRowsA, int numColsA, long *matrixC) |
void | matrixTransposeF (float *matrixA, int numRowsA, int numColsA, float *matrixC) |
void | matrixTransposeL (long *matrixA, int numRowsA, int numColsA, long *matrixC) |
Matrix library.
math-matrix.h provides a number of frequently used functions that are useful for doing math with matrices. Taken from http://playground.arduino.cc/Code/MatrixMath and ported to ROBOTC. License: You may use this code as you wish, provided you give credit where its due.
THIS CODE WILL ONLY WORK WITH ROBOTC VERSION 3.59 AND HIGHER.
Changelog:
Definition in file math-matrix.h.