MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros
DenseLinAlgPack_DVectorOpBLAS.cpp File Reference
#include <algorithm>
#include <functional>
#include <cmath>
#include "DenseLinAlgPack_DVectorClass.hpp"
#include "DenseLinAlgPack_DVectorOp.hpp"
#include "DenseLinAlgPack_BLAS_Cpp.hpp"
#include "DenseLinAlgPack_AssertOp.hpp"
Include dependency graph for DenseLinAlgPack_DVectorOpBLAS.cpp:

Go to the source code of this file.

Macros

#define UNARYOP_VECSLC(LHS, RHS, FUNC)
 
#define BINARYOP_VECSLC(LHS, RHS1, RHS2, FUNC)
 
#define BINARYOP_BIND1ST_VECSLC(LHS, RHS1, RHS2, FUNC)
 
#define BINARYOP_BIND2ND_VECSLC(LHS, RHS1, RHS2, FUNC)
 
#define UNARYOP_VEC(LHS, RHS, FUNC)
 
#define BINARYOP_VEC(LHS, RHS1, RHS2, FUNC)
 
#define BINARYOP_BIND1ST_VEC(LHS, RHS1, RHS2, FUNC)
 
#define BINARYOP_BIND2ND_VEC(LHS, RHS1, RHS2, FUNC)
 

Macro Definition Documentation

#define UNARYOP_VECSLC (   LHS,
  RHS,
  FUNC 
)
Value:
DenseLinAlgPack::Vp_V_assert_sizes( (LHS)->dim(), (RHS).dim() ); \
DVectorSlice::iterator itr_lhs; DVectorSlice::const_iterator itr_rhs; \
for(itr_lhs = LHS->begin(), itr_rhs = RHS.begin(); itr_lhs != LHS->end(); ++itr_lhs, ++itr_rhs) \
{ *itr_lhs = FUNC(*itr_rhs); }
void Vp_V_assert_sizes(size_type v_lhs_size, size_type v_rhs_size)
v_lhs += op v_rhs

Definition at line 162 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

#define BINARYOP_VECSLC (   LHS,
  RHS1,
  RHS2,
  FUNC 
)
Value:
DenseLinAlgPack::VopV_assert_sizes( (RHS1).dim(), (RHS2).dim() ); \
DenseLinAlgPack::Vp_V_assert_sizes( (LHS)->dim(), (RHS1).dim() ); \
DVectorSlice::iterator itr_lhs; DVectorSlice::const_iterator itr_rhs1, itr_rhs2; \
for(itr_lhs = LHS->begin(), itr_rhs1 = RHS1.begin(), itr_rhs2 = RHS2.begin(); \
itr_lhs != LHS->end(); ++itr_lhs, ++itr_rhs1, ++itr_rhs2) \
{ *itr_lhs = FUNC(*itr_rhs1, *itr_rhs2); }
void Vp_V_assert_sizes(size_type v_lhs_size, size_type v_rhs_size)
v_lhs += op v_rhs
void VopV_assert_sizes(size_type v_rhs1_size, size_type v_rhs2_size)
v_rhs1 op v_rhs2

Definition at line 169 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

#define BINARYOP_BIND1ST_VECSLC (   LHS,
  RHS1,
  RHS2,
  FUNC 
)
Value:
DenseLinAlgPack::Vp_V_assert_sizes( (LHS)->dim(), (RHS2).dim() ); \
DVectorSlice::iterator itr_lhs; DVectorSlice::const_iterator itr_rhs2; \
for(itr_lhs = LHS->begin(), itr_rhs2 = RHS2.begin(); \
itr_lhs != LHS->end(); ++itr_lhs, ++itr_rhs2) \
{ *itr_lhs = FUNC(RHS1, *itr_rhs2); }
void Vp_V_assert_sizes(size_type v_lhs_size, size_type v_rhs_size)
v_lhs += op v_rhs

Definition at line 177 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

#define BINARYOP_BIND2ND_VECSLC (   LHS,
  RHS1,
  RHS2,
  FUNC 
)
Value:
DenseLinAlgPack::Vp_V_assert_sizes( (LHS)->dim(), (RHS1).dim()); \
DVectorSlice::iterator itr_lhs; DVectorSlice::const_iterator itr_rhs1; \
for(itr_lhs = LHS->begin(), itr_rhs1 = RHS1.begin(); \
itr_lhs != LHS->end(); ++itr_lhs, ++itr_rhs1) \
{ *itr_lhs = FUNC(*itr_rhs1, RHS2); }
void Vp_V_assert_sizes(size_type v_lhs_size, size_type v_rhs_size)
v_lhs += op v_rhs

Definition at line 184 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

#define UNARYOP_VEC (   LHS,
  RHS,
  FUNC 
)
Value:
LHS->resize(RHS.dim()); \
DVector::iterator itr_lhs; DVectorSlice::const_iterator itr_rhs; \
for(itr_lhs = LHS->begin(), itr_rhs = RHS.begin(); itr_lhs != LHS->end(); ++itr_lhs, ++itr_rhs) \
{ *itr_lhs = FUNC(*itr_rhs); }

Definition at line 334 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

#define BINARYOP_VEC (   LHS,
  RHS1,
  RHS2,
  FUNC 
)
Value:
DenseLinAlgPack::assert_vs_sizes(RHS1.dim(), RHS2.dim()); LHS->resize(RHS1.dim()); \
DVector::iterator itr_lhs; DVectorSlice::const_iterator itr_rhs1, itr_rhs2; \
for(itr_lhs = LHS->begin(), itr_rhs1 = RHS1.begin(), itr_rhs2 = RHS2.begin(); \
itr_lhs != LHS->end(); ++itr_lhs, ++itr_rhs1, ++itr_rhs2) \
{ *itr_lhs = FUNC(*itr_rhs1, *itr_rhs2); }
void assert_vs_sizes(size_type size1, size_type size2)

Definition at line 340 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

#define BINARYOP_BIND1ST_VEC (   LHS,
  RHS1,
  RHS2,
  FUNC 
)
Value:
LHS->resize(RHS2.dim()); \
DVector::iterator itr_lhs; DVectorSlice::const_iterator itr_rhs2; \
for(itr_lhs = LHS->begin(), itr_rhs2 = RHS2.begin(); \
itr_lhs != LHS->end(); ++itr_lhs, ++itr_rhs2) \
{ *itr_lhs = FUNC(RHS1, *itr_rhs2); }

Definition at line 347 of file DenseLinAlgPack_DVectorOpBLAS.cpp.

#define BINARYOP_BIND2ND_VEC (   LHS,
  RHS1,
  RHS2,
  FUNC 
)
Value:
LHS->resize(RHS1.dim()); \
DVector::iterator itr_lhs; DVectorSlice::const_iterator itr_rhs1; \
for(itr_lhs = LHS->begin(), itr_rhs1 = RHS1.begin(); \
itr_lhs != LHS->end(); ++itr_lhs, ++itr_rhs1) \
{ *itr_lhs = FUNC(*itr_rhs1, RHS2); }

Definition at line 354 of file DenseLinAlgPack_DVectorOpBLAS.cpp.