blitz Version 1.0.2
Loading...
Searching...
No Matches
blitz::Vector< P_numtype > Class Template Reference

#include <vector2.h>

Inheritance diagram for blitz::Vector< P_numtype >:
Inheritance graph
Collaboration diagram for blitz::Vector< P_numtype >:
Collaboration graph

Public Types

typedef Array< P_numtype, 1 > T_base
 
typedef T_base::T_numtype T_numtype
 
typedef T_base::T_index T_index
 
typedef T_base::T_array T_array
 
typedef T_base::T_iterator T_iterator
 
typedef T_base::iterator iterator
 
typedef T_base::const_iterator const_iterator
 
- Public Types inherited from blitz::Array< P_numtype, 1 >
typedef P_numtype T_numtype
 
typedef TinyVector< int, N_rank > T_index
 
typedef Array< T_numtype, N_rank > T_array
 
typedef FastArrayIterator< T_numtype, N_rank > T_iterator
 
typedef ArrayIterator< T_numtype, N_rank > iterator
 
typedef ConstArrayIterator< T_numtype, N_rank > const_iterator
 
typedef GeneralArrayStorage< N_rank > T_default_storage
 Set default storage order.
 
- Public Types inherited from blitz::MemoryBlockReference< P_numtype >
typedef P_numtype T_type
 

Public Member Functions

template<typename T_expr >
 Vector (_bz_ArrayExpr< T_expr > expr)
 
 Vector (int length0, GeneralArrayStorage< rank_ > storage=GeneralArrayStorage< rank_ >())
 
 Vector (GeneralArrayStorage< rank_ > storage=GeneralArrayStorage< rank_ >())
 
 Vector (T_numtype *restrict dataFirst, TinyVector< int, rank_ > shape, GeneralArrayStorage< rank_ > storage=GeneralArrayStorage< rank_ >())
 
 Vector (Range r0, GeneralArrayStorage< rank_ > storage=GeneralArrayStorage< rank_ >())
 
 Vector (const Array< T_numtype, rank_ > &array)
 
template<int N_rank2, typename R0 , typename R1 , typename R2 , typename R3 , typename R4 , typename R5 , typename R6 , typename R7 , typename R8 , typename R9 , typename R10 >
 Vector (Array< T_numtype, N_rank2 > &array, R0 r0, R1 r1, R2 r2, R3 r3, R4 r4, R5 r5, R6 r6, R7 r7, R8 r8, R9 r9, R10 r10)
 
