TBCI Numerical high perf. C++ Library  2.8.0
Classes | Macros | Functions
bvector.h File Reference

header file template class TBCI::BVector More...

#include "tbci/basics.h"
#include "tbci/vector_sig.h"
#include "tbci/tbci_traits.h"
Include dependency graph for bvector.h:

Go to the source code of this file.

Classes

class  VecErr
 exception class More...
 
class  TMatrix< T >
 
class  Matrix< T >
 
class  F_TMatrix< T >
 Temporary Base Class (non referable!) (acc. More...
 
class  F_Matrix< T >
 
class  TVector< T >
 Temporary Base Class Idiom: Class TVector is used for temporary variables. More...
 
class  TSVector< T >
 
class  Vector< T >
 
class  BVector< T >
 provides basic Vector functionality but arithmetic operators (+=, - , *, /...). More...
 

Macros

#define LAPACK_INLINE
 
#define SMP_VECSLICE   262144
 
#define SMP_VECSLICE2   (SMP_VECSLICE/sizeof(T))
 

Functions

template<typename T >
STD__ ostream & operator<< (STD__ ostream &os, const BVector< T > &v)
 
template<typename T >
STD__ istream & operator>> (STD__ istream &in, BVector< T > &v)
 
template<typename T >
BVector< Tconcat (const BVector< T > &b1, const BVector< T > &b2)
 
template<typename T >
void job_vv_comp (struct thr_ctrl *tc)
 
 HOTDECL (template< typename T > int _par_comp(const unsigned long sz, const T *v1, const T *v2))
 
template<typename T >
void job_vv_copy (struct thr_ctrl *tc)
 
 HOTDECL (template< typename T > void _par_copy(const unsigned long sz, T *v1, const T *v2))
 
template<typename T >
void job_vec_fill (struct thr_ctrl *tc)
 
 HOTDECL (template< typename T > void _par_fill(const unsigned long sz, T *v1, typename tbci_traits< T >::loop_const_refval_type val))
 
template<typename T >
void job_vec_fill_fn (struct thr_ctrl *tc)
 
 HOTDECL (template< typename T > void _par_fill_fn(const unsigned long sz, T *v1, vec_fill_fn< T > fn, void *par))
 
template<typename T >
int numa_optimize (const BVector< T > &bv, bool fault_in)
 

Detailed Description

header file template class TBCI::BVector

Definition in file bvector.h.

Macro Definition Documentation

#define LAPACK_INLINE

Definition at line 318 of file bvector.h.

#define SMP_VECSLICE   262144

Definition at line 619 of file bvector.h.

#define SMP_VECSLICE2   (SMP_VECSLICE/sizeof(T))

Function Documentation

template<typename T >
BVector<T> concat ( const BVector< T > &  b1,
const BVector< T > &  b2 
)
inline

Definition at line 604 of file bvector.h.

References BVector< T >::concat().

HOTDECL ( template< typename T > int   _par_compconst unsigned long sz, const T *v1, const T *v2)
HOTDECL ( template< typename T > void   _par_copyconst unsigned long sz, T *v1, const T *v2)
HOTDECL ( template< typename T > void   _par_fillconst unsigned long sz, T *v1, typename tbci_traits< T >::loop_const_refval_type val)

Definition at line 721 of file bvector.h.

References LIKELY, PREFETCH_W, SMP_VECSLICE2, thread_start(), thread_wait(), and threads_avail.

HOTDECL ( template< typename T > void   _par_fill_fnconst unsigned long sz, T *v1, vec_fill_fn< T > fn, void *par)

Definition at line 761 of file bvector.h.

References LIKELY, PREFETCH_W, SMP_VECSLICE2, thread_start(), thread_wait(), and threads_avail.

template<typename T >
void job_vec_fill ( struct thr_ctrl tc)

Definition at line 714 of file bvector.h.

References T, thr_ctrl::t_par, and thr_ctrl::t_size.

template<typename T >
void job_vec_fill_fn ( struct thr_ctrl tc)

Definition at line 752 of file bvector.h.

References T, thr_ctrl::t_par, and thr_ctrl::t_size.

template<typename T >
void job_vv_comp ( struct thr_ctrl tc)

Definition at line 633 of file bvector.h.

References TBCI::do_vv_comp(), T, thr_ctrl::t_par, thr_ctrl::t_res_l, and thr_ctrl::t_size.

template<typename T >
void job_vv_copy ( struct thr_ctrl tc)

Definition at line 677 of file bvector.h.

References TBCI::_tbci_copy(), T, thr_ctrl::t_par, and thr_ctrl::t_size.

template<typename T >
int numa_optimize ( const BVector< T > &  bv,
bool  fault_in 
)

Definition at line 864 of file bvector.h.

template<typename T >
STD__ ostream& operator<< ( STD__ ostream &  os,
const BVector< T > &  v 
)
inline

Definition at line 531 of file bvector.h.

References for(), i, and v.

template<typename T >
STD__ istream& operator>> ( STD__ istream &  in,
BVector< T > &  v 
)

Definition at line 554 of file bvector.h.

References ALIGN, BVector< T >::dim, i, MIN_ALIGN, T, and BVector< T >::vec.