CSL  6.0
matrix.h File Reference
#include <string.h>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <string>
#include <iostream>
#include <stdexcep>

Go to the source code of this file.

Classes

class  math::matrix_error
 
class  math::matrix
 
struct  math::matrix::base_mat
 

Namespaces

 math
 

Macros

#define __GXX_WEAK__   1
 
#define __DEPRECATED   1
 
#define __GNUG__   4
 
#define __EXCEPTIONS   1
 
#define __private_extern__   extern
 
#define _NO_THROW   throw ()
 
#define _THROW_MATRIX_ERROR   throw (matrix_error)
 
#define max(a, b)   (((a) > (b)) ? (a) : (b))
 
#define min(a, b)   (((a) < (b)) ? (a) : (b))
 
#define FRIEND_FUN_TEMPLATE   <>
 
#define REPORT_ERROR(ErrormMsg)   throw matrix_error(ErrormMsg);
 
#define MAT_TEMPLATE   template <class T>
 
#define matrixT   matrix<T>
 

Functions

MAT_TEMPLATE istream & math::operator>> (istream &istrm, matrixT &m)
 
MAT_TEMPLATE ostream & math::operator<< (ostream &ostrm, const matrixT &m)
 
MAT_TEMPLATE bool math::operator== (const matrixT &m1, const matrixT &m2) _NO_THROW
 
MAT_TEMPLATE bool math::operator!= (const matrixT &m1, const matrixT &m2) _NO_THROW
 
MAT_TEMPLATE matrixT math::operator+ (const matrixT &m1, const matrixT &m2) _THROW_MATRIX_ERROR
 
MAT_TEMPLATE matrixT math::operator- (const matrixT &m1, const matrixT &m2) _THROW_MATRIX_ERROR
 
MAT_TEMPLATE matrixT math::operator* (const matrixT &m, const T &no) _NO_THROW
 
MAT_TEMPLATE matrixT math::operator* (const T &no, const matrixT &m) _NO_THROW
 
MAT_TEMPLATE matrixT math::operator* (const matrixT &m1, const matrixT &m2) _THROW_MATRIX_ERROR
 
MAT_TEMPLATE matrixT math::operator/ (const matrixT &m, const T &no) _NO_THROW
 
MAT_TEMPLATE matrixT math::operator/ (const T &no, const matrixT &m) _THROW_MATRIX_ERROR
 
MAT_TEMPLATE matrixT math::operator/ (const matrixT &m1, const matrixT &m2) _THROW_MATRIX_ERROR
 
MAT_TEMPLATE matrixT math::operator^ (const matrixT &m, const size_t &pow) _THROW_MATRIX_ERROR
 
MAT_TEMPLATE matrixT math::operator~ (const matrixT &m) _NO_THROW
 
MAT_TEMPLATE matrixT math::operator! (const matrixT m) _THROW_MATRIX_ERROR
 

Macro Definition Documentation

#define __GXX_WEAK__   1

Definition at line 84 of file matrix.h.

#define __DEPRECATED   1

Definition at line 85 of file matrix.h.

#define __GNUG__   4

Definition at line 86 of file matrix.h.

#define __EXCEPTIONS   1

Definition at line 87 of file matrix.h.

#define __private_extern__   extern

Definition at line 88 of file matrix.h.

#define _NO_THROW   throw ()

Definition at line 151 of file matrix.h.

#define _THROW_MATRIX_ERROR   throw (matrix_error)

Definition at line 152 of file matrix.h.

#define max (   a,
 
)    (((a) > (b)) ? (a) : (b))

Definition at line 156 of file matrix.h.

Referenced by isDone(), csl::Lorenz::nextBuffer(), and VUMeter::setColours().

#define min (   a,
 
)    (((a) < (b)) ? (a) : (b))

Definition at line 157 of file matrix.h.

Referenced by isDone(), and VUMeter::setColours().

#define FRIEND_FUN_TEMPLATE   <>

Definition at line 171 of file matrix.h.

#define REPORT_ERROR (   ErrormMsg)    throw matrix_error(ErrormMsg);

Definition at line 197 of file matrix.h.

#define MAT_TEMPLATE   template <class T>

Definition at line 208 of file matrix.h.

#define matrixT   matrix<T>