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

Namespaces

namespace  tensor
namespace  extrema

Classes

class  ArrayIterator
class  ConstArrayIterator
class  FastArrayIterator
class  _bz_ArrayExpr
class  IndirectArray
class  Array
 Declaration of class Array, the "Swiss army knife" of Blitz expression template classes. More...
struct  bounds
class  ConstPointerStack
class  ETBase
class  TinyVector
 The TinyVector class is a one-dimensional, fixed length vector that implements the blitz expression template machinery. More...
class  TinyMatrix
class  FastArrayCopyIterator
class  FastTV2Iterator
class  FastTV2CopyIterator
class  FastTM2Iterator
class  FastTM2CopyIterator
class  _bz_ArrayExprUnaryOp
class  _bz_ArrayExprBinaryOp
class  _bz_ArrayExprTernaryOp
class  _bz_ArrayExprQuaternaryOp
class  _bz_ArrayExprConstant
class  ArrayIndexMapping
class  _bz_ArrayExprReduce
class  _bz_StencilExpr
class  IndexPlaceholder
class  _bz_ArrayWhere
class  _bz_FunctorExpr
class  _bz_FunctorExpr2
class  _bz_FunctorExpr3
class  LeviCivita
class  ListInitializer
class  ListInitializationSwitch
class  MemoryBlockReference
class  MemoryBlock
struct  BitwiseNot
struct  UnaryPlus
struct  UnaryMinus
struct  LogicalNot
struct  Add
struct  Subtract
struct  Multiply
struct  Divide
struct  Modulo
struct  BitwiseXor
struct  BitwiseAnd
struct  BitwiseOr
struct  ShiftRight
struct  ShiftLeft
struct  Greater
struct  Less
struct  GreaterOrEqual
struct  LessOrEqual
struct  Equal
struct  NotEqual
struct  LogicalAnd
struct  LogicalOr
class  prettyPrintFormat
class  RectDomain
class  Range
class  ReduceSum
class  ReduceMean
class  ReduceMin
class  ReduceMax
struct  MinMaxValue
class  ReduceMinMax
class  ReduceMinIndex
class  ReduceMinIndexVector
class  ReduceMaxIndex
class  ReduceMaxIndexVector
class  ReduceFirst
class  ReduceLast
class  ReduceProduct
class  ReduceCount
class  ReduceAny
class  ReduceAll
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  simdTypes
 Helper class that defines the width of the simd instructions for a given type. More...
class  TinyVector< T, 0 >
class  FastTM2IteratorBase
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...
class  _bz_meta_tv2Assign
class  _bz_meta_tv2Assign< 0, 0 >
class  FastTV2IteratorBase
class  _bz_returntype
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...
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>
ostream & operator<< (ostream &, const Array< T_numtype, 1 > &)
template<typename T_numtype, int N_rank>
ostream & operator<< (ostream &, const Array< T_numtype, N_rank > &)
template<typename T_numtype, int N_rank>
istream & operator>> (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_length & a
N_length const TinyVector< T_numtype2, N_length > & b

Typedef Documentation

◆ Array10d

typedef Array<double,10> blitz::Array10d

◆ Array10f

typedef Array<float,10> blitz::Array10f

◆ Array10i

typedef Array<int,10> blitz::Array10i

◆ Array10ui

typedef Array<unsigned int, 10> blitz::Array10ui

◆ Array11d

typedef Array<double,11> blitz::Array11d

◆ Array11f

typedef Array<float,11> blitz::Array11f

◆ Array11i

typedef Array<int,11> blitz::Array11i

◆ Array11ui

typedef Array<unsigned int, 11> blitz::Array11ui

◆ Array1d

typedef Array<double, 1> blitz::Array1d

◆ Array1f

typedef Array<float, 1> blitz::Array1f

◆ Array1i

typedef Array<int, 1> blitz::Array1i

◆ Array1ui

typedef Array<unsigned int, 1 > blitz::Array1ui

◆ Array2d

typedef Array<double, 2> blitz::Array2d

◆ Array2f

typedef Array<float, 2> blitz::Array2f

◆ Array2i

typedef Array<int, 2> blitz::Array2i

◆ Array2ui

typedef Array<unsigned int, 2 > blitz::Array2ui

◆ Array3d

typedef Array<double, 3> blitz::Array3d

◆ Array3f

typedef Array<float, 3> blitz::Array3f

◆ Array3i

typedef Array<int, 3> blitz::Array3i

◆ Array3ui

typedef Array<unsigned int, 3 > blitz::Array3ui

◆ Array4d

typedef Array<double, 4> blitz::Array4d

◆ Array4f

typedef Array<float, 4> blitz::Array4f

◆ Array4i

typedef Array<int, 4> blitz::Array4i

◆ Array4ui

typedef Array<unsigned int, 4 > blitz::Array4ui

◆ Array5d

typedef Array<double, 5> blitz::Array5d

◆ Array5f

typedef Array<float, 5> blitz::Array5f

◆ Array5i

typedef Array<int, 5> blitz::Array5i

◆ Array5ui

typedef Array<unsigned int, 5 > blitz::Array5ui

◆ Array6d

typedef Array<double, 6> blitz::Array6d

◆ Array6f

typedef Array<float, 6> blitz::Array6f

◆ Array6i

typedef Array<int, 6> blitz::Array6i

◆ Array6ui

typedef Array<unsigned int, 6 > blitz::Array6ui

◆ Array7d

typedef Array<double, 7> blitz::Array7d

◆ Array7f

typedef Array<float, 7> blitz::Array7f

◆ Array7i

typedef Array<int, 7> blitz::Array7i

◆ Array7ui

typedef Array<unsigned int, 7 > blitz::Array7ui

◆ Array8d

typedef Array<double, 8> blitz::Array8d

◆ Array8f

typedef Array<float, 8> blitz::Array8f

◆ Array8i

typedef Array<int, 8> blitz::Array8i

◆ Array8ui

typedef Array<unsigned int, 8 > blitz::Array8ui

◆ Array9d

typedef Array<double, 9> blitz::Array9d

◆ Array9f

typedef Array<float, 9> blitz::Array9f

◆ Array9i

typedef Array<int, 9> blitz::Array9i

◆ Array9ui

typedef Array<unsigned int, 9 > blitz::Array9ui

◆ diffType

typedef ptrdiff_t blitz::diffType

◆ eighthIndex

◆ eleventhIndex

◆ fifthIndex

◆ firstIndex

◆ fourthIndex

◆ indexType

typedef int blitz::indexType

◆ ninthIndex

◆ secondIndex

◆ seventhIndex

◆ sixthIndex

◆ sizeType

typedef size_t blitz::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 )

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

◆ 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

N_length const TinyVector<T_numtype2, N_length>& blitz::b
Initial value:
{
return _bz_meta_vectorDot<N_length, 0>::f(a,b)
N_length const TinyVector< T_numtype2, N_length > & b
Definition tvecglobs.h:49

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