- Public Member Functions inherited from blitz::Array< P_numtype, 1 >
 Array (_bz_ArrayExpr< T_expr > expr)
 Construct an array from an expression.
 
 Array (GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (int length0, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (int length0, int length1, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (int length0, int length1, int length2, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (int length0, int length1, int length2, int length3, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (int length0, int length1, int length2, int length3, int length4, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (int length0, int length1, int length2, int length3, int length4, int length5, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (int length0, int length1, int length2, int length3, int length4, int length5, int length6, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (int length0, int length1, int length2, int length3, int length4, int length5, int length6, int length7, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (int length0, int length1, int length2, int length3, int length4, int length5, int length6, int length7, int length8, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (int length0, int length1, int length2, int length3, int length4, int length5, int length6, int length7, int length8, int length9, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (int length0, int length1, int length2, int length3, int length4, int length5, int length6, int length7, int length8, int length9, int length10, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (T_numtype *restrict dataFirst, TinyVector< int, N_rank > shape, GeneralArrayStorage< N_rank > storage=T_default_storage(contiguousData))
 
 Array (T_numtype *restrict dataFirst, TinyVector< int, N_rank > shape, TinyVector< diffType, N_rank > stride, GeneralArrayStorage< N_rank > storage=T_default_storage(contiguousData))
 Construct an array from an existing block of memory, with a given set of strides.
 
 Array (T_numtype *restrict dataFirst, TinyVector< int, N_rank > shape, preexistingMemoryPolicy deletionPolicy, GeneralArrayStorage< N_rank > storage=T_default_storage(contiguousData))
 Construct an array from an existing block of memory.
 
 Array (T_numtype *restrict dataFirst, TinyVector< int, N_rank > shape, TinyVector< diffType, N_rank > stride, preexistingMemoryPolicy deletionPolicy, GeneralArrayStorage< N_rank > storage=T_default_storage(contiguousData))
 Construct an array from an existing block of memory, with a given set of strides.
 
 Array (const TinyVector< int, N_rank > &extent, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (const TinyVector< int, N_rank > &lbounds, const TinyVector< int, N_rank > &extent, const GeneralArrayStorage< N_rank > &storage=T_default_storage())
 
 Array (Range r0, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (Range r0, Range r1, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (Range r0, Range r1, Range r2, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (Range r0, Range r1, Range r2, Range r3, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (Range r0, Range r1, Range r2, Range r3, Range r4, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (Range r0, Range r1, Range r2, Range r3, Range r4, Range r5, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (Range r0, Range r1, Range r2, Range r3, Range r4, Range r5, Range r6, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (Range r0, Range r1, Range r2, Range r3, Range r4, Range r5, Range r6, Range r7, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (Range r0, Range r1, Range r2, Range r3, Range r4, Range r5, Range r6, Range r7, Range r8, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (Range r0, Range r1, Range r2, Range r3, Range r4, Range r5, Range r6, Range r7, Range r8, Range r9, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (Range r0, Range r1, Range r2, Range r3, Range r4, Range r5, Range r6, Range r7, Range r8, Range r9, Range r10, GeneralArrayStorage< N_rank > storage=T_default_storage())
 
 Array (const Array< T_numtype, N_rank > &array)
 
 Array (const TinyVector< int, N_rank-1 > &shape, int lastExtent, const GeneralArrayStorage< N_rank > &storage)
 
 Array (Array< T_numtype, N_rank > &array, Range r0)
 
 Array (Array< T_numtype, N_rank > &array, Range r0, Range r1)
 
 Array (Array< T_numtype, N_rank > &array, Range r0, Range r1, Range r2)
 
 Array (Array< T_numtype, N_rank > &array, Range r0, Range r1, Range r2, Range r3)
 
 Array (Array< T_numtype, N_rank > &array, Range r0, Range r1, Range r2, Range r3, Range r4)
 
 Array (Array< T_numtype, N_rank > &array, Range r0, Range r1, Range r2, Range r3, Range r4, Range r5)
 
 Array (Array< T_numtype, N_rank > &array, Range r0, Range r1, Range r2, Range r3, Range r4, Range r5, Range r6)
 
 Array (Array< T_numtype, N_rank > &array, Range r0, Range r1, Range r2, Range r3, Range r4, Range r5, Range r6, Range r7)
 
 Array (Array< T_numtype, N_rank > &array, Range r0, Range r1, Range r2, Range r3, Range r4, Range r5, Range r6, Range r7, Range r8)
 
 Array (Array< T_numtype, N_rank > &array, Range r0, Range r1, Range r2, Range r3, Range r4, Range r5, Range r6, Range r7, Range r8, Range r9)
 
 Array (Array< T_numtype, N_rank > &array, Range r0, Range r1, Range r2, Range r3, Range r4, Range r5, Range r6, Range r7, Range r8, Range r9, Range r10)
 
 Array (Array< T_numtype, N_rank > &array, const RectDomain< N_rank > &subdomain)
 
 Array (Array< T_numtype, N_rank > &array, const StridedDomain< N_rank > &subdomain)
 
 Array (Array< T_numtype, N_rank2 > &array, R0 r0, R1 r1, R2 r2, R3 r3, R4 r4, R5 r5, R6 r6, R7 r7, R8 r8, R9 r9, R10 r10)
 
const TinyVector< int, N_rank > & base () const
 
int base (int rank) const
 
iterator begin ()
 
const_iterator begin () const
 
T_iterator beginFast () const
 
Array< P_numtype2, N_rank > chopComponent (P_numtype2 a, int compNum, int numComponents) const
 
int cols () const
 
int columns () const
 
T_array copy () const
 
diffType dataOffset () const
 
const T_numtype *restrict data () const
 
T_numtype *restrict data ()
 
const T_numtype *restrict dataZero () const
 
T_numtype *restrict dataZero ()
 
diffType dataFirstOffset () const
 
const T_numtype *restrict dataFirst () const
 
T_numtype *restrict dataFirst ()
 
int depth () const
 
int dimensions () const
 
RectDomain< N_rank > domain () const
 
void dumpStructureInformation (ostream &os=cout) const
 
iterator end ()
 
const_iterator end () const
 
int extent (int rank) const
 
const TinyVector< int, N_rank > & extent () const
 
Array< P_numtype2, N_rank > extractComponent (P_numtype2, int compNum, int numComponents) const
 
void free ()
 
bool isMajorRank (int rank) const
 
bool isMinorRank (int rank) const
 
bool isRankStoredAscending (int rank) const
 
bool isStorageContiguous () const
 
int lbound (int rank) const
 
TinyVector< int, N_rank > lbound () const
 
int length (int rank) const
 
const TinyVector< int, N_rank > & length () const
 
void makeUnique ()
 
sizeType numElements () const
 
int ordering (int storageRankIndex) const
 
const TinyVector< int, N_rank > & ordering () const
 
void transposeSelf (int r0, int r1, int r2=0, int r3=0, int r4=0, int r5=0, int r6=0, int r7=0, int r8=0, int r9=0, int r10=0)
 
T_array transpose (int r0, int r1, int r2=0, int r3=0, int r4=0, int r5=0, int r6=0, int r7=0, int r8=0, int r9=0, int r10=0) const
 
void reference (const T_array &)
 
void weakReference (const T_array &)
 
T_array reindex (const TinyVector< int, N_rank > &)
 
void reindexSelf (const TinyVector< int, N_rank > &)
 
void resize (int extent)
 
void resize (int extent1, int extent2)
 
void resize (int extent1, int extent2, int extent3)
 
void resize (int extent1, int extent2, int extent3, int extent4)
 
void resize (int extent1, int extent2, int extent3, int extent4, int extent5)
 
void resize (int extent1, int extent2, int extent3, int extent4, int extent5, int extent6)
 
void resize (int extent1, int extent2, int extent3, int extent4, int extent5, int extent6, int extent7)
 
void resize (int extent1, int extent2, int extent3, int extent4, int extent5, int extent6, int extent7, int extent8)
 
void resize (int extent1, int extent2, int extent3, int extent4, int extent5, int extent6, int extent7, int extent8, int extent9)
 
void resize (int extent1, int extent2, int extent3, int extent4, int extent5, int extent6, int extent7, int extent8, int extent9, int extent10)
 
void resize (int extent1, int extent2, int extent3, int extent4, int extent5, int extent6, int extent7, int extent8, int extent9, int extent10, int extent11)
 
void resize (Range r1)
 
void resize (Range r1, Range r2)
 
void resize (Range r1, Range r2, Range r3)
 
void resize (Range r1, Range r2, Range r3, Range r4)
 
void resize (Range r1, Range r2, Range r3, Range r4, Range r5)
 
void resize (Range r1, Range r2, Range r3, Range r4, Range r5, Range r6)
 
void resize (Range r1, Range r2, Range r3, Range r4, Range r5, Range r6, Range r7)
 
void resize (Range r1, Range r2, Range r3, Range r4, Range r5, Range r6, Range r7, Range r8)
 
void resize (Range r1, Range r2, Range r3, Range r4, Range r5, Range r6, Range r7, Range r8, Range r9)
 
void resize (Range r1, Range r2, Range r3, Range r4, Range r5, Range r6, Range r7, Range r8, Range r9, Range r10)
 
void resize (Range r1, Range r2, Range r3, Range r4, Range r5, Range r6, Range r7, Range r8, Range r9, Range r10, Range r11)
 
void resize (const TinyVector< int, N_rank > &)
 
void resizeAndPreserve (const TinyVector< int, N_rank > &)
 
void resizeAndPreserve (int extent)
 
void resizeAndPreserve (int extent1, int extent2)
 
void resizeAndPreserve (int extent1, int extent2, int extent3)
 
void resizeAndPreserve (int extent1, int extent2, int extent3, int extent4)
 
void resizeAndPreserve (int extent1, int extent2, int extent3, int extent4, int extent5)
 
void resizeAndPreserve (int extent1, int extent2, int extent3, int extent4, int extent5, int extent6)
 
void resizeAndPreserve (int extent1, int extent2, int extent3, int extent4, int extent5, int extent6, int extent7)
 
void resizeAndPreserve (int extent1, int extent2, int extent3, int extent4, int extent5, int extent6, int extent7, int extent8)
 
void resizeAndPreserve (int extent1, int extent2, int extent3, int extent4, int extent5, int extent6, int extent7, int extent8, int extent9)
 
void resizeAndPreserve (int extent1, int extent2, int extent3, int extent4, int extent5, int extent6, int extent7, int extent8, int extent9, int extent10)
 
void resizeAndPreserve (int extent1, int extent2, int extent3, int extent4, int extent5, int extent6, int extent7, int extent8, int extent9, int extent10, int extent11)
 
T_array reverse (int rank)
 
void reverseSelf (int rank)
 
int rows () const
 
void setStorage (GeneralArrayStorage< N_rank >)
 
void slice (int rank, Range r)
 
const TinyVector< int, N_rank > & shape () const
 
sizeType size () const
 
sizeType storageSize () const
 Returns the length of the array storage.
 
const TinyVector< diffType, N_rank > & stride () const
 
diffType stride (int rank) const
 
bool threadLocal (bool disableLock=true) const
 
int ubound (int rank) const
 
TinyVector< int, N_rank > ubound () const
 
int zeroOffset () const
 
bool isVectorAligned (diffType offset) const
 Returns true if the array is aligned on a simd vector width.
 
bool isInRangeForDim (int i, int d) const
 
bool isInRange (int i0) const
 
bool isInRange (int i0, int i1) const
 
bool isInRange (int i0, int i1, int i2) const
 
bool isInRange (int i0, int i1, int i2, int i3) const
 
bool isInRange (int i0, int i1, int i2, int i3, int i4) const
 
bool isInRange (int i0, int i1, int i2, int i3, int i4, int i5) const
 
bool isInRange (int i0, int i1, int i2, int i3, int i4, int i5, int i6) const
 
bool isInRange (int i0, int i1, int i2, int i3, int i4, int i5, int i6, int i7) const
 
bool isInRange (int i0, int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8) const
 
bool isInRange (int i0, int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9) const
 
bool isInRange (int i0, int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, int i10) const
 
bool isInRange (const T_index &index) const
 
bool assertInRange (const T_index &BZ_DEBUG_PARAM(index)) const
 
bool assertInRange (int BZ_DEBUG_PARAM(i0)) const
 
bool assertInRange (int BZ_DEBUG_PARAM(i0), int BZ_DEBUG_PARAM(i1)) const
 
bool assertInRange (int BZ_DEBUG_PARAM(i0), int BZ_DEBUG_PARAM(i1), int BZ_DEBUG_PARAM(i2)) const
 
bool assertInRange (int BZ_DEBUG_PARAM(i0), int BZ_DEBUG_PARAM(i1), int BZ_DEBUG_PARAM(i2), int BZ_DEBUG_PARAM(i3)) const
 
bool assertInRange (int BZ_DEBUG_PARAM(i0), int BZ_DEBUG_PARAM(i1), int BZ_DEBUG_PARAM(i2), int BZ_DEBUG_PARAM(i3), int BZ_DEBUG_PARAM(i4)) const
 
bool assertInRange (int BZ_DEBUG_PARAM(i0), int BZ_DEBUG_PARAM(i1), int BZ_DEBUG_PARAM(i2), int BZ_DEBUG_PARAM(i3), int BZ_DEBUG_PARAM(i4), int BZ_DEBUG_PARAM(i5)) const
 
bool assertInRange (int BZ_DEBUG_PARAM(i0), int BZ_DEBUG_PARAM(i1), int BZ_DEBUG_PARAM(i2), int BZ_DEBUG_PARAM(i3), int BZ_DEBUG_PARAM(i4), int BZ_DEBUG_PARAM(i5), int BZ_DEBUG_PARAM(i6)) const
 
bool assertInRange (int BZ_DEBUG_PARAM(i0), int BZ_DEBUG_PARAM(i1), int BZ_DEBUG_PARAM(i2), int BZ_DEBUG_PARAM(i3), int BZ_DEBUG_PARAM(i4), int BZ_DEBUG_PARAM(i5), int BZ_DEBUG_PARAM(i6), int BZ_DEBUG_PARAM(i7)) const
 
bool assertInRange (int BZ_DEBUG_PARAM(i0), int BZ_DEBUG_PARAM(i1), int BZ_DEBUG_PARAM(i2), int BZ_DEBUG_PARAM(i3), int BZ_DEBUG_PARAM(i4), int BZ_DEBUG_PARAM(i5), int BZ_DEBUG_PARAM(i6), int BZ_DEBUG_PARAM(i7), int BZ_DEBUG_PARAM(i8)) const
 
bool assertInRange (int BZ_DEBUG_PARAM(i0), int BZ_DEBUG_PARAM(i1), int BZ_DEBUG_PARAM(i2), int BZ_DEBUG_PARAM(i3), int BZ_DEBUG_PARAM(i4), int BZ_DEBUG_PARAM(i5), int BZ_DEBUG_PARAM(i6), int BZ_DEBUG_PARAM(i7), int BZ_DEBUG_PARAM(i8), int BZ_DEBUG_PARAM(i9)) const
 
bool assertInRange (int BZ_DEBUG_PARAM(i0), int BZ_DEBUG_PARAM(i1), int BZ_DEBUG_PARAM(i2), int BZ_DEBUG_PARAM(i3), int BZ_DEBUG_PARAM(i4), int BZ_DEBUG_PARAM(i5), int BZ_DEBUG_PARAM(i6), int BZ_DEBUG_PARAM(i7), int BZ_DEBUG_PARAM(i8), int BZ_DEBUG_PARAM(i9), int BZ_DEBUG_PARAM(i10)) const
 
const T_numtype &restrict operator() (const TinyVector< int, N_rank2 > &index) const
 
T_numtype &restrict operator() (const TinyVector< int, N_rank2 > &index)
 
const T_numtype &restrict operator() (TinyVector< int, 1 > index) const
 
T_numtypeoperator() (TinyVector< int, 1 > index)
 
const T_numtype &restrict operator() (TinyVector< int, 2 > index) const
 
T_numtypeoperator() (TinyVector< int, 2 > index)
 
const T_numtype &restrict operator() (TinyVector< int, 3 > index) const
 
T_numtypeoperator() (TinyVector< int, 3 > index)
 
const T_numtype &restrict operator() (const TinyVector< int, 4 > &index) const
 
T_numtypeoperator() (const TinyVector< int, 4 > &index)
 
const T_numtype &restrict operator() (const TinyVector< int, 5 > &index) const
 
T_numtypeoperator() (const TinyVector< int, 5 > &index)
 
const T_numtype &restrict operator() (const TinyVector< int, 6 > &index) const
 
T_numtypeoperator() (const TinyVector< int, 6 > &index)
 
const T_numtype &restrict operator() (const TinyVector< int, 7 > &index) const
 
T_numtypeoperator() (const TinyVector< int, 7 > &index)
 
const T_numtype &restrict operator() (const TinyVector< int, 8 > &index) const
 
T_numtypeoperator() (const TinyVector< int, 8 > &index)
 
const T_numtype &restrict operator() (const TinyVector< int, 9 > &index) const
 
T_numtypeoperator() (const TinyVector< int, 9 > &index)
 
const T_numtype &restrict operator() (const TinyVector< int, 10 > &index) const
 
T_numtypeoperator() (const TinyVector< int, 10 > &index)
 
const T_numtype &restrict operator() (const TinyVector< int, 11 > &index) const
 
T_numtypeoperator() (const TinyVector< int, 11 > &index)
 
const T_numtype &restrict operator() (int i0) const
 
T_numtype &restrict operator() (int i0)
 
const T_numtype &restrict operator() (int i0, int i1) const
 
T_numtype &restrict operator() (int i0, int i1)
 
const T_numtype &restrict operator() (int i0, int i1, int i2) const
 
T_numtype &restrict operator() (int i0, int i1, int i2)
 
const T_numtype &restrict operator() (int i0, int i1, int i2, int i3) const
 
T_numtype &restrict operator() (int i0, int i1, int i2, int i3)
 
const T_numtype &restrict operator() (int i0, int i1, int i2, int i3, int i4) const
 
T_numtype &restrict operator() (int i0, int i1, int i2, int i3, int i4)
 
const T_numtype &restrict operator() (int i0, int i1, int i2, int i3, int i4, int i5) const
 
T_numtype &restrict operator() (int i0, int i1, int i2, int i3, int i4, int i5)
 
const T_numtype &restrict operator() (int i0, int i1, int i2, int i3, int i4, int i5, int i6) const
 
T_numtype &restrict operator() (int i0, int i1, int i2, int i3, int i4, int i5, int i6)
 
const T_numtype &restrict operator() (int i0, int i1, int i2, int i3, int i4, int i5, int i6, int i7) const
 
T_numtype &restrict operator() (int i0, int i1, int i2, int i3, int i4, int i5, int i6, int i7)
 
const T_numtype &restrict operator() (int i0, int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8) const
 
T_numtype &restrict operator() (int i0, int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8)
 
const T_numtype &restrict operator() (int i0, int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9) const
 
T_numtype &restrict operator() (int i0, int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9)
 
const T_numtype &restrict operator() (int i0, int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, int i10) const
 
T_numtype &restrict operator() (int i0, int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, int i10)
 
T_array operator() (const RectDomain< N_rank > &subdomain) const
 
T_array operator() (const StridedDomain< N_rank > &subdomain) const
 
T_array operator() (Range r0) const
 
T_array operator() (Range r0, Range r1) const
 
T_array operator() (Range r0, Range r1, Range r2) const
 
T_array operator() (Range r0, Range r1, Range r2, Range r3) const
 
T_array operator() (Range r0, Range r1, Range r2, Range r3, Range r4) const
 
T_array operator() (Range r0, Range r1, Range r2, Range r3, Range r4, Range r5) const
 
T_array operator() (Range r0, Range r1, Range r2, Range r3, Range r4, Range r5, Range r6) const
 
T_array operator() (Range r0, Range r1, Range r2, Range r3, Range r4, Range r5, Range r6, Range r7) const
 
T_array operator() (Range r0, Range r1, Range r2, Range r3, Range r4, Range r5, Range r6, Range r7, Range r8) const
 
T_array operator() (Range r0, Range r1, Range r2, Range r3, Range r4, Range r5, Range r6, Range r7, Range r8, Range r9) const
 
T_array operator() (Range r0, Range r1, Range r2, Range r3, Range r4, Range r5, Range r6, Range r7, Range r8, Range r9, Range r10) const
 
_bz_ArrayExpr< ArrayIndexMapping< typename asExpr< T_array >::T_expr, N0 > > operator() (IndexPlaceholder< N0 >) const
 
_bz_ArrayExpr< ArrayIndexMapping< typename asExpr< T_array >::T_expr, N0, N1 > > operator() (IndexPlaceholder< N0 >, IndexPlaceholder< N1 >) const
 
_bz_ArrayExpr< ArrayIndexMapping< typename asExpr< T_array >::T_expr, N0, N1, N2 > > operator() (IndexPlaceholder< N0 >, IndexPlaceholder< N1 >, IndexPlaceholder< N2 >) const
 
_bz_ArrayExpr< ArrayIndexMapping< typename asExpr< T_array >::T_expr, N0, N1, N2, N3 > > operator() (IndexPlaceholder< N0 >, IndexPlaceholder< N1 >, IndexPlaceholder< N2 >, IndexPlaceholder< N3 >) const
 
_bz_ArrayExpr< ArrayIndexMapping< typename asExpr< T_array >::T_expr, N0, N1, N2, N3, N4 > > operator() (IndexPlaceholder< N0 >, IndexPlaceholder< N1 >, IndexPlaceholder< N2 >, IndexPlaceholder< N3 >, IndexPlaceholder< N4 >) const
 
_bz_ArrayExpr< ArrayIndexMapping< typename asExpr< T_array >::T_expr, N0, N1, N2, N3, N4, N5 > > operator() (IndexPlaceholder< N0 >, IndexPlaceholder< N1 >, IndexPlaceholder< N2 >, IndexPlaceholder< N3 >, IndexPlaceholder< N4 >, IndexPlaceholder< N5 >) const
 
_bz_ArrayExpr< ArrayIndexMapping< typename asExpr< T_array >::T_expr, N0, N1, N2, N3, N4, N5, N6 > > operator() (IndexPlaceholder< N0 >, IndexPlaceholder< N1 >, IndexPlaceholder< N2 >, IndexPlaceholder< N3 >, IndexPlaceholder< N4 >, IndexPlaceholder< N5 >, IndexPlaceholder< N6 >) const
 
_bz_ArrayExpr< ArrayIndexMapping< typename asExpr< T_array >::T_expr, N0, N1, N2, N3, N4, N5, N6, N7 > > operator() (IndexPlaceholder< N0 >, IndexPlaceholder< N1 >, IndexPlaceholder< N2 >, IndexPlaceholder< N3 >, IndexPlaceholder< N4 >, IndexPlaceholder< N5 >, IndexPlaceholder< N6 >, IndexPlaceholder< N7 >) const
 
_bz_ArrayExpr< ArrayIndexMapping< typename asExpr< T_array >::T_expr, N0, N1, N2, N3, N4, N5, N6, N7, N8 > > operator() (IndexPlaceholder< N0 >, IndexPlaceholder< N1 >, IndexPlaceholder< N2 >, IndexPlaceholder< N3 >, IndexPlaceholder< N4 >, IndexPlaceholder< N5 >, IndexPlaceholder< N6 >, IndexPlaceholder< N7 >, IndexPlaceholder< N8 >) const
 
_bz_ArrayExpr< ArrayIndexMapping< typename asExpr< T_array >::T_expr, N0, N1, N2, N3, N4, N5, N6, N7, N8, N9 > > operator() (IndexPlaceholder< N0 >, IndexPlaceholder< N1 >, IndexPlaceholder< N2 >, IndexPlaceholder< N3 >, IndexPlaceholder< N4 >, IndexPlaceholder< N5 >, IndexPlaceholder< N6 >, IndexPlaceholder< N7 >, IndexPlaceholder< N8 >, IndexPlaceholder< N9 >) const
 
_bz_ArrayExpr< ArrayIndexMapping< typename asExpr< T_array >::T_expr, N0, N1, N2, N3, N4, N5, N6, N7, N8, N9, N10 > > operator() (IndexPlaceholder< N0 >, IndexPlaceholder< N1 >, IndexPlaceholder< N2 >, IndexPlaceholder< N3 >, IndexPlaceholder< N4 >, IndexPlaceholder< N5 >, IndexPlaceholder< N6 >, IndexPlaceholder< N7 >, IndexPlaceholder< N8 >, IndexPlaceholder< N9 >, IndexPlaceholder< N10 >) const
 
T_arraynoConst () const
 
Array< typename multicomponent_traits< T_numtype >::T_element, N_rank > operator[] (const unsigned component)
 
const Array< typename multicomponent_traits< T_numtype >::T_element, N_rank > operator[] (const unsigned component) const
 
Array< typename multicomponent_traits< T_numtype >::T_element, N_rank > operator[] (const int component)
 
const Array< typename multicomponent_traits< T_numtype >::T_element, N_rank > operator[] (const int component) const
 
IndirectArray< T_array, T_indexContainer > operator[] (const T_indexContainer &index)
 
T_numtype *restrict getInitializationIterator ()
 
bool canCollapse (int outerRank, int innerRank) const
 
ListInitializationSwitch< T_arrayoperator= (T_numtype x)
 Scalar operand assignment.
 
T_arrayoperator= (const Array< T_numtype, N_rank > &)
 Scalar operand assignment.
 
T_arrayoperator= (const Array< P_numtype2, N_rank > &)
 Scalar operand assignment.
 
T_arrayoperator= (BZ_ETPARM(_bz_ArrayExpr< T_expr >) expr)
 Scalar operand assignment.
 
T_arrayinitialize (T_numtype)
 Scalar operand assignment.
 
T_arrayoperator+= (T_numtype)
 Scalar operand assignment.
 
T_arrayoperator+= (const Array< P_numtype2, N_rank > &)
 Scalar operand assignment.
 
T_arrayoperator+= (BZ_ETPARM(_bz_ArrayExpr< T_expr >) expr)
 Scalar operand assignment.
 
T_arrayoperator-= (T_numtype)
 Scalar operand assignment.
 
T_arrayoperator-= (const Array< P_numtype2, N_rank > &)
 Scalar operand assignment.
 
T_arrayoperator-= (BZ_ETPARM(_bz_ArrayExpr< T_expr >) expr)
 Scalar operand assignment.
 
T_arrayoperator*= (T_numtype)
 Scalar operand assignment.
 
T_arrayoperator*= (const Array< P_numtype2, N_rank > &)
 Scalar operand assignment.
 
T_arrayoperator*= (BZ_ETPARM(_bz_ArrayExpr< T_expr >) expr)
 Scalar operand assignment.
 
T_arrayoperator/= (T_numtype)
 Scalar operand assignment.
 
T_arrayoperator/= (const Array< P_numtype2, N_rank > &)
 Scalar operand assignment.
 
T_arrayoperator/= (BZ_ETPARM(_bz_ArrayExpr< T_expr >) expr)
 Scalar operand assignment.
 
T_arrayoperator%= (T_numtype)
 Scalar operand assignment.
 
T_arrayoperator%= (const Array< P_numtype2, N_rank > &)
 Scalar operand assignment.
 
T_arrayoperator%= (BZ_ETPARM(_bz_ArrayExpr< T_expr >) expr)
 Scalar operand assignment.
 
T_arrayoperator^= (T_numtype)
 Scalar operand assignment.
 
T_arrayoperator^= (const Array< P_numtype2, N_rank > &)
 Scalar operand assignment.
 
T_arrayoperator^= (BZ_ETPARM(_bz_ArrayExpr< T_expr >) expr)
 Scalar operand assignment.
 
T_arrayoperator&= (T_numtype)
 Scalar operand assignment.
 
T_arrayoperator&= (const Array< P_numtype2, N_rank > &)
 Scalar operand assignment.
 
T_arrayoperator&= (BZ_ETPARM(_bz_ArrayExpr< T_expr >) expr)
 Scalar operand assignment.
 
T_arrayoperator|= (T_numtype)
 Scalar operand assignment.
 
T_arrayoperator|= (const Array< P_numtype2, N_rank > &)
 Scalar operand assignment.
 
T_arrayoperator|= (BZ_ETPARM(_bz_ArrayExpr< T_expr >) expr)
 Scalar operand assignment.
 
T_arrayoperator>>= (T_numtype)
 Scalar operand assignment.
 
T_arrayoperator>>= (const Array< P_numtype2, N_rank > &)
 Scalar operand assignment.
 
T_arrayoperator>>= (BZ_ETPARM(_bz_ArrayExpr< T_expr >) expr)
 Scalar operand assignment.
 
T_arrayoperator<<= (T_numtype)
 Scalar operand assignment.
 
T_arrayoperator<<= (const Array< P_numtype2, N_rank > &)
 Scalar operand assignment.
 
T_arrayoperator<<= (BZ_ETPARM(_bz_ArrayExpr< T_expr >) expr)
 Scalar operand assignment.
 
- Public Member Functions inherited from blitz::MemoryBlockReference< P_numtype >
 MemoryBlockReference ()
 
 MemoryBlockReference (MemoryBlockReference< T_type > &ref, sizeType offset=0)
 
 MemoryBlockReference (sizeType length, T_type *data, preexistingMemoryPolicy deletionPolicy)
 
 MemoryBlockReference (sizeType items)
 
 ~MemoryBlockReference ()
 
bool isVectorAligned (size_t offset) const
 Returns true if the offset from data_ is vector aligned.
 
sizeType blockLength () const
 Returns the allocated length of the memory block.
 

Additional Inherited Members

- Static Public Member Functions inherited from blitz::Array< P_numtype, 1 >
static int rank ()
 
- Static Public Attributes inherited from blitz::Array< P_numtype, 1 >
static const int rank_
 
- Protected Member Functions inherited from blitz::Array< P_numtype, 1 >
void slice (int &setRank, Range r, Array< T_numtype, N_rank2 > &array, TinyVector< int, N_rank2 > &rankMap, int sourceRank)
 
void slice (int &setRank, int i, Array< T_numtype, N_rank2 > &array, TinyVector< int, N_rank2 > &rankMap, int sourceRank)
 
void slice (int &, nilArraySection, Array< T_numtype, N_rank2 > &, TinyVector< int, N_rank2 > &, int)
 
_bz_inline2 void computeStrides ()
 
_bz_inline2 void setupStorage (int rank)
 
void constructSubarray (Array< T_numtype, N_rank > &array, const RectDomain< N_rank > &)
 
void constructSubarray (Array< T_numtype, N_rank > &array, const StridedDomain< N_rank > &)
 
void constructSubarray (Array< T_numtype, N_rank > &array, Range r0)
 
void constructSubarray (Array< T_numtype, N_rank > &array, Range r0, Range r1)
 
void constructSubarray (Array< T_numtype, N_rank > &array, Range r0, Range r1, Range r2)
 
void constructSubarray (Array< T_numtype, N_rank > &array, Range r0, Range r1, Range r2, Range r3)
 
void constructSubarray (Array< T_numtype, N_rank > &array, Range r0, Range r1, Range r2, Range r3, Range r4)
 
void constructSubarray (Array< T_numtype, N_rank > &array, Range r0, Range r1, Range r2, Range r3, Range r4, Range r5)
 
void constructSubarray (Array< T_numtype, N_rank > &array, Range r0, Range r1, Range r2, Range r3, Range r4, Range r5, Range r6)
 
void constructSubarray (Array< T_numtype, N_rank > &array, Range r0, Range r1, Range r2, Range r3, Range r4, Range r5, Range r6, Range r7)
 
void constructSubarray (Array< T_numtype, N_rank > &array, Range r0, Range r1, Range r2, Range r3, Range r4, Range r5, Range r6, Range r7, Range r8)
 
void constructSubarray (Array< T_numtype, N_rank > &array, Range r0, Range r1, Range r2, Range r3, Range r4, Range r5, Range r6, Range r7, Range r8, Range r9)
 
void constructSubarray (Array< T_numtype, N_rank > &array, Range r0, Range r1, Range r2, Range r3, Range r4, Range r5, Range r6, Range r7, Range r8, Range r9, Range r10)
 
void calculateZeroOffset ()
 
void constructSlice (Array< T_numtype, N_rank2 > &array, R0 r0, R1 r1, R2 r2, R3 r3, R4 r4, R5 r5, R6 r6, R7 r7, R8 r8, R9 r9, R10 r10)
 
void doTranspose (int destRank, int sourceRank, T_array &array)
 
- Protected Member Functions inherited from blitz::MemoryBlockReference< P_numtype >
int numReferences () const
 
bool lockReferenceCount (bool lockingPolicy) const
 
void changeToNullBlock ()
 
void changeBlock (MemoryBlockReference< T_type > &ref, sizeType offset=0)
 
void newBlock (sizeType items)
 
- Protected Attributes inherited from blitz::Array< P_numtype, 1 >
GeneralArrayStorage< N_rank > storage_
 
TinyVector< int, N_rank > length_
 
TinyVector< diffType, N_rank > stride_
 
diffType zeroOffset_
 
- Protected Attributes inherited from blitz::MemoryBlockReference< P_numtype >
T_type *restrict data_
 

Member Typedef Documentation

◆ const_iterator

template<typename P_numtype >
typedef T_base::const_iterator blitz::Vector< P_numtype >::const_iterator

◆ iterator

template<typename P_numtype >
typedef T_base::iterator blitz::Vector< P_numtype >::iterator

◆ T_array

template<typename P_numtype >
typedef T_base::T_array blitz::Vector< P_numtype >::T_array

◆ T_base

template<typename P_numtype >
typedef Array<P_numtype,1> blitz::Vector< P_numtype >::T_base

◆ T_index

template<typename P_numtype >
typedef T_base::T_index blitz::Vector< P_numtype >::T_index

◆ T_iterator

template<typename P_numtype >
typedef T_base::T_iterator blitz::Vector< P_numtype >::T_iterator

◆ T_numtype

template<typename P_numtype >
typedef T_base::T_numtype blitz::Vector< P_numtype >::T_numtype

Constructor & Destructor Documentation

◆ Vector() [1/7]

template<typename P_numtype >
template<typename T_expr >
blitz::Vector< P_numtype >::Vector ( _bz_ArrayExpr< T_expr >  expr)
inlineexplicit

◆ Vector() [2/7]

template<typename P_numtype >
blitz::Vector< P_numtype >::Vector ( int  length0,
GeneralArrayStorage< rank_ storage = GeneralArrayStorage<rank_>() 
)
inlineexplicit

◆ Vector() [3/7]

template<typename P_numtype >
blitz::Vector< P_numtype >::Vector ( GeneralArrayStorage< rank_ storage = GeneralArrayStorage<rank_>())
inline

◆ Vector() [4/7]

template<typename P_numtype >
blitz::Vector< P_numtype >::Vector ( T_numtype *restrict  dataFirst,
TinyVector< int, rank_ shape,
GeneralArrayStorage< rank_ storage = GeneralArrayStorage<rank_>() 
)
inline

◆ Vector() [5/7]

template<typename P_numtype >
blitz::Vector< P_numtype >::Vector ( Range  r0,
GeneralArrayStorage< rank_ storage = GeneralArrayStorage<rank_>() 
)
inline

◆ Vector() [6/7]

template<typename P_numtype >
blitz::Vector< P_numtype >::Vector ( const Array< T_numtype, rank_ > &  array)
inline

◆ Vector() [7/7]

template<typename P_numtype >
template<int N_rank2, typename R0 , typename R1 , typename R2 , typename R3 , typename R4 , typename R5 , typename R6 , typename R7 , typename R8 , typename R9 , typename R10 >
blitz::Vector< P_numtype >::Vector ( Array< T_numtype, N_rank2 > &  array,
R0  r0,
R1  r1,
R2  r2,
R3  r3,
R4  r4,
R5  r5,
R6  r6,
R7  r7,
R8  r8,
R9  r9,
R10  r10 
)
inline

The documentation for this class was generated from the following file: