#include <spuc.h>
#include <iostream>
#include <string>
#include <cstdlib>
#include <cstring>
#include <spucconfig.h>
#include <binary.h>
#include <vector.h>
#include <cmath>
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.
Namespaces | |
| namespace | SPUC |
Classes | |
| class | SPUC::Mat< T > |
| Templated Matrix Class. More... | |
Defines | |
| #define | minimum(x, y) (((x)<(y)) ? (x) : (y)) |
| Define of minimum of two numbers x and y. | |
| #define | Matrix Mat |
Functions | |
| template<class T> | |
| Mat< T > | SPUC::concat_horizontal (const Mat< T > &m1, const Mat< T > &m2) |
| Horizontal concatenation of two matrices. | |
| template<class T> | |
| Mat< T > | SPUC::concat_vertical (const Mat< T > &m1, const Mat< T > &m2) |
| Vertical concatenation of two matrices. | |
| template<class T> | |
| Mat< T > | SPUC::operator+ (const Mat< T > &m1, const Mat< T > &m2) |
| Addition of two matricies. | |
| template<class T> | |
| Mat< T > | SPUC::operator+ (const Mat< T > &m, T t) |
| Addition of a matrix and a scalar. | |
| template<class T> | |
| Mat< T > | SPUC::operator+ (T t, const Mat< T > &m) |
| Addition of a scalar and a matrix. | |
| template<class T> | |
| Mat< T > | SPUC::operator- (const Mat< T > &m1, const Mat< T > &m2) |
| Subtraction of two matrices. | |
| template<class T> | |
| Mat< T > | SPUC::operator- (const Mat< T > &m, T t) |
| Subtraction of matrix and scalar. | |
| template<class T> | |
| Mat< T > | SPUC::operator- (T t, const Mat< T > &m) |
| Subtraction of scalar and matrix. | |
| template<class T> | |
| Mat< T > | SPUC::operator- (const Mat< T > &m) |
| Negation of matrix. | |
| template<class T> | |
| Mat< T > | SPUC::operator * (const Mat< T > &m1, const Mat< T > &m2) |
| Multiplication of two matricies. | |
| template<class T> | |
| Vec< T > | SPUC::operator * (const Mat< T > &m, const Vec< T > &v) |
| Multiplication of matrix and vector. | |
| template<class T> | |
| Vec< T > | SPUC::operator * (const Vec< T > &v, const Mat< T > &m) |
| Multiplication of vector and matrix. | |
| template<class T> | |
| Mat< T > | SPUC::operator * (const Mat< T > &m, T t) |
| Multiplication of matrix and scalar. | |
| template<class T> | |
| Mat< T > | SPUC::operator * (T t, const Mat< T > &m) |
| Multiplication of scalar and matrix. | |
| template<class T> | |
| Mat< T > | SPUC::elem_mult (const Mat< T > &m1, const Mat< T > &m2) |
| Element wise multiplication of two matricies. | |
| template<class T> | |
| Mat< T > | SPUC::operator/ (const Mat< T > &m, T t) |
| Division of matrix and scalar. | |
| template<class T> | |
| Mat< T > | SPUC::elem_div (const Mat< T > &m1, const Mat< T > &m2) |
| Element wise division of two matricies. | |
2003/01/04 00:21:54
|
|
|
|
|
Define of minimum of two numbers x and y.
|
1.4.4