blitz Version 1.0.2
Loading...
Searching...
No Matches
blitz Namespace Reference

Namespaces

namespace  extrema
 
namespace  tensor
 

Classes

class  _bz_ArrayExpr
 
class  _bz_ArrayExprBinaryOp
 
class  _bz_ArrayExprConstant
 
class  _bz_ArrayExprQuaternaryOp
 
class  _bz_ArrayExprReduce
 
class  _bz_ArrayExprTernaryOp
 
class  _bz_ArrayExprUnaryOp
 
class  _bz_ArrayWhere
 
class  _bz_FunctorExpr
 
class  _bz_FunctorExpr2
 
class  _bz_FunctorExpr3
 
struct  _bz_meta_bitwidth
 This metaprogram returns the number of bits necessary to fit the specified number. More...
 
struct  _bz_meta_bitwidth< 0, L >
 
class  _bz_meta_tv2Assign
 
class  _bz_meta_tv2Assign< 0, 0 >
 
class  _bz_returntype
 
class  _bz_StencilExpr
 
struct  _tm_evaluator
 The _tm_evaluator class has a bool template argument that is used to select code paths at compile time. More...
 
struct  _tm_evaluator< true, N_rows, N_columns >
 Specialization of the _tm_evaluator class for false template arguments. More...
 
struct  _tv_evaluator
 The _tv_evaluator class has a bool template argument that is used to select code paths at compile time. More...
 
struct  _tv_evaluator< true, N_length >
 Specialization of the _tv_evaluator class for false template arguments. More...
 
struct  Add
 
class  Array
 Declaration of class Array, the "Swiss army knife" of Blitz expression template classes. More...
 
class  ArrayIndexMapping
 
class  ArrayIterator
 
struct  BitwiseAnd
 
struct  BitwiseNot
 
struct  BitwiseOr
 
struct  BitwiseXor
 
struct  bounds
 
class  ConstArrayIterator
 
class  ConstPointerStack
 
struct  Divide
 
struct  Equal
 
class  ETBase
 
class  FastArrayCopyIterator
 
class  FastArrayIterator
 
class  FastTM2CopyIterator
 
class  FastTM2Iterator
 
class  FastTM2IteratorBase
 
class  FastTV2CopyIterator
 
class  FastTV2Iterator
 
class  FastTV2IteratorBase
 
struct  Greater
 
struct  GreaterOrEqual
 
class  IndexPlaceholder
 
class  IndirectArray
 
struct  Less
 
struct  LessOrEqual
 
class  LeviCivita
 
class  ListInitializationSwitch
 
class  ListInitializer
 
struct  LogicalAnd
 
struct  LogicalNot
 
struct  LogicalOr
 
class  MemoryBlock
 
class  MemoryBlockReference
 
struct  MinMaxValue
 
struct  Modulo
 
struct  Multiply
 
struct  NotEqual
 
class  prettyPrintFormat
 
class  Range
 
class  RectDomain
 
class  ReduceAll
 
class  ReduceAny
 
class  ReduceCount
 
class  ReduceFirst
 
class  ReduceLast
 
class  ReduceMax
 
class  ReduceMaxIndex
 
class  ReduceMaxIndexVector
 
class  ReduceMean
 
class  ReduceMin
 
class  ReduceMinIndex
 
class  ReduceMinIndexVector
 
class  ReduceMinMax
 
class  ReduceProduct
 
class  ReduceSum
 
struct  ShiftLeft
 
struct  ShiftRight
 
class  simdTypes
 Helper class that defines the width of the simd instructions for a given type. More...
 
struct  Subtract
 
class  TinyMatrix
 
class  TinyVector
 The TinyVector class is a one-dimensional, fixed length vector that implements the blitz expression template machinery. More...
 
class  TinyVector< T, 0 >
 
struct  UnaryMinus
 
struct  UnaryPlus
 
class  Vector
 

Typedefs

typedef int indexType
 
typedef size_t sizeType
 
typedef ptrdiff_t diffType
 
typedef IndexPlaceholder< 0 > firstIndex
 
typedef IndexPlaceholder< 1 > secondIndex
 
typedef IndexPlaceholder< 2 > thirdIndex
 
typedef IndexPlaceholder< 3 > fourthIndex
 
typedef IndexPlaceholder< 4 > fifthIndex
 
typedef IndexPlaceholder< 5 > sixthIndex
 
typedef IndexPlaceholder< 6 > seventhIndex
 
typedef IndexPlaceholder< 7 > eighthIndex
 
typedef IndexPlaceholder< 8 > ninthIndex
 
typedef IndexPlaceholder< 9 > tenthIndex
 
typedef IndexPlaceholder< 10 > eleventhIndex
 
typedef Array< int, 1 > Array1i
 
typedef Array< int, 2 > Array2i
 
typedef Array< int, 3 > Array3i
 
typedef Array< int, 4 > Array4i
 
typedef Array< int, 5 > Array5i
 
typedef Array< int, 6 > Array6i
 
typedef Array< int, 7 > Array7i
 
typedef Array< int, 8 > Array8i
 
