|
TBCI Numerical high perf. C++ Library 2.8.0
|
header file to implement classes TBCI::F_Matrix, TBCI::F_TMatrix, TBCI::F_TSMatrix. More...
#include "tbci/vector.h"#include "tbci/matrix_sig.h"#include "tbci/matrix.h"#include "tbci/cscmatrix.h"
Go to the source code of this file.
Classes | |
| class | F_TMatrix< T > |
| Temporary Base Class (non referable!) (acc. More... | |
| class | F_TSMatrix< T > |
| Temporary object for scaled matrices. More... | |
| class | F_Matrix< T > |
Macros | |
| #define | _VEC vec |
| #define | _ENDVEC endvec |
| #define | _DIM dim |
| #define | _ROW row |
| #define | _COL col |
| #define | _FAC fac |
| #define | LAPACK_INLINE |
| #define | F_TMFORALL_M(op) |
| #define | F_TMFORALL_TM(op) |
| #define | F_TMFORALL_TS(op) |
| #define | F_TMFORALL_T(op) |
| #define | F_STDDEF_TMM(op) |
| #define | F_STDDEF_TMTM(op) |
| #define | F_STDDEF_TMT(op) |
| #define | F_STDDEF_TTM(op) |
| #define | F_STDDEF_TM(op) |
| #define | F_STDDEF_TSM(op) |
| #define | F_STDDEF_TSTM(op) |
| #define | F_STDDEF_TSTS(op) |
| #define | F_STDDEF_TST(op) |
| #define | F_STDDEF_TTS(op) |
| #define | F_MSTDDEF_T(op) |
| #define | F_MSTDDEF_M(op) |
| #define | F_MSTDDEF_TM(op) |
| #define | F_MSTDDEF_TS(op) |
Functions | |
| INST (template< typename T > class F_TMatrix friend F_TMatrix< T > operator+(const T &, F_TMatrix< T >);) template< typename T > inline F_TMatrix< T > operator+(const T &a | |
| INST (template< typename T > class F_TMatrix friend F_TMatrix< T > operator-(const T &, F_TMatrix< T >);) template< typename T > inline F_TMatrix< T > operator-(const T &a | |
| template<typename T> | |
| F_TSMatrix< T > | operator* (const T &a, F_TMatrix< T > b) |
| INST (template< typename T > class F_TMatrix friend F_TMatrix< T > operator+(const T &, const F_Matrix< T > &);) template< typename T > inline F_TMatrix< T > operator+(const T &a | |
| for (REGISTER T *p1=c. vec, *p2=b. vec ;p1< c. endvec ;p1++, p2++) *p1 = a - *p2 | |
| INST (template< typename T > class F_TMatrix friend F_TMatrix< T > operator-(const T &, const F_Matrix< T > &);) template< typename T > inline F_TMatrix< T > operator-(const T &a | |
| template<typename T> | |
| F_TSMatrix< T > | operator* (const T &a, const F_Matrix< T > &b) |
| INST (template< typename T > class F_TSMatrix friend F_TMatrix< T > operator+(const T &, F_TSMatrix< T >);) template< typename T > inline F_TMatrix< T > operator+(const T &a | |
| tm | detach () |
| return | F_TMatrix< T > (tm) |
| INST (template< typename T > class F_TSMatrix friend F_TMatrix< T > operator-(const T &, F_TSMatrix< T >);) template< typename T > inline F_TMatrix< T > operator-(const T &a | |
| template<typename T> | |
| F_TSMatrix< T > | operator* (const T &f, F_TSMatrix< T > ts) |
| template<typename T> | |
| STD__ ostream & | operator<< (STD__ ostream &os, const F_Matrix< T > &m) |
| template<typename T> | |
| STD__ ostream & | operator<< (STD__ ostream &os, F_TMatrix< T > tm) |
| template<typename T> | |
| STD__ ostream & | operator<< (STD__ ostream &os, F_TSMatrix< T > ts) |
| template<typename T> | |
| STD__ istream & | operator>> (STD__ istream &in, F_Matrix< T > &m) |
| template<typename T> | |
| F_TMatrix< T > | transpose (const F_TMatrix< T > &ftm) |
| template<typename T> | |
| NAMESPACE_END NAMESPACE_CSTD double | fabs (const TBCI__ F_TMatrix< T > &ftm) |
| template<typename T> | |
| double | fabs (const TBCI__ F_Matrix< T > &fm) |
| template<typename T> | |
| double | fabs (TBCI__ F_TSMatrix< T > &ftsm) |
Variables | |
| F_TMatrix< T > | b { for (REGISTER T* ptr=b. vec ; ptr<b. endvec ; ptr++) *ptr = a + *ptr |
| return | c |
| F_TSMatrix< T > | ts { F_TSMatrix<T> tm (ts) |
| tm | fac = (T)1 |
header file to implement classes TBCI::F_Matrix, TBCI::F_TMatrix, TBCI::F_TSMatrix.
Definition in file f_matrix.h.
| #define _COL col |
Definition at line 41 of file f_matrix.h.
| #define _DIM dim |
Definition at line 39 of file f_matrix.h.
Referenced by BdMatrix< T >::operator TMatrix< T >().
| #define _ENDVEC endvec |
Definition at line 38 of file f_matrix.h.
| #define _FAC fac |
Definition at line 42 of file f_matrix.h.
| #define _ROW row |
Definition at line 40 of file f_matrix.h.
| #define _VEC vec |
Definition at line 37 of file f_matrix.h.
| #define F_MSTDDEF_M | ( | op | ) |
Definition at line 1419 of file f_matrix.h.
Referenced by F_Matrix< T >::operator-().
| #define F_MSTDDEF_T | ( | op | ) |
Definition at line 1395 of file f_matrix.h.
Referenced by F_Matrix< T >::operator-().
| #define F_MSTDDEF_TM | ( | op | ) |
Definition at line 1434 of file f_matrix.h.
Referenced by F_Matrix< T >::operator-().
| #define F_MSTDDEF_TS | ( | op | ) |
Definition at line 1447 of file f_matrix.h.
Referenced by F_Matrix< T >::operator-().
| #define F_STDDEF_TM | ( | op | ) |
Definition at line 749 of file f_matrix.h.
Referenced by INST().
| #define F_STDDEF_TMM | ( | op | ) |
Definition at line 685 of file f_matrix.h.
Referenced by F_TMatrix< T >::operator-().
| #define F_STDDEF_TMT | ( | op | ) |
Definition at line 703 of file f_matrix.h.
Referenced by F_TMatrix< T >::operator-().
| #define F_STDDEF_TMTM | ( | op | ) |
Definition at line 694 of file f_matrix.h.
Referenced by F_TMatrix< T >::operator-().
| #define F_STDDEF_TSM | ( | op | ) |
Definition at line 980 of file f_matrix.h.
Referenced by F_TSMatrix< T >::operator-().
| #define F_STDDEF_TST | ( | op | ) |
Definition at line 1027 of file f_matrix.h.
Referenced by F_TSMatrix< T >::operator-().
| #define F_STDDEF_TSTM | ( | op | ) |
Definition at line 995 of file f_matrix.h.
Referenced by F_TSMatrix< T >::operator-().
| #define F_STDDEF_TSTS | ( | op | ) |
Definition at line 1009 of file f_matrix.h.
Referenced by F_TSMatrix< T >::operator-().
| #define F_STDDEF_TTM | ( | op | ) |
Definition at line 726 of file f_matrix.h.
Referenced by INST().
| #define F_STDDEF_TTS | ( | op | ) |
Definition at line 1041 of file f_matrix.h.
Referenced by INST().
| #define F_TMFORALL_M | ( | op | ) |
Definition at line 616 of file f_matrix.h.
Referenced by F_TMatrix< T >::operator-=().
| #define F_TMFORALL_T | ( | op | ) |
Definition at line 658 of file f_matrix.h.
Referenced by F_TMatrix< T >::operator-=().
| #define F_TMFORALL_TM | ( | op | ) |
Definition at line 631 of file f_matrix.h.
Referenced by F_TMatrix< T >::operator-=().
| #define F_TMFORALL_TS | ( | op | ) |
Definition at line 642 of file f_matrix.h.
Referenced by F_TMatrix< T >::operator-().
| #define LAPACK_INLINE |
Definition at line 460 of file f_matrix.h.
Referenced by F_TMatrix< T >::resize().
| tm detach | ( | ) |
Referenced by F_TSMatrix< T >::clone(), TSMatrix< T >::clone(), and TSVector< T >::clone().
Referenced by F_Matrix< T >::operator-(), and F_Matrix< T >::operator=().
Definition at line 1719 of file f_matrix.h.
|
inline |
Definition at line 1714 of file f_matrix.h.
|
inline |
Definition at line 1724 of file f_matrix.h.
| INST | ( | template< typename T > class F_TMatrix friend F_TMatrix< T > operator+(const T &, const F_Matrix< T > &); | ) | const & |
| INST | ( | template< typename T > class F_TMatrix friend F_TMatrix< T > operator+(const T &, F_TMatrix< T >); | ) | const & |
| INST | ( | template< typename T > class F_TMatrix friend F_TMatrix< T > operator-(const T &, const F_Matrix< T > &); | ) | const & |
References F_STDDEF_TM, INST, and T.
| INST | ( | template< typename T > class F_TMatrix friend F_TMatrix< T > operator-(const T &, F_TMatrix< T >); | ) | const & |
References F_STDDEF_TTM, INST, and T.
| INST | ( | template< typename T > class F_TSMatrix friend F_TMatrix< T > operator+(const T &, F_TSMatrix< T >); | ) | const & |
| INST | ( | template< typename T > class F_TSMatrix friend F_TMatrix< T > operator-(const T &, F_TSMatrix< T >); | ) | const & |
References F_STDDEF_TTS, and T.
Definition at line 768 of file f_matrix.h.
Definition at line 743 of file f_matrix.h.
|
inline |
Definition at line 1156 of file f_matrix.h.
Definition at line 1351 of file f_matrix.h.
References c, F_TMatrix< T >::col, F_TMatrix< T >::row, and STD__.
Definition at line 1363 of file f_matrix.h.
References STD__.
| STD__ ostream & operator<< | ( | STD__ ostream & | os, |
| F_TSMatrix< T > | ts ) |
Definition at line 1372 of file f_matrix.h.
Definition at line 1379 of file f_matrix.h.
References F_TMatrix< T >::col, i, F_TMatrix< T >::row, F_Matrix< T >::set_col(), and STD__.
Definition at line 1667 of file f_matrix.h.
References F_TMatrix< T >::transposed_copy().
Definition at line 736 of file f_matrix.h.
Referenced by aradd_(), armult_(), arsub_(), TVector< T >::BdMatrix< T >, BiCG(), BiCGSTAB(), cediv(), cediv(), cediv(), cediv(), cediv(), cemul(), cemul(), cemul(), cemul(), cemul(), CG(), CG2(), CGS(), CHEBY(), chgf_(), conhyp_(), dgbsv_(), dgbsvx2_(), dgbsvx_(), dgesv_(), dot(), dot(), ecpdiv_(), ecpmul_(), ediv(), ediv(), ediv(), ediv(), ediv(), ediv(), ediv(), ediv(), ediv(), emul(), emul(), emul(), emul(), emul(), gaussj(), hyper2geom1(), hyper2geom1(), hyper2geom1(), hyper2geom1(), HypergeometricM(), HypergeometricM(), HypergeometricU(), HypergeometricU(), if(), INST(), IR(), LU_solve(), LU_solve(), LU_solve(), LU_solve(), lu_solve(), lu_solve(), lu_solve(), lu_solve(), MAIN__(), cplx< T >::operator*(), Matrix< T >::operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), operator*(), cplx< T >::operator+(), operator+(), operator+(), operator+(), operator+(), cplx< T >::operator-(), operator-(), operator-(), operator-(), operator-(), cplx< T >::operator/(), F_TMatrix< T >::operator/(), operator/(), operator/(), operator/(), TMatrix< T >::operator/(), operator<(), operator<=(), operator>(), operator>=(), pow_zz(), QMR(), sv_decomp_backsub(), sv_decomp_backsub(), sv_decomp_pythag(), svd_solve(), svd_solve(), TBCI::SWAP(), and zgesv_().
| return c |
Definition at line 760 of file f_matrix.h.
Referenced by abs(), arg(), BdMatrix< T >::autoinsert(), BVector< T >::BVector(), BVector< T >::BVector(), CHEBY(), BVector< T >::concat(), conj(), cplx< T >::cplx(), cplx< T >::cplx(), F_TSMatrix< T >::detach(), dgbsvx2_(), dgbsvx_(), Matrix< T >::div_row(), Matrix< T >::div_rows(), do_fill_mat(), ediv(), erfc3(), expm(), F_BandMatrix< T >::F_BandMatrix(), F_Matrix< T >::F_Matrix(), F_Matrix< T >::F_Matrix(), F_Matrix< T >::F_Matrix(), F_Matrix< T >::F_Matrix(), F_TMatrix< T >::F_TMatrix(), F_TMatrix< T >::F_TMatrix(), fabs(), fabssqr(), CSCMatrix< T >::fill(), F_BandMatrix< T >::find_sub(), free_threads(), BdMatrix< T >::get(), F_Matrix< T >::get(), F_TMatrix< T >::get(), F_TSMatrix< T >::get(), TMatrix< T >::get(), BdMatrix< T >::get_col(), F_Matrix< T >::get_col(), F_TMatrix< T >::get_col(), TMatrix< T >::get_col(), TMatrix< T >::getcref(), hyper2geom1(), hyper2geom1(), hyper2geom1(), hyper2geom1(), init_threads(), lu_solve_expert(), Matrix< T >::Matrix(), Matrix< T >::Matrix(), CSCMatrix< T >::mult1(), Matrix< T >::mult_row(), Matrix< T >::mult_rows(), norm(), CSCMatrix< T >::operator F_TMatrix< T >(), F_Matrix< T >::operator TMatrix< T >(), F_TMatrix< T >::operator TMatrix< T >(), F_TSMatrix< T >::operator TMatrix< T >(), cplx< T >::operator!=(), BdMatrix< T >::operator()(), BdMatrix< T >::operator()(), CTensor< T >::operator()(), F_Matrix< T >::operator()(), F_TMatrix< T >::operator()(), F_TSMatrix< T >::operator()(), TMatrix< T >::operator()(), TSMatrix< T >::operator()(), F_Matrix< T >::operator*(), F_Matrix< T >::operator*(), F_Matrix< T >::operator*(), F_Matrix< T >::operator*(), F_TSMatrix< T >::operator*(), F_TSMatrix< T >::operator*(), Matrix< T >::operator*(), Matrix< T >::operator*(), Matrix< T >::operator*(), Matrix< T >::operator*(), TSMatrix< T >::operator*(), TSMatrix< T >::operator*(), TSMatrix< T >::operator*(), TSMatrix< T >::operator*(), CSCMatrix< T >::operator+(), operator+(), CSCMatrix< T >::operator-(), operator-(), cplx< T >::operator<(), operator<<(), operator<<(), operator<<(), cplx< T >::operator<=(), cplx< T >::operator=(), cplx< T >::operator==(), cplx< T >::operator>(), cplx< T >::operator>=(), operator>>(), QMR(), BVector< T >::resize(), BVector< T >::resize(), F_Matrix< T >::resize(), F_Matrix< T >::resize(), F_TMatrix< T >::resize(), F_TMatrix< T >::resize(), Matrix< T >::resize(), Matrix< T >::resize(), TMatrix< T >::resize(), TMatrix< T >::resize(), TMatrix< T >::set(), F_Matrix< T >::set_col(), F_TMatrix< T >::set_col(), TMatrix< T >::set_col(), TMatrix< T >::set_col_partial(), BdMatrix< T >::setval(), BdMatrix< T >::setval(), F_BandMatrix< T >::setval(), F_Matrix< T >::setval(), F_TMatrix< T >::setval(), F_TMatrix< T >::setval(), TMatrix< T >::setval(), TMatrix< T >::setval(), sqr(), sv_decomp(), TMatrix< T >::TMatrix(), TMatrix< T >::TMatrix(), F_TMatrix< T >::transpose(), TMatrix< T >::transpose(), CRMatrix< T >::transposed_copy(), CSCMatrix< T >::transposed_copy(), F_BandMatrix< T >::transposed_copy(), F_TMatrix< T >::transposed_copy(), and TMatrix< T >::transposed_copy().
| tm fac = (T)1 |
Definition at line 1052 of file f_matrix.h.
Referenced by TSVector< T >::abs(), TSVector< T >::add_t_tsv(), F_TSMatrix< T >::ALIGN(), TSMatrix< T >::ALIGN(), TSVector< T >::ALIGN(), buf_minus(), CTensor< T >::calclayout(), F_TSMatrix< T >::clone(), TSMatrix< T >::clone(), TSVector< T >::clone(), Matrix< T >::div_rows(), F_TSMatrix< T >::eval(), TSMatrix< T >::eval(), TSVector< T >::eval(), F_TSMatrix< T >::F_TSMatrix(), F_TSMatrix< T >::F_TSMatrix(), F_TSMatrix< T >::F_TSMatrix(), F_TSMatrix< T >::fabs(), TSVector< T >::fabs(), TSMatrix< T >::fabssqr(), TSVector< T >::fabssqr(), F_TSMatrix< T >::get(), TSVector< T >::get(), TSMatrix< T >::getfac(), TSMatrix< T >::getfac(), TSVector< T >::getfac(), TSVector< T >::getfacref(), hyper2geom1(), hyper2geom1(), Matrix< T >::mult_rows(), F_TSMatrix< T >::operator()(), TSMatrix< T >::operator()(), TSVector< T >::operator()(), F_TSMatrix< T >::operator*(), F_TSMatrix< T >::operator*(), F_TSMatrix< T >::operator*(), F_TSMatrix< T >::operator*(), TSMatrix< T >::operator*(), TSMatrix< T >::operator*(), TSMatrix< T >::operator*(), TSMatrix< T >::operator*(), TSMatrix< T >::operator*(), TSVector< T >::operator*(), F_TSMatrix< T >::operator*=(), TSMatrix< T >::operator*=(), TSVector< T >::operator*=(), TSMatrix< T >::operator+(), TSMatrix< T >::operator+(), TSMatrix< T >::operator+(), TSMatrix< T >::operator+(), TSVector< T >::operator+(), TSVector< T >::operator+(), TSVector< T >::operator+(), TSVector< T >::operator+(), F_TSMatrix< T >::operator-(), TSMatrix< T >::operator-(), TSMatrix< T >::operator-(), TSMatrix< T >::operator-(), TSMatrix< T >::operator-(), TSMatrix< T >::operator-(), TSVector< T >::operator-(), TSVector< T >::operator-(), TSVector< T >::operator-(), TSVector< T >::operator-(), TSVector< T >::operator-(), F_TSMatrix< T >::operator/(), TSMatrix< T >::operator/(), TSVector< T >::operator/(), F_TSMatrix< T >::operator/=(), TSMatrix< T >::operator/=(), TSVector< T >::operator/=(), F_TSMatrix< T >::operator=(), F_TSMatrix< T >::operator=(), TSMatrix< T >::operator=(), TSMatrix< T >::operator=(), TSVector< T >::operator=(), TSVector< T >::operator=(), F_TSMatrix< T >::operator==(), F_TSMatrix< T >::operator==(), TSMatrix< T >::operator==(), TSMatrix< T >::operator==(), TSVector< T >::operator==(), TSVector< T >::operator==(), F_TMatrix< T >::setunit(), TMatrix< T >::setunit(), TSVector< T >::sub_t_tsv(), TSVector< T >::sum(), trinomial(), TSMatrix< T >::TSMatrix(), TSMatrix< T >::TSMatrix(), TSMatrix< T >::TSMatrix(), TSVector< T >::TSVector(), TSVector< T >::TSVector(), TSVector< T >::TSVector(), TSVector< T >::TSVector(), and TSVector< T >::TSVector().
| F_TSMatrix< T > ts { F_TSMatrix<T> tm (ts) |
Definition at line 1052 of file f_matrix.h.
Referenced by _thread_start_off(), abs(), bind_threads(), cediv(), cediv(), cediv(), cediv(), cemul(), cemul(), cemul(), cemul(), ediv(), ediv(), ediv(), ediv(), ediv(), ediv(), emul(), emul(), emul(), emul(), F_Matrix< T >::F_Matrix(), F_TMatrix< T >::F_TMatrix(), F_TSMatrix< T >::F_TSMatrix(), fabs(), fabs(), fabssqr(), free_threads(), init_threads(), lina_thread(), Matrix< T >::Matrix(), F_Matrix< T >::operator!=(), F_TMatrix< T >::operator!=(), F_TSMatrix< T >::operator!=(), Matrix< T >::operator!=(), TMatrix< T >::operator!=(), TSMatrix< T >::operator!=(), TSVector< T >::operator!=(), Vector< T >::operator!=(), operator*(), operator*(), operator*(), Matrix< T >::operator+(), operator+(), TMatrix< T >::operator+(), TSMatrix< T >::operator+(), TSMatrix< T >::operator+(), TSMatrix< T >::operator+(), TVector< T >::operator+(), Vector< T >::operator+(), Matrix< T >::operator-(), operator-(), TMatrix< T >::operator-(), TSMatrix< T >::operator-(), TSMatrix< T >::operator-(), TSMatrix< T >::operator-(), TVector< T >::operator-(), TVector< unsigned >::operator-(), Vector< T >::operator-(), operator<<(), operator<<(), operator<<(), F_Matrix< T >::operator=(), F_TSMatrix< T >::operator=(), Matrix< T >::operator=(), TSMatrix< T >::operator=(), TSVector< T >::operator=(), Vector< T >::operator=(), F_Matrix< T >::operator==(), F_TMatrix< T >::operator==(), F_TSMatrix< T >::operator==(), Matrix< T >::operator==(), TMatrix< T >::operator==(), TSMatrix< T >::operator==(), TSVector< T >::operator==(), thread_wait(), thread_wait_result(), TMatrix< T >::TMatrix(), TSMatrix< T >::TSMatrix(), TSVector< T >::TSVector(), TVector< T >::TVector(), and Vector< T >::Vector().