Classes | |
class | Array< N, Fix< T0 > > |
Multidimensional, efficient array class for large data sets. More... | |
class | Array |
Multidimensional, efficient array class for large data sets. More... | |
class | Ix |
Represents a small, fast vector. More... | |
class | Permutation |
Represents a permutation of dimensions. More... | |
Typedefs | |
typedef int | IXTYPE |
typedef short | DIMT |
Functions | |
Array assignment operations | |
template<int N, class DType, class ST> | |
const Array< N, DType > & | operator<<= (const Array< N, DType > &dst, const ST &src) |
template<int N, class DType, class SType> | |
const Array< N, DType > & | operator<<= (const Array< N, DType > &dst, const Array< N, SType > &src) |
template<int N, class DType, class ST> | |
const Array< N, DType > & | operator+= (const Array< N, DType > &dst, const ST &src) |
template<int N, class DType, class SType> | |
const Array< N, DType > & | operator+= (const Array< N, DType > &dst, const Array< N, SType > &src) |
template<int N, class DType, class ST> | |
const Array< N, DType > & | operator-= (const Array< N, DType > &dst, const ST &src) |
template<int N, class DType, class SType> | |
const Array< N, DType > & | operator-= (const Array< N, DType > &dst, const Array< N, SType > &src) |
template<int N, class DType, class ST> | |
const Array< N, DType > & | operator*= (const Array< N, DType > &dst, const ST &src) |
template<int N, class DType, class SType> | |
const Array< N, DType > & | operator*= (const Array< N, DType > &dst, const Array< N, SType > &src) |
template<int N, class DType, class ST> | |
const Array< N, DType > & | operator/= (const Array< N, DType > &dst, const ST &src) |
template<int N, class DType, class SType> | |
const Array< N, DType > & | operator/= (const Array< N, DType > &dst, const Array< N, SType > &src) |
Ix functions | |
template<int N, class T> | |
Ix< N, T > | operator- (const Ix< N, T > &ix) |
template<int N, class T> | |
Ix< N, T > | operator+ (const Ix< N, T > &ix, T i) |
template<int N, class T> | |
Ix< N, T > | operator+ (const Ix< N, T > &ix, const Ix< N, T > &ixx) |
template<int N, class T> | |
Ix< N, T > | operator+ (T i, const Ix< N, T > &ix) |
template<int N, class T> | |
Ix< N, T > | operator- (const Ix< N, T > &ix, T i) |
template<int N, class T> | |
Ix< N, T > | operator- (const Ix< N, T > &ix, const Ix< N, T > &ixx) |
template<int N, class T> | |
Ix< N, T > | operator- (T i, const Ix< N, T > &ix) |
template<int N, class T> | |
Ix< N, T > | operator* (const Ix< N, T > &ix, T i) |
template<int N, class T> | |
Ix< N, T > | operator* (T i, const Ix< N, T > &ix) |
template<int N, class T> | |
Ix< N, T > | operator/ (const Ix< N, T > &ix, T i) |
template<int N, class T> | |
Ix< N, T > | operator/ (T i, const Ix< N, T > &ix) |
MPI support | |
template<int N, class Type> | |
MPI::Datatype | CreateMPIPPArray (const Array< N, Type > &array) |
template<int N, class Type> | |
MPI_Datatype | CreateMPIArray (const Array< N, Type > &array) |
Arithmetic Array operations | |
template<int N, class TypeL, class TypeR> | |
Array< N, Bop< cAdd, TypeL, TypeR > > | operator+ (const Array< N, TypeL > &l, const Array< N, TypeR > &r) |
template<int N, class TypeL, class TR> | |
Array< N, Bop< cAdd, TypeL, Scalar< TR > > > | operator+ (const Array< N, TypeL > &l, const TR &r) |
template<int N, class TL, class TypeR> | |
Array< N, Bop< cAdd, Scalar < TL >, TypeR > > | operator+ (const TL &l, const Array< N, TypeR > &r) |
template<int N, class TypeL, class TypeR> | |
Array< N, Bop< cSub, TypeL, TypeR > > | operator- (const Array< N, TypeL > &l, const Array< N, TypeR > &r) |
template<int N, class TypeL, class TR> | |
Array< N, Bop< cSub, TypeL, Scalar< TR > > > | operator- (const Array< N, TypeL > &l, const TR &r) |
template<int N, class TL, class TypeR> | |
Array< N, Bop< cSub, Scalar < TL >, TypeR > > | operator- (const TL &l, const Array< N, TypeR > &r) |
template<int N, class TypeL, class TypeR> | |
Array< N, Bop< cMul, TypeL, TypeR > > | operator* (const Array< N, TypeL > &l, const Array< N, TypeR > &r) |
template<int N, class TypeL, class TR> | |
Array< N, Bop< cMul, TypeL, Scalar< TR > > > | operator* (const Array< N, TypeL > &l, const TR &r) |
template<int N, class TL, class TypeR> | |
Array< N, Bop< cMul, Scalar < TL >, TypeR > > | operator* (const TL &l, const Array< N, TypeR > &r) |
template<int N, class TypeL, class TypeR> | |
Array< N, Bop< cDiv, TypeL, TypeR > > | operator/ (const Array< N, TypeL > &l, const Array< N, TypeR > &r) |
template<int N, class TypeL, class TR> | |
Array< N, Bop< cDiv, TypeL, Scalar< TR > > > | operator/ (const Array< N, TypeL > &l, const TR &r) |
template<int N, class TL, class TypeR> | |
Array< N, Bop< cDiv, Scalar < TL >, TypeR > > | operator/ (const TL &l, const Array< N, TypeR > &r) |
template<int N, class TypeL, class TypeR> | |
Array< N, Bop< cMax, TypeL, TypeR > > | Max (const Array< N, TypeL > &l, const Array< N, TypeR > &r) |
template<int N, class TypeL, class TR> | |
Array< N, Bop< cMax, TypeL, Scalar< TR > > > | Max (const Array< N, TypeL > &l, const TR &r) |
template<int N, class TL, class TypeR> | |
Array< N, Bop< cMax, Scalar < TL >, TypeR > > | Max (const TL &l, const Array< N, TypeR > &r) |
template<int N, class TypeL, class TypeR> | |
Array< N, Bop< cMin, TypeL, TypeR > > | Min (const Array< N, TypeL > &l, const Array< N, TypeR > &r) |
template<int N, class TypeL, class TR> | |
Array< N, Bop< cMin, TypeL, Scalar< TR > > > | Min (const Array< N, TypeL > &l, const TR &r) |
template<int N, class TL, class TypeR> | |
Array< N, Bop< cMin, Scalar < TL >, TypeR > > | Min (const TL &l, const Array< N, TypeR > &r) |
template<int N, class TypeS> | |
Array< N, Uop< cNeg, TypeS > > | operator- (const Array< N, TypeS > &s) |
template<int N, class TypeS> | |
Array< N, Uop< cSqrt, TypeS > > | Sqrt (const Array< N, TypeS > &s) |
template<int N, class TypeS> | |
Array< N, Uop< cSqr, TypeS > > | Sqr (const Array< N, TypeS > &s) |
template<int N, class TypeS> | |
Array< N, Uop< cAbs, TypeS > > | Abs (const Array< N, TypeS > &s) |
template<int N, class TypeS> | |
Array< N-1, Rop< cSum, TypeS > > | Sum (const Array< N, TypeS > &s) |
template<class TypeS> | |
RPromote< cSum, typename Array < 1, TypeS >::T >::T | Sum (const Array< 1, TypeS > &src0) |
template<int N, class TypeS> | |
Array< N, TypeS >::T | Sumall (const Array< N, TypeS > &src) |
template<class TypeS> | |
Array< 1, TypeS >::T | Sumall (const Array< 1, TypeS > &src) |
template<int N, class TypeS> | |
Array< N-1, Rop< cMax, TypeS > > | Max (const Array< N, TypeS > &s) |
template<class TypeS> | |
RPromote< cMax, typename Array < 1, TypeS >::T >::T | Max (const Array< 1, TypeS > &src0) |
template<int N, class TypeS> | |
Array< N, TypeS >::T | Maxall (const Array< N, TypeS > &src) |
template<class TypeS> | |
Array< 1, TypeS >::T | Maxall (const Array< 1, TypeS > &src) |
template<int N, class TypeS> | |
Array< N-1, Rop< cMin, TypeS > > | Min (const Array< N, TypeS > &s) |
template<class TypeS> | |
RPromote< cMin, typename Array < 1, TypeS >::T >::T | Min (const Array< 1, TypeS > &src0) |
template<int N, class TypeS> | |
Array< N, TypeS >::T | Minall (const Array< N, TypeS > &src) |
template<class TypeS> | |
Array< 1, TypeS >::T | Minall (const Array< 1, TypeS > &src) |
Logical Array operations | |
template<int N, class Type> | |
Array< N, Type > | Shift (const Array< N, Type > &src, DIMT n, IXTYPE i) |
template<int N, class Type> | |
Array< N, Type > | Shift (const Array< N, Type > &src, const Ix< N > &ix) |
template<int N, class Type> | |
Array< N, Type > | Reverse (const Array< N, Type > &src, DIMT n) |
template<int N, class Type> | |
Array< N, Type > | Reverse (const Array< N, Type > &src, const Ix< N, bool > rx) |
template<int N, class Type> | |
Array< N, Type > | Flip (const Array< N, Type > &src, DIMT n) |
template<int N, class Type> | |
Array< N, Type > | Flip (const Array< N, Type > &src, const Ix< N, bool > &rx) |
template<int N, class Type> | |
Array< N, Type > | Restride (const Array< N, Type > &src, DIMT n, IXTYPE s) |
template<int N, class Type> | |
Array< N, Type > | Restride (const Array< N, Type > &src, const Ix< N > &sx) |
template<int N, class Type> | |
Array< N, Type > | RestrictL (const Array< N, Type > &src, DIMT n, IXTYPE l0) |
template<int N, class Type> | |
Array< N, Type > | RestrictU (const Array< N, Type > &src, DIMT n, IXTYPE u0) |
template<int N, class Type> | |
Array< N, Type > | Restrict (const Array< N, Type > &src, DIMT n, IXTYPE l0, IXTYPE u0) |
template<int N, class Type> | |
Array< N, Type > | RestrictL (const Array< N, Type > &src, const Ix< N > &l0) |
template<int N, class Type> | |
Array< N, Type > | RestrictU (const Array< N, Type > &src, const Ix< N > &u0) |
template<int N, class Type> | |
Array< N, Type > | Restrict (const Array< N, Type > &src, const Ix< N > &l0, const Ix< N > &u0) |
template<int N, class Type> | |
Array< N, Type > | Permute (const Array< N, Type > &src, DIMT n1, DIMT n2) |
template<int N, class Type> | |
Array< N, Type > | Permute (const Array< N, Type > &src, const Permutation< N > &p) |
template<int N, class Type> | |
Array< N-1, Type > | Rmdim (const Array< N, Type > &src, DIMT n, IXTYPE i) |
template<int N, class Type> | |
Array< N+1, Type > | Extend (const Array< N, Type > &src, IXTYPE l0, IXTYPE u0) |
template<int N, class Type> | |
Array< N, Fix< typename Array < N, Type >::T > > | Clone (const Array< N, Type > &src) |
template<int N, class TypeL, class TypeR> | |
bool | Matches (const Array< N, TypeL > &l, const Array< N, TypeR > &r) |
Stream functions | |
template<int N, class Type> | |
std::ostream & | WriteUfmt (std::ostream &stream, const Array< N, Type > &src) |
template<int N, class Type> | |
std::ostream & | WriteFmt (std::ostream &stream, const Array< N, Type > &src) |
template<int N, class Type> | |
std::istream & | ReadUfmt (std::istream &stream, const Array< N, Type > &dst) |
template<int N, class Type> | |
std::istream & | ReadFmt (std::istream &stream, const Array< N, Type > &dst) |
template<int N, class T> | |
std::istream & | ReadFmt (std::istream &stream, Ix< N, T > &dst) |
template<int N, class T> | |
std::istream & | ReadUfmt (std::istream &stream, Ix< N, T > &dst) |
template<int N, class T> | |
std::ostream & | WriteFmt (std::ostream &stream, const Ix< N, T > &src) |
template<int N, class T> | |
std::ostream & | WriteUfmt (std::ostream &stream, const Ix< N, T > &src) |
template<int N, class Type> | |
std::ostream & | operator<< (std::ostream &stream, const Array< N, Type > &src) |
template<int N, class Type> | |
std::istream & | operator>> (std::istream &stream, const Array< N, Type > &dst) |
template<int N, class Type> | |
bool | Clone (std::istream &stream, Array< N, Type > &dst) |
typedef short esso::DIMT |
Type used to indicate Array dimension
typedef int esso::IXTYPE |
Type used to index Array objects
Array<N,Uop<cAbs,TypeS> > esso::Abs | ( | const Array< N, TypeS > & | s | ) | [inline] |
Absolute value
bool esso::Clone | ( | std::istream & | stream, | |
Array< N, Type > & | dst | |||
) | [inline] |
Realloc Array from contents of formatted stream and read all elements from the stream.
operator ><(std::istream &, const Array<N,Type> &)
References ReadFmt(), and esso::Array< N, T0 >::Realloc().
Array<N,Fix<typename Array<N,Type>::T> > esso::Clone | ( | const Array< N, Type > & | src | ) | [inline] |
References esso::Array< N, T0 >::Clone().
Referenced by esso::Array< N, Fix< T0 > >::Clone().
MPI_Datatype esso::CreateMPIArray | ( | const Array< N, Type > & | array | ) | [inline] |
Creates an MPI datatype corresponding to the given array The returned object should be freed when no longer needed
References esso::Array< N, T0 >::IsNull(), esso::Array< N, T0 >::Len(), and esso::Array< N, T0 >::Stride().
MPI::Datatype esso::CreateMPIPPArray | ( | const Array< N, Type > & | array | ) | [inline] |
Creates an MPI++ datatype corresponding to the given array The returned object should be freed when no longer needed
References esso::Array< N, T0 >::IsNull(), esso::Array< N, T0 >::Len(), and esso::Array< N, T0 >::Stride().
Array<N+1,Type> esso::Extend | ( | const Array< N, Type > & | src, | |
IXTYPE | l0, | |||
IXTYPE | u0 | |||
) | [inline] |
Array<N,Type> esso::Flip | ( | const Array< N, Type > & | src, | |
const Ix< N, bool > & | rx | |||
) | [inline] |
Array<N,Type> esso::Flip | ( | const Array< N, Type > & | src, | |
DIMT | n | |||
) | [inline] |
bool esso::Matches | ( | const Array< N, TypeL > & | l, | |
const Array< N, TypeR > & | r | |||
) | [inline] |
References esso::Array< N, T0 >::L(), and esso::Array< N, T0 >::U().
RPromote<cMax,typename Array<1,TypeS>::T>::T esso::Max | ( | const Array< 1, TypeS > & | src0 | ) | [inline] |
Array<N-1,Rop<cMax,TypeS> > esso::Max | ( | const Array< N, TypeS > & | s | ) | [inline] |
Array<N,Bop<cMax,Scalar<TL>,TypeR > > esso::Max | ( | const TL & | l, | |
const Array< N, TypeR > & | r | |||
) | [inline] |
Array<N,Bop<cMax,TypeL,Scalar<TR> > > esso::Max | ( | const Array< N, TypeL > & | l, | |
const TR & | r | |||
) | [inline] |
Array<N,Bop<cMax,TypeL,TypeR> > esso::Max | ( | const Array< N, TypeL > & | l, | |
const Array< N, TypeR > & | r | |||
) | [inline] |
Array<N,TypeS>::T esso::Maxall | ( | const Array< N, TypeS > & | src | ) | [inline] |
RPromote<cMin,typename Array<1,TypeS>::T>::T esso::Min | ( | const Array< 1, TypeS > & | src0 | ) | [inline] |
Array<N-1,Rop<cMin,TypeS> > esso::Min | ( | const Array< N, TypeS > & | s | ) | [inline] |
Array<N,Bop<cMin,Scalar<TL>,TypeR > > esso::Min | ( | const TL & | l, | |
const Array< N, TypeR > & | r | |||
) | [inline] |
Array<N,Bop<cMin,TypeL,Scalar<TR> > > esso::Min | ( | const Array< N, TypeL > & | l, | |
const TR & | r | |||
) | [inline] |
Array<N,Bop<cMin,TypeL,TypeR> > esso::Min | ( | const Array< N, TypeL > & | l, | |
const Array< N, TypeR > & | r | |||
) | [inline] |
Array<N,TypeS>::T esso::Minall | ( | const Array< N, TypeS > & | src | ) | [inline] |
Array<N,Bop<cMul,Scalar<TL>,TypeR > > esso::operator* | ( | const TL & | l, | |
const Array< N, TypeR > & | r | |||
) | [inline] |
Array<N,Bop<cMul,TypeL,Scalar<TR> > > esso::operator* | ( | const Array< N, TypeL > & | l, | |
const TR & | r | |||
) | [inline] |
Array<N,Bop<cMul,TypeL,TypeR> > esso::operator* | ( | const Array< N, TypeL > & | l, | |
const Array< N, TypeR > & | r | |||
) | [inline] |
Ix<N,T> esso::operator* | ( | T | i, | |
const Ix< N, T > & | ix | |||
) | [inline] |
Product scalar * object
Ix<N,T> esso::operator* | ( | const Ix< N, T > & | ix, | |
T | i | |||
) | [inline] |
Product object * scalar
const Array<N,DType>& esso::operator*= | ( | const Array< N, DType > & | dst, | |
const Array< N, SType > & | src | |||
) | [inline] |
Scalar multiplication assignment. Multiply scalar src to elements of dst
const Array<N,DType>& esso::operator*= | ( | const Array< N, DType > & | dst, | |
const ST & | src | |||
) | [inline] |
Multiplication assignment. Multipllies elements of src to elements of dst Operates on the intersection of index range for src and dst
Array<N,Bop<cAdd,Scalar<TL>,TypeR > > esso::operator+ | ( | const TL & | l, | |
const Array< N, TypeR > & | r | |||
) | [inline] |
Array<N,Bop<cAdd,TypeL,Scalar<TR> > > esso::operator+ | ( | const Array< N, TypeL > & | l, | |
const TR & | r | |||
) | [inline] |
Array<N,Bop<cAdd,TypeL,TypeR> > esso::operator+ | ( | const Array< N, TypeL > & | l, | |
const Array< N, TypeR > & | r | |||
) | [inline] |
Ix<N,T> esso::operator+ | ( | T | i, | |
const Ix< N, T > & | ix | |||
) | [inline] |
Addition scalar + object
Ix<N,T> esso::operator+ | ( | const Ix< N, T > & | ix, | |
const Ix< N, T > & | ixx | |||
) | [inline] |
Addition
Ix<N,T> esso::operator+ | ( | const Ix< N, T > & | ix, | |
T | i | |||
) | [inline] |
Addition, object + scalar
const Array<N,DType>& esso::operator+= | ( | const Array< N, DType > & | dst, | |
const Array< N, SType > & | src | |||
) | [inline] |
Scalar addition assignment. Add scalar src to elements of dst
const Array<N,DType>& esso::operator+= | ( | const Array< N, DType > & | dst, | |
const ST & | src | |||
) | [inline] |
Addition assignment. Add elements of src to elements of dst Operates on the intersection of index range for src and dst
Array<N,Uop<cNeg,TypeS> > esso::operator- | ( | const Array< N, TypeS > & | s | ) | [inline] |
Unary negation
Array<N,Bop<cSub,Scalar<TL>,TypeR > > esso::operator- | ( | const TL & | l, | |
const Array< N, TypeR > & | r | |||
) | [inline] |
Array<N,Bop<cSub,TypeL,Scalar<TR> > > esso::operator- | ( | const Array< N, TypeL > & | l, | |
const TR & | r | |||
) | [inline] |
Array<N,Bop<cSub,TypeL,TypeR> > esso::operator- | ( | const Array< N, TypeL > & | l, | |
const Array< N, TypeR > & | r | |||
) | [inline] |
Ix<N,T> esso::operator- | ( | T | i, | |
const Ix< N, T > & | ix | |||
) | [inline] |
Subtraction scalar - object
Ix<N,T> esso::operator- | ( | const Ix< N, T > & | ix, | |
const Ix< N, T > & | ixx | |||
) | [inline] |
Subtraction
Ix<N,T> esso::operator- | ( | const Ix< N, T > & | ix, | |
T | i | |||
) | [inline] |
Subtraction object - scalar
Ix<N,T> esso::operator- | ( | const Ix< N, T > & | ix | ) | [inline] |
Unary negation
const Array<N,DType>& esso::operator-= | ( | const Array< N, DType > & | dst, | |
const Array< N, SType > & | src | |||
) | [inline] |
Scalar subtraction assignment. Subtract scalar src from elements of dst
const Array<N,DType>& esso::operator-= | ( | const Array< N, DType > & | dst, | |
const ST & | src | |||
) | [inline] |
Subtraction assignment. Subtract elements of src from elements of dst Operates on the intersection of index range for src and dst
Array<N,Bop<cDiv,Scalar<TL>,TypeR > > esso::operator/ | ( | const TL & | l, | |
const Array< N, TypeR > & | r | |||
) | [inline] |
Array<N,Bop<cDiv,TypeL,Scalar<TR> > > esso::operator/ | ( | const Array< N, TypeL > & | l, | |
const TR & | r | |||
) | [inline] |
Array<N,Bop<cDiv,TypeL,TypeR> > esso::operator/ | ( | const Array< N, TypeL > & | l, | |
const Array< N, TypeR > & | r | |||
) | [inline] |
Ix<N,T> esso::operator/ | ( | T | i, | |
const Ix< N, T > & | ix | |||
) | [inline] |
Quotient scalar / object
Ix<N,T> esso::operator/ | ( | const Ix< N, T > & | ix, | |
T | i | |||
) | [inline] |
Quotient object / scalar
const Array<N,DType>& esso::operator/= | ( | const Array< N, DType > & | dst, | |
const Array< N, SType > & | src | |||
) | [inline] |
Quotient assignment. Divides elements of dst with elements of src Operates on the intersection of index range for src and dst
const Array<N,DType>& esso::operator/= | ( | const Array< N, DType > & | dst, | |
const ST & | src | |||
) | [inline] |
Scalar quotient assignment. Divide elements of dst with scalar src
std::ostream& esso::operator<< | ( | std::ostream & | stream, | |
const Array< N, Type > & | src | |||
) | [inline] |
Ascii stream store operation
Output format is
N
is the array rank, LEN(K)
is the length along dimension K
and L(K)
is the first index in dimension K
. Each line in DATA
is along dimension 0, and the other dimensions are traversed in increasing order, so that the outermost loop is over dimension N-1
. References WriteFmt().
const Array<N,DType>& esso::operator<<= | ( | const Array< N, DType > & | dst, | |
const Array< N, SType > & | src | |||
) | [inline] |
Elementwise copy
Use this operator for template expression assignment i.e. you may copy a single array into another as
array1
<<=
array2
;
or you may compute expressions containing arrays and/or scalars and put the result into an array as
array1
<<=
array2+array3*scalar1-array1
;
The assignment is done over the intersection of the index bounds of all array objects involved. The index bounds of dst are unchanged by this operation.
const Array<N,DType>& esso::operator<<= | ( | const Array< N, DType > & | dst, | |
const ST & | src | |||
) | [inline] |
Elementwise copy Use this operator to fill an array with a scalar value
std::istream& esso::operator>> | ( | std::istream & | stream, | |
const Array< N, Type > & | dst | |||
) | [inline] |
Ascii stream read operation
The elements of the array are read from a file that is assumed to have the format as written by operator <<
If the array index bounds do not match the array found in the file the array elements are unchanged and the fail flag is set for the stream object.
Reference to input stream stream
References esso::Array< N, T0 >::L(), ReadFmt(), and esso::Array< N, T0 >::U().
Array<N,Type> esso::Permute | ( | const Array< N, Type > & | src, | |
const Permutation< N > & | p | |||
) | [inline] |
Array<N,Type> esso::Permute | ( | const Array< N, Type > & | src, | |
DIMT | n1, | |||
DIMT | n2 | |||
) | [inline] |
std::istream& esso::ReadFmt | ( | std::istream & | stream, | |
Ix< N, T > & | dst | |||
) | [inline] |
Formated read of Ix object
std::istream& esso::ReadFmt | ( | std::istream & | stream, | |
const Array< N, Type > & | dst | |||
) | [inline] |
Formatted stream read
Simply reads all elements from the stream. The dimensions are traversed in increasing order, so that the outermost loop is over dimension N-1
.
Referenced by Clone(), and operator>>().
std::istream& esso::ReadUfmt | ( | std::istream & | stream, | |
Ix< N, T > & | dst | |||
) | [inline] |
Unformated read of Ix object
std::istream& esso::ReadUfmt | ( | std::istream & | stream, | |
const Array< N, Type > & | dst | |||
) | [inline] |
Unformatted stream read
Simply reads all elements from the stream. The dimensions are traversed in increasing order, so that the outermost loop is over dimension N-1
.
Array<N,Type> esso::Restrict | ( | const Array< N, Type > & | src, | |
const Ix< N > & | l0, | |||
const Ix< N > & | u0 | |||
) | [inline] |
References Restrict().
Array<N,Type> esso::Restrict | ( | const Array< N, Type > & | src, | |
DIMT | n, | |||
IXTYPE | l0, | |||
IXTYPE | u0 | |||
) | [inline] |
Referenced by Restrict().
Array<N,Type> esso::RestrictL | ( | const Array< N, Type > & | src, | |
const Ix< N > & | l0 | |||
) | [inline] |
References RestrictL().
Array<N,Type> esso::RestrictL | ( | const Array< N, Type > & | src, | |
DIMT | n, | |||
IXTYPE | l0 | |||
) | [inline] |
Referenced by RestrictL().
Array<N,Type> esso::RestrictU | ( | const Array< N, Type > & | src, | |
const Ix< N > & | u0 | |||
) | [inline] |
References RestrictU().
Array<N,Type> esso::RestrictU | ( | const Array< N, Type > & | src, | |
DIMT | n, | |||
IXTYPE | u0 | |||
) | [inline] |
Referenced by RestrictU().
Array<N,Type> esso::Restride | ( | const Array< N, Type > & | src, | |
const Ix< N > & | sx | |||
) | [inline] |
Array<N,Type> esso::Restride | ( | const Array< N, Type > & | src, | |
DIMT | n, | |||
IXTYPE | s | |||
) | [inline] |
Array<N,Type> esso::Reverse | ( | const Array< N, Type > & | src, | |
const Ix< N, bool > | rx | |||
) | [inline] |
Array<N,Type> esso::Reverse | ( | const Array< N, Type > & | src, | |
DIMT | n | |||
) | [inline] |
Array<N-1,Type> esso::Rmdim | ( | const Array< N, Type > & | src, | |
DIMT | n, | |||
IXTYPE | i | |||
) | [inline] |
Array<N,Type> esso::Shift | ( | const Array< N, Type > & | src, | |
const Ix< N > & | ix | |||
) | [inline] |
References Shift().
Array<N,Type> esso::Shift | ( | const Array< N, Type > & | src, | |
DIMT | n, | |||
IXTYPE | i | |||
) | [inline] |
Referenced by Shift(), and esso::Array< N, Fix< T0 > >::Shift().
Array<N,Uop<cSqr,TypeS> > esso::Sqr | ( | const Array< N, TypeS > & | s | ) | [inline] |
Square (power of two)
Array<N,Uop<cSqrt,TypeS> > esso::Sqrt | ( | const Array< N, TypeS > & | s | ) | [inline] |
Square root
RPromote<cSum,typename Array<1,TypeS>::T>::T esso::Sum | ( | const Array< 1, TypeS > & | src0 | ) | [inline] |
Array<N-1,Rop<cSum,TypeS> > esso::Sum | ( | const Array< N, TypeS > & | s | ) | [inline] |
Array<N,TypeS>::T esso::Sumall | ( | const Array< N, TypeS > & | src | ) | [inline] |
std::ostream& esso::WriteFmt | ( | std::ostream & | stream, | |
const Ix< N, T > & | src | |||
) | [inline] |
Formatted write of Ix object
std::ostream& esso::WriteFmt | ( | std::ostream & | stream, | |
const Array< N, Type > & | src | |||
) | [inline] |
Formatted stream store
Simply dumps all elements into the stream. The dimensions are traversed in increasing order, so that the outermost loop is over dimension N-1
.
Referenced by operator<<().
std::ostream& esso::WriteUfmt | ( | std::ostream & | stream, | |
const Ix< N, T > & | src | |||
) | [inline] |
Unformated write of Ix object
std::ostream& esso::WriteUfmt | ( | std::ostream & | stream, | |
const Array< N, Type > & | src | |||
) | [inline] |
Unformatted stream store
Simply dumps all elements into the stream. The dimensions are traversed in increasing order, so that the outermost loop is over dimension N-1
.