#include "basics.h"
#include "vector.h"
#include "matrix_sig.h"
#include "matrix_kernels.h"


Go to the source code of this file.
Namespaces | |
| namespace | TBCI |
| namespace | std |
Classes | |
| class | TBCI::MatErr |
| exception class More... | |
| class | TBCI::TMatrix< T > |
| class | TBCI::TSMatrix< T > |
| class | TBCI::Matrix< T > |
| class | TBCI::Mat_Brack< T > |
Defines | |
| #define | _VEC vec |
| #define | _ENDVEC endvec |
| #define | _DIM dim |
| #define | _ROW row |
| #define | _COL col |
| #define | _FAC fac |
| #define | SMP_MATSLICE 1024 |
| #define | COST_MATMAT_OLD(ra, ca, cb) |
| #define | COST_MATMAT_NEW(ra, ca, cb) |
| #define | COST_MATMAT(ra, ca, cb) COST_MATMAT_NEW(ra,ca,cb) |
Enumerations | |
| enum | TBCI::rowcolvec { TBCI::rowvec = 0, TBCI::colvec = 1 } |
Functions | |
| template<typename T> | |
| void | TBCI::do_mat_vec_mult (const unsigned start, const unsigned end, TVector< T > *res, const Matrix< T > *mat, const Vector< T > *vec) |
| template<typename T> | |
| void | TBCI::do_mat_tsv_mult (const unsigned start, const unsigned end, TVector< T > *res, const Matrix< T > *mat, const TSVector< T > *vec) |
| template<typename T> | |
| void | TBCI::do_mat_vec_transmult (const unsigned start, const unsigned end, TVector< T > *res, const Matrix< T > *mat, const Vector< T > *vec) |
| template<typename T> | |
| TMatrix< T > | TBCI::operator+ (const T &a, TMatrix< T > b) |
| template<typename T> | |
| TMatrix< T > | TBCI::operator- (const T &a, TMatrix< T > b) |
| template<typename T> | |
| TSMatrix< T > | TBCI::operator* (const T &a, TMatrix< T > b) |
| template<typename T> | |
| TMatrix< T > | TBCI::operator+ (const T &a, const Matrix< T > &b) |
| template<typename T> | |
| TMatrix< T > | TBCI::operator- (const T &a, const Matrix< T > &b) |
| template<typename T> | |
| TSMatrix< T > | TBCI::operator* (const T &a, const Matrix< T > &b) |
| template<typename T> | |
| double | TBCI::fabssqr (const TMatrix< T > &tm) |
| template<typename T> | |
| TMatrix< T > | TBCI::transpose (const TMatrix< T > &tm) |
| template<typename T> | |
| double | std::fabs (const TBCI::TMatrix< T > &tm) |
| template<typename T> | |
| double | std::fabs (const TBCI::Matrix< T > &m) |
| template<typename T> | |
| TMatrix< T > | TBCI::operator+ (const T &a, const TSMatrix< T > &ts) |
| template<typename T> | |
| TMatrix< T > | TBCI::operator- (const T &a, const TSMatrix< T > &ts) |
| template<typename T> | |
| TSMatrix< T > | TBCI::operator* (const T &f, TSMatrix< T > ts) |
| template<typename T> | |
| double | TBCI::fabssqr (TSMatrix< T > &tsm) |
| template<typename T> | |
| double | std::fabs (TBCI::TSMatrix< T > &ts) |
| template<typename T> | |
| std::ostream & | TBCI::operator<< (std::ostream &os, const Matrix< T > &m) |
| template<typename T> | |
| std::istream & | TBCI::operator>> (std::istream &in, Matrix< T > &m) |
| template<typename T> | |
| std::ostream & | TBCI::operator<< (std::ostream &os, TMatrix< T > tm) |
| template<typename T> | |
| std::ostream & | TBCI::operator<< (std::ostream &os, const TSMatrix< T > &ts) |
| template<typename T> | |
| void | TBCI::job_mat_mat_mult (struct thr_ctrl *tc) |
| template<typename T> | |
| double | TBCI::fabssqr (const Matrix< T > &m) |
| template<typename T> | |
| void | TBCI::job_mat_vec_mult (struct thr_ctrl *tc) |
| template<typename T> | |
| void | TBCI::job_mat_vec_transmult (struct thr_ctrl *tc) |
| template<typename T> | |
| BVector< T > & | TBCI::bvfillm (BVector< T > &bv, const Matrix< T > &m) |
| template<typename T> | |
| int | TBCI::lu_decomp (Matrix< T > &mat) |
| LU decomposes the TBCI::Matrix mat. | |
Definition in file matrix.h.
| #define COST_MATMAT | ( | ra, | |||
| ca, | |||||
| cb | ) | COST_MATMAT_NEW(ra,ca,cb) |
| #define COST_MATMAT_NEW | ( | ra, | |||
| ca, | |||||
| cb | ) |
Value:
(ra*cb*COST_MEMSET+ra*ca*(2*COST_UNIT_LOAD+COST_LOOP \ /*+COST_CALL*/+cb*(3*COST_UNIT_LOAD/*+COST_CALL*/+COST_UNIT_STORE+COST_ADD+COST_MULT+COST_LOOP)))
| #define COST_MATMAT_OLD | ( | ra, | |||
| ca, | |||||
| cb | ) |
Value:
(ra*cb*(COST_UNIT_STORE+COST_LOOP \ +ca*(3*COST_UNIT_LOAD/*+2*COST_CALL*/+COST_NU_LOAD+COST_MULT+COST_ADD+COST_LOOP)))
| #define SMP_MATSLICE 1024 |
Definition at line 96 of file matrix.h.
Referenced by TBCI::Matrix< T >::operator*(), and TBCI::Matrix< T >::transMult().
1.5.6