TBCI Numerical high perf. C++ Library 2.8.0
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  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

◆ LAPACK_INLINE

#define LAPACK_INLINE

Definition at line 318 of file bvector.h.

Referenced by BVector< T >::resize().

◆ SMP_VECSLICE

#define SMP_VECSLICE   262144

Definition at line 619 of file bvector.h.

◆ SMP_VECSLICE2

#define SMP_VECSLICE2   (SMP_VECSLICE/sizeof(T))

Function Documentation

◆ concat()

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(), and concat().

Referenced by concat().

◆ HOTDECL() [1/4]

HOTDECL ( template< typename T > int _par_compconst unsigned long sz, const T *v1, const T *v2)

◆ HOTDECL() [2/4]

HOTDECL ( template< typename T > void _par_copyconst unsigned long sz, T *v1, const T *v2)

◆ HOTDECL() [3/4]

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

◆ HOTDECL() [4/4]

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

◆ job_vec_fill()

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

Definition at line 714 of file bvector.h.

References job_vec_fill(), T, thr_ctrl::t_par, and thr_ctrl::t_size.

Referenced by HOTDECL(), and job_vec_fill().

◆ job_vec_fill_fn()

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

Definition at line 752 of file bvector.h.

References job_vec_fill_fn(), T, thr_ctrl::t_par, and thr_ctrl::t_size.

Referenced by HOTDECL(), and job_vec_fill_fn().

◆ job_vv_comp()

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

Definition at line 633 of file bvector.h.

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

Referenced by HOTDECL(), and job_vv_comp().

◆ job_vv_copy()

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

Definition at line 677 of file bvector.h.

References job_vv_copy(), T, thr_ctrl::t_par, and thr_ctrl::t_size.

Referenced by HOTDECL(), and job_vv_copy().

◆ numa_optimize()

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

Definition at line 864 of file bvector.h.

◆ operator<<()

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

Definition at line 531 of file bvector.h.

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

◆ operator>>()

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, STD__, T, and BVector< T >::vec.