|
TBCI Numerical high perf. C++ Library
2.8.0
|
Implementation of class TBCI::FS_Vector. More...
#include "tbci/basics.h"#include "tbci/bvector.h"
Go to the source code of this file.
Classes | |
| class | FSVecErr |
| exception class More... | |
| class | FS_Vector< dims, T > |
| Implementation of fixed sized Vectors (template argument) which is favorable for small Vectors, where the overhead of dynamically allocating and freeing memory and it's management is too expensive. More... | |
| class | FS_Vector< dims, T > |
| Implementation of fixed sized Vectors (template argument) which is favorable for small Vectors, where the overhead of dynamically allocating and freeing memory and it's management is too expensive. More... | |
Macros | |
| #define | FSV_ASS_FSV(op) |
| #define | FSV_NOASS_FSV(op) |
| #define | FSV_ASS_T(op) |
| #define | FSV_NOASS_T(op) |
| #define | FSV_MEM_FRD(nm, op) |
Functions | |
| template<unsigned dims, typename T > | |
| STD__ ostream & | operator<< (STD__ ostream &os, const FS_Vector< dims, T > &fv) |
| template<unsigned dims, typename T > | |
| STD__ istream & | operator>> (STD__ istream &in, FS_Vector< dims, T > &v) |
| template<unsigned dims, typename T > | |
| T | dot (const FS_Vector< dims, T > &fv1, const FS_Vector< dims, T > &fv2) |
| template<unsigned dims, typename T , unsigned long dims2> | |
| FS_Vector< dims, T > | slice (const FS_Vector< dims, T > &fv, const unsigned long s, const unsigned long e) |
| template<unsigned dims, typename T > | |
| FS_Vector< dims, T > | emul (const FS_Vector< dims, T > &f1, const FS_Vector< dims, T > &f2) |
| template<unsigned dims, typename T > | |
| FS_Vector< dims, T > | cemul (const FS_Vector< dims, T > &f1, const FS_Vector< dims, T > &f2) |
| template<unsigned dims, typename T > | |
| FS_Vector< dims, T > | ediv (const FS_Vector< dims, T > &f1, const FS_Vector< dims, T > &f2) |
| template<unsigned dims, typename T > | |
| FS_Vector< dims, T > | cediv (const FS_Vector< dims, T > &f1, const FS_Vector< dims, T > &f2) |
| template<unsigned dims, typename T > | |
| double | fabssqr (const FS_Vector< dims, T > &fv) |
| template<unsigned dims, typename T > | |
| FS_Vector< dims, T > | operator* (const T &v, const FS_Vector< dims, T > &fv) |
| template<unsigned dims, typename T > | |
| FS_Vector< dims, T > | operator+ (const T &v, const FS_Vector< dims, T > &fv) |
| template<unsigned dims, typename T > | |
| FS_Vector< dims, T > | operator- (const T &v, const FS_Vector< dims, T > &fv) |
| template<unsigned dims, typename T > | |
| T | min (const FS_Vector< dims, T > &fv) |
| template<unsigned dims, typename T > | |
| T | max (const FS_Vector< dims, T > &fv) |
| template<unsigned dims, typename T > | |
| T | sum (const FS_Vector< dims, T > &fv) |
| template<unsigned dims, typename T > | |
| NAMESPACE_END NAMESPACE_CSTD double | fabs (const TBCI__ FS_Vector< dims, T > &fv) |
| template<unsigned dims, typename T > | |
| T | abs (const TBCI__ FS_Vector< dims, T > &fv) |
Implementation of class TBCI::FS_Vector.
Definition in file fs_vector.h.
| #define FSV_ASS_FSV | ( | op | ) |
Definition at line 289 of file fs_vector.h.
| #define FSV_ASS_T | ( | op | ) |
Definition at line 314 of file fs_vector.h.
| #define FSV_MEM_FRD | ( | nm, | |
| op | |||
| ) |
Definition at line 552 of file fs_vector.h.
| #define FSV_NOASS_FSV | ( | op | ) |
Definition at line 301 of file fs_vector.h.
| #define FSV_NOASS_T | ( | op | ) |
Definition at line 328 of file fs_vector.h.
Definition at line 616 of file fs_vector.h.
| FS_Vector<dims,T> cediv | ( | const FS_Vector< dims, T > & | f1, |
| const FS_Vector< dims, T > & | f2 | ||
| ) |
Definition at line 537 of file fs_vector.h.
References std::conj(), CPLX__, dims, i, and res.
Referenced by cediv().
| FS_Vector<dims,T> cemul | ( | const FS_Vector< dims, T > & | f1, |
| const FS_Vector< dims, T > & | f2 | ||
| ) |
Definition at line 519 of file fs_vector.h.
References std::conj(), CPLX__, dims, i, and res.
Referenced by cemul().
|
inline |
Definition at line 471 of file fs_vector.h.
References ALIGN3, std::conj(), CPLX__, dims, i, MIN_ALIGN2, REGISTER, and T.
|
inline |
Definition at line 608 of file fs_vector.h.
Definition at line 548 of file fs_vector.h.
References FS_Vector< dims, T >::fabssqr().
Definition at line 594 of file fs_vector.h.
References FS_Vector< dims, T >::max().
Referenced by chgf_(), dgamln_(), FS_Vector< dims, T >::max(), Vector< T >::max(), norm_1(), zacon_(), zairy_(), zbesh_(), zbesi_(), zbesj_(), zbesk_(), zbesy_(), zbinu_(), zbknu_(), zbuni_(), zmlri_(), zrati_(), zs1s2_(), zuchk_(), zuni1_(), zuni2_(), zunk1_(), zunk2_(), and zuoik_().
Definition at line 589 of file fs_vector.h.
References FS_Vector< dims, T >::min().
|
inline |
Definition at line 569 of file fs_vector.h.
References FS_Vector< dims, T >::mult().
|
inline |
Definition at line 574 of file fs_vector.h.
References FS_Vector< dims, T >::plus().
|
inline |
Definition at line 579 of file fs_vector.h.
References FS_Vector< dims, T >::minus().
| STD__ ostream& operator<< | ( | STD__ ostream & | os, |
| const FS_Vector< dims, T > & | fv | ||
| ) |
Definition at line 385 of file fs_vector.h.
References dims, i, and FS_Vector< dims, T >::x.
|
inline |
Definition at line 500 of file fs_vector.h.
References BCHK, FS_Vector< dims, T >::clear(), CSTD__, dims, MIN, param, T, FS_Vector< dims, T >::vecptr(), and FS_Vector< dims, T >::x.
Definition at line 599 of file fs_vector.h.
References FS_Vector< dims, T >::sum().
Referenced by cgamma_(), do_fbdmat_vec_mul(), exact_sum(), kahan_sum(), norm_1(), ILU0_Symm_BdMatrixPreconditioner< T >::solve(), ILU0_BdMatrixPreconditioner< T >::solve(), FS_Vector< dims, T >::sum(), and F_BandMatrix< T >::transMult().
1.8.5