typedef Array< int, 9 > Array9i
 
typedef Array< int, 10 > Array10i
 
typedef Array< int, 11 > Array11i
 
typedef Array< unsigned int, 1 > Array1ui
 
typedef Array< unsigned int, 2 > Array2ui
 
typedef Array< unsigned int, 3 > Array3ui
 
typedef Array< unsigned int, 4 > Array4ui
 
typedef Array< unsigned int, 5 > Array5ui
 
typedef Array< unsigned int, 6 > Array6ui
 
typedef Array< unsigned int, 7 > Array7ui
 
typedef Array< unsigned int, 8 > Array8ui
 
typedef Array< unsigned int, 9 > Array9ui
 
typedef Array< unsigned int, 10 > Array10ui
 
typedef Array< unsigned int, 11 > Array11ui
 
typedef Array< double, 1 > Array1d
 
typedef Array< double, 2 > Array2d
 
typedef Array< double, 3 > Array3d
 
typedef Array< double, 4 > Array4d
 
typedef Array< double, 5 > Array5d
 
typedef Array< double, 6 > Array6d
 
typedef Array< double, 7 > Array7d
 
typedef Array< double, 8 > Array8d
 
typedef Array< double, 9 > Array9d
 
typedef Array< double, 10 > Array10d
 
typedef Array< double, 11 > Array11d
 
typedef Array< float, 1 > Array1f
 
typedef Array< float, 2 > Array2f
 
typedef Array< float, 3 > Array3f
 
typedef Array< float, 4 > Array4f
 
typedef Array< float, 5 > Array5f
 
typedef Array< float, 6 > Array6f
 
typedef Array< float, 7 > Array7f
 
typedef Array< float, 8 > Array8f
 
typedef Array< float, 9 > Array9f
 
typedef Array< float, 10 > Array10f
 
typedef Array< float, 11 > Array11f
 

Enumerations

enum  preexistingMemoryPolicy { duplicateData , deleteDataWhenDone , neverDeleteData }
 

Functions

template<typename P_numtype , int N_rank>
void swap (Array< P_numtype, N_rank > &, Array< P_numtype, N_rank > &)
 
template<typename P_numtype , int N_rank>
void find (Array< TinyVector< int, N_rank >, 1 > &, const Array< P_numtype, N_rank > &)
 
template<typename T_numtype >
ostreamoperator<< (ostream &, const Array< T_numtype, 1 > &)
 
template<typename T_numtype , int N_rank>
ostreamoperator<< (ostream &, const Array< T_numtype, N_rank > &)
 
template<typename T_numtype , int N_rank>
istreamoperator>> (istream &is, Array< T_numtype, N_rank > &x)
 
template<typename P_expr >
void find (Array< TinyVector< int, P_expr::rank >, 1 > &indices, const _bz_ArrayExpr< P_expr > &expr)
 
bool isThreadsafe ()
 
template<typename T_shape1 , typename T_shape2 >
bool areShapesConformable (const T_shape1 &, const T_shape2 &)
 
template<typename T_shape >
bool areShapesConformable (const T_shape &a, const T_shape &b)
 
template<typename T >
bool isVectorAligned (const T *restrict pointer)
 General function just forwards to the simdTypes class.
 
template<typename T_numtype >
TinyVector< T_numtype, 3 > cross (const TinyVector< T_numtype, 3 > &x, const TinyVector< T_numtype, 3 > &y)
 
template<typename T_numtype1 , typename T_numtype2 , int N_length>
 BZ_PROMOTE (T_numtype1, T_numtype2) dot(const TinyVector< T_numtype1
 
template<typename T_numtype1 , int N_length>
 BZ_SUMTYPE (T_numtype1) product(const TinyVector< T_numtype1
 
template<typename T_numtype , int N_length>
 BZ_SUMTYPE (T_numtype) sum(const TinyVector< T_numtype
 

Variables

const int fromStart = INT_MIN
 
const int toEnd = INT_MAX
 
const int firstRank = 0
 
const int secondRank = 1
 
const int thirdRank = 2
 
const int fourthRank = 3
 
const int fifthRank = 4
 
const int sixthRank = 5
 
const int seventhRank = 6
 
const int eighthRank = 7
 
const int ninthRank = 8
 
const int tenthRank = 9
 
const int eleventhRank = 10
 
const int firstDim = 0
 
const int secondDim = 1
 
const int thirdDim = 2
 
const int fourthDim = 3
 
const int fifthDim = 4
 
const int sixthDim = 5
 
const int seventhDim = 6
 
const int eighthDim = 7
 
const int ninthDim = 8
 
const int tenthDim = 9
 
const int eleventhDim = 10
 
N_lengtha
 
N_length const TinyVector< T_numtype2, N_length > & b
 

Typedef Documentation

◆ Array10d

◆ Array10f

◆ Array10i

◆ Array10ui

◆ Array11d

◆ Array11f

◆ Array11i

◆ Array11ui

◆ Array1d

◆ Array1f

◆ Array1i

◆ Array1ui

◆ Array2d

◆ Array2f

◆ Array2i

◆ Array2ui

◆ Array3d

◆ Array3f

◆ Array3i

◆ Array3ui

◆ Array4d

◆ Array4f

◆ Array4i

◆ Array4ui

◆ Array5d

◆ Array5f

◆ Array5i

◆ Array5ui

◆ Array6d

◆ Array6f

◆ Array6i

◆ Array6ui

◆ Array7d

◆ Array7f

◆ Array7i

◆ Array7ui

◆ Array8d

◆ Array8f

◆ Array8i

◆ Array8ui

◆ Array9d

◆ Array9f

◆ Array9i

◆ Array9ui

◆ diffType

◆ eighthIndex

◆ eleventhIndex

◆ fifthIndex

◆ firstIndex

◆ fourthIndex

◆ indexType

◆ ninthIndex

◆ secondIndex

◆ seventhIndex

◆ sixthIndex

◆ sizeType

◆ tenthIndex

◆ thirdIndex

Enumeration Type Documentation

◆ preexistingMemoryPolicy

Enumerator
duplicateData 
deleteDataWhenDone 
neverDeleteData 

Function Documentation

◆ areShapesConformable() [1/2]

template<typename T_shape >
bool blitz::areShapesConformable ( const T_shape & a,
const T_shape & b )
inline

References a, and b.

◆ areShapesConformable() [2/2]

◆ BZ_PROMOTE()

template<typename T_numtype1 , typename T_numtype2 , int N_length>
blitz::BZ_PROMOTE ( T_numtype1 ,
T_numtype2  ) const
inline

◆ BZ_SUMTYPE() [1/2]

template<typename T_numtype , int N_length>
blitz::BZ_SUMTYPE ( T_numtype ) const
inline

References a.

◆ BZ_SUMTYPE() [2/2]

template<typename T_numtype1 , int N_length>
blitz::BZ_SUMTYPE ( T_numtype1 ) const
inline

References a.

◆ cross()

template<typename T_numtype >
TinyVector< T_numtype, 3 > blitz::cross ( const TinyVector< T_numtype, 3 > & x,
const TinyVector< T_numtype, 3 > & y )

◆ find() [1/2]

template<typename P_numtype , int N_rank>
void blitz::find ( Array< TinyVector< int, N_rank >, 1 > & indices,
const Array< P_numtype, N_rank > & exprVals )

Referenced by find().

◆ find() [2/2]

template<typename P_expr >
void blitz::find ( Array< TinyVector< int, P_expr::rank >, 1 > & indices,
const _bz_ArrayExpr< P_expr > & expr )

References find().

◆ isThreadsafe()

bool blitz::isThreadsafe ( )
inline

◆ isVectorAligned()

template<typename T >
bool blitz::isVectorAligned ( const T *restrict pointer)
inline

General function just forwards to the simdTypes class.

References blitz::simdTypes< T >::isVectorAligned().

◆ operator<<() [1/2]

template<typename T_numtype >
ostream & blitz::operator<< ( ostream & ,
const Array< T_numtype, 1 > &  )

◆ operator<<() [2/2]

template<typename T_numtype , int N_rank>
ostream & blitz::operator<< ( ostream & ,
const Array< T_numtype, N_rank > &  )

◆ operator>>()

template<typename T_numtype , int N_rank>
istream & blitz::operator>> ( istream & is,
Array< T_numtype, N_rank > & x )

◆ swap()

template<typename P_numtype , int N_rank>
void blitz::swap ( Array< P_numtype, N_rank > & a,
Array< P_numtype, N_rank > & b )

References a, and b.

Variable Documentation

◆ a

◆ b

Initial value:
{
return _bz_meta_vectorDot<N_length, 0>::f(a,b)

Referenced by areShapesConformable(), blitz::_bz_returntype< T_ret >::dot(), and swap().

◆ eighthDim

const int blitz::eighthDim = 7

◆ eighthRank

const int blitz::eighthRank = 7

◆ eleventhDim

const int blitz::eleventhDim = 10

◆ eleventhRank

const int blitz::eleventhRank = 10

◆ fifthDim

const int blitz::fifthDim = 4

◆ fifthRank

const int blitz::fifthRank = 4

◆ firstDim

const int blitz::firstDim = 0

◆ firstRank

const int blitz::firstRank = 0

◆ fourthDim

const int blitz::fourthDim = 3

◆ fourthRank

const int blitz::fourthRank = 3

◆ fromStart

◆ ninthDim

const int blitz::ninthDim = 8

◆ ninthRank

const int blitz::ninthRank = 8

◆ secondDim

const int blitz::secondDim = 1

◆ secondRank

const int blitz::secondRank = 1

◆ seventhDim

const int blitz::seventhDim = 6

◆ seventhRank

const int blitz::seventhRank = 6

◆ sixthDim

const int blitz::sixthDim = 5

◆ sixthRank

const int blitz::sixthRank = 5

◆ tenthDim

const int blitz::tenthDim = 9

◆ tenthRank

const int blitz::tenthRank = 9

◆ thirdDim

const int blitz::thirdDim = 2

◆ thirdRank

const int blitz::thirdRank = 2

◆ toEnd