Numeric_arrays(3)

NAME
Numeric_arrays - Numeric_arrays

SYNOPSIS

  Classes
class std::gslice
class std::gslice_array< _Tp >
class std::indirect_array< _Tp >
class std::mask_array< _Tp >
class std::slice
class std::slice_array< _Tp >

  Macros
#define _DEFINE_VALARRAY_OPERATOR(_Op, _Name)
#define _DEFINE_VALARRAY_OPERATOR(_Op, _Name)
#define _DEFINE_VALARRAY_OPERATOR(_Op, _Name)
#define _DEFINE_VALARRAY_OPERATOR(_Op, _Name)

  Functions
std::gslice::gslice ()
std::gslice::gslice (size_t __o, const valarray< size_t > &__l, const valarray< size_t > &__s)
std::gslice::gslice (const gslice &)
std::gslice_array< _Tp >::gslice_array (const gslice_array &)
std::indirect_array< _Tp >::indirect_array (const indirect_array &)
std::mask_array< _Tp >::mask_array (const mask_array &)
std::slice::slice ()
std::slice::slice (size_t __o, size_t __d, size_t __s)
std::slice_array< _Tp >::slice_array (const slice_array &)
std::gslice::~gslice ()
void std::gslice_array< _Tp >::operator%= (const valarray< _Tp > &) const
void std::mask_array< _Tp >::operator%= (const valarray< _Tp > &) const
void std::indirect_array< _Tp >::operator%= (const valarray< _Tp > &) const
template<class _Dom > void std::gslice_array< _Tp >::operator%= (const _Expr< _Dom, _Tp > &) const
template<class _Dom > void std::mask_array< _Tp >::operator%= (const _Expr< _Dom, _Tp > &) const
template<class _Dom > void std::indirect_array< _Tp >::operator%= (const _Expr< _Dom, _Tp > &) const
void std::slice_array< _Tp >::operator%= (const valarray< _Tp > &) const
template<class _Dom > void std::slice_array< _Tp >::operator%= (const _Expr< _Dom, _Tp > &) const
void std::gslice_array< _Tp >::operator&= (const valarray< _Tp > &) const
void std::mask_array< _Tp >::operator&= (const valarray< _Tp > &) const
void std::indirect_array< _Tp >::operator&= (const valarray< _Tp > &) const
template<class _Dom > void std::gslice_array< _Tp >::operator&= (const _Expr< _Dom, _Tp > &) const
template<class _Dom > void std::mask_array< _Tp >::operator&= (const _Expr< _Dom, _Tp > &) const
template<class _Dom > void std::indirect_array< _Tp >::operator&= (const _Expr< _Dom, _Tp > &) const
void std::slice_array< _Tp >::operator&= (const valarray< _Tp > &) const
template<class _Dom > void std::slice_array< _Tp >::operator&= (const _Expr< _Dom, _Tp > &) const
void std::gslice_array< _Tp >::operator*= (const valarray< _Tp > &) const
void std::mask_array< _Tp >::operator*= (const valarray< _Tp > &) const
void std::indirect_array< _Tp >::operator*= (const valarray< _Tp > &) const
template<class _Dom > void std::gslice_array< _Tp >::operator*= (const _Expr< _Dom, _Tp > &) const
template<class _Dom > void std::mask_array< _Tp >::operator*= (const _Expr< _Dom, _Tp > &) const
template<class _Dom > void std::indirect_array< _Tp >::operator*= (const _Expr< _Dom, _Tp > &) const
void std::slice_array< _Tp >::operator*= (const valarray< _Tp > &) const
template<class _Dom > void std::slice_array< _Tp >::operator*= (const _Expr< _Dom, _Tp > &) const
void std::gslice_array< _Tp >::operator+= (const valarray< _Tp > &) const
void std::mask_array< _Tp >::operator+= (const valarray< _Tp > &) const
void std::indirect_array< _Tp >::operator+= (const valarray< _Tp > &) const
template<class _Dom > void std::gslice_array< _Tp >::operator+= (const _Expr< _Dom, _Tp > &) const
template<class _Dom > void std::mask_array< _Tp >::operator+= (const _Expr< _Dom, _Tp > &) const
template<class _Dom > void std::indirect_array< _Tp >::operator+= (const _Expr< _Dom, _Tp > &) const
void std::slice_array< _Tp >::operator+= (const valarray< _Tp > &) const
template<class _Dom > void std::slice_array< _Tp >::operator+= (const _Expr< _Dom, _Tp > &) const
void std::gslice_array< _Tp >::operator-= (const valarray< _Tp > &) const
void std::mask_array< _Tp >::operator-= (const valarray< _Tp > &) const
void std::indirect_array< _Tp >::operator-= (const valarray< _Tp > &) const
template<class _Dom > void std::gslice_array< _Tp >::operator-= (const _Expr< _Dom, _Tp > &) const
template<class _Dom > void std::mask_array< _Tp >::operator-= (const _Expr< _Dom, _Tp > &) const
template<class _Dom > void std::indirect_array< _Tp >::operator-= (const _Expr< _Dom, _Tp > &) const
void std::slice_array< _Tp >::operator-= (const valarray< _Tp > &) const
template<class _Dom > void std::slice_array< _Tp >::operator-= (const _Expr< _Dom, _Tp > &) const
void std::gslice_array< _Tp >::operator/= (const valarray< _Tp > &) const
void std::mask_array< _Tp >::operator/= (const valarray< _Tp > &) const
void std::indirect_array< _Tp >::operator/= (const valarray< _Tp > &) const
template<class _Dom > void std::gslice_array< _Tp >::operator/= (const _Expr< _Dom, _Tp > &) const
template<class _Dom > void std::mask_array< _Tp >::operator/= (const _Expr< _Dom, _Tp > &) const
template<class _Dom > void std::indirect_array< _Tp >::operator/= (const _Expr< _Dom, _Tp > &) const
void std::slice_array< _Tp >::operator/= (const valarray< _Tp > &) const
template<class _Dom > void std::slice_array< _Tp >::operator/= (const _Expr< _Dom, _Tp > &) const
void std::gslice_array< _Tp >::operator<<= (const valarray< _Tp > &) const
void std::mask_array< _Tp >::operator<<= (const valarray< _Tp > &) const
void std::indirect_array< _Tp >::operator<<= (const valarray< _Tp > &) const
template<class _Dom > void std::gslice_array< _Tp >::operator<<= (const _Expr< _Dom, _Tp > &) const
template<class _Dom > void std::mask_array< _Tp >::operator<<= (const _Expr< _Dom, _Tp > &) const
template<class _Dom > void std::indirect_array< _Tp >::operator<<= (const _Expr< _Dom, _Tp > &) const
void std::slice_array< _Tp >::operator<<= (const valarray< _Tp > &) const
template<class _Dom > void std::slice_array< _Tp >::operator<<= (const _Expr< _Dom, _Tp > &) const
gslice_array & std::gslice_array< _Tp >::operator= (const gslice_array &)
indirect_array & std::indirect_array< _Tp >::operator= (const indirect_array &)
mask_array & std::mask_array< _Tp >::operator= (const mask_array &)
void std::gslice_array< _Tp >::operator= (const valarray< _Tp > &) const
void std::mask_array< _Tp >::operator= (const valarray< _Tp > &) const
void std::indirect_array< _Tp >::operator= (const valarray< _Tp > &) const
gslice & std::gslice::operator= (const gslice &)
void std::gslice_array< _Tp >::operator= (const _Tp &) const
void std::mask_array< _Tp >::operator= (const _Tp &) const
void std::indirect_array< _Tp >::operator= (const _Tp &) const
template<class _Dom > void std::gslice_array< _Tp >::operator= (const _Expr< _Dom, _Tp > &) const
template<class _Dom > void std::indirect_array< _Tp >::operator= (const _Expr< _Dom, _Tp > &) const
slice_array & std::slice_array< _Tp >::operator= (const slice_array &)
void std::slice_array< _Tp >::operator= (const valarray< _Tp > &) const
void std::slice_array< _Tp >::operator= (const _Tp &) const
template<class _Dom > void std::slice_array< _Tp >::operator= (const _Expr< _Dom, _Tp > &) const
template<class _Ex > void std::mask_array< _Tp >::operator= (const _Expr< _Ex, _Tp > &__e) const
void std::gslice_array< _Tp >::operator>>= (const valarray< _Tp > &) const
void std::mask_array< _Tp >::operator>>= (const valarray< _Tp > &) const
void std::indirect_array< _Tp >::operator>>= (const valarray< _Tp > &) const
template<class _Dom > void std::gslice_array< _Tp >::operator>>= (const _Expr< _Dom, _Tp > &) const
template<class _Dom > void std::indirect_array< _Tp >::operator>>= (const _Expr< _Dom, _Tp > &) const
template<class _Dom > void std::mask_array< _Tp >::operator>>= (const _Expr< _Dom, _Tp > &) const
void std::slice_array< _Tp >::operator>>= (const valarray< _Tp > &) const
template<class _Dom > void std::slice_array< _Tp >::operator>>= (const _Expr< _Dom, _Tp > &) const
void std::gslice_array< _Tp >::operator^= (const valarray< _Tp > &) const
void std::mask_array< _Tp >::operator^= (const valarray< _Tp > &) const
void std::indirect_array< _Tp >::operator^= (const valarray< _Tp > &) const
template<class _Dom > void std::gslice_array< _Tp >::operator^= (const _Expr< _Dom, _Tp > &) const
template<class _Dom > void std::indirect_array< _Tp >::operator^= (const _Expr< _Dom, _Tp > &) const
template<class _Dom > void std::mask_array< _Tp >::operator^= (const _Expr< _Dom, _Tp > &) const
void std::slice_array< _Tp >::operator^= (const valarray< _Tp > &) const
template<class _Dom > void std::slice_array< _Tp >::operator^= (const _Expr< _Dom, _Tp > &) const
void std::gslice_array< _Tp >::operator|= (const valarray< _Tp > &) const
void std::mask_array< _Tp >::operator|= (const valarray< _Tp > &) const
void std::indirect_array< _Tp >::operator|= (const valarray< _Tp > &) const
template<class _Dom > void std::gslice_array< _Tp >::operator|= (const _Expr< _Dom, _Tp > &) const
template<class _Dom > void std::mask_array< _Tp >::operator|= (const _Expr< _Dom, _Tp > &) const
template<class _Dom > void std::indirect_array< _Tp >::operator|= (const _Expr< _Dom, _Tp > &) const
void std::slice_array< _Tp >::operator|= (const valarray< _Tp > &) const
template<class _Dom > void std::slice_array< _Tp >::operator|= (const _Expr< _Dom, _Tp > &) const
size_t std::slice::size () const
valarray< size_t > std::gslice::size () const
size_t std::slice::start () const
size_t std::gslice::start () const
size_t std::slice::stride () const
valarray< size_t > std::gslice::stride () const

Detailed Description

Function Documentation

  std::gslice::gslice () [inline]

Construct an empty slice.

Definition at line 149 of file gslice.h.

  std::gslice::gslice (size_t __o, const valarray< size_t > & __l, const valarray< size_t > & __s) [inline]

Construct a slice. Constructs a slice with as many dimensions as the length of the l and s arrays.

Parameters:
    __o Offset in array of first element.
    __l Array of dimension lengths.
    __s Array of dimension strides between array elements.

Definition at line 153 of file gslice.h.

  std::gslice::gslice (const gslice & __g) [inline]

Copy constructor.

Definition at line 158 of file gslice.h.

  template<typename _Tp > std::gslice_array< _Tp >::gslice_array (const gslice_array< _Tp > & __a) [inline]

Copy constructor. Both slices refer to the same underlying array.

Definition at line 143 of file gslice_array.h.

  template<typename _Tp > std::indirect_array< _Tp >::indirect_array (const indirect_array< _Tp > & __a) [inline]

Copy constructor. Both slices refer to the same underlying array.

Definition at line 143 of file indirect_array.h.

  template<typename _Tp > std::mask_array< _Tp >::mask_array (const mask_array< _Tp > & a) [inline]

Copy constructor. Both slices refer to the same underlying array.

Definition at line 139 of file mask_array.h.

  std::slice::slice () [inline]

Construct an empty slice.

Definition at line 90 of file slice_array.h.

  std::slice::slice (size_t __o, size_t __d, size_t __s) [inline]

Construct a slice.

Parameters:
    __o Offset in array of first element.
    __d Number of elements in slice.
    __s Stride between array elements.

Definition at line 94 of file slice_array.h.

  template<typename _Tp > std::slice_array< _Tp >::slice_array (const slice_array< _Tp > & a) [inline]

Copy constructor. Both slices refer to the same underlying array.

Definition at line 207 of file slice_array.h.

  std::gslice::~gslice () [inline]

Destructor.

Definition at line 163 of file gslice.h.

  template<typename _Tp > void std::gslice_array< _Tp >::operator%= (const valarray< _Tp > & __v) const [inline]

Modulo slice elements by corresponding elements of v.

Definition at line 202 of file gslice_array.h.

  template<typename _Tp > void std::mask_array< _Tp >::operator%= (const valarray< _Tp > & __v) const [inline]

Modulo slice elements by corresponding elements of v.

Definition at line 192 of file mask_array.h.

  template<typename _Tp > void std::indirect_array< _Tp >::operator%= (const valarray< _Tp > & __v) const [inline]

Modulo slice elements by corresponding elements of v.

Definition at line 196 of file indirect_array.h.

  template<typename _Tp > void std::slice_array< _Tp >::operator%= (const valarray< _Tp > & __v) const [inline]

Modulo slice elements by corresponding elements of v.

Definition at line 258 of file slice_array.h.

  template<typename _Tp > void std::gslice_array< _Tp >::operator&= (const valarray< _Tp > & __v) const [inline]

Logical and slice elements with corresponding elements of v.

Definition at line 206 of file gslice_array.h.

  template<typename _Tp > void std::mask_array< _Tp >::operator&= (const valarray< _Tp > & __v) const [inline]

Logical and slice elements with corresponding elements of v.

Definition at line 196 of file mask_array.h.

  template<typename _Tp > void std::indirect_array< _Tp >::operator&= (const valarray< _Tp > & __v) const [inline]

Logical and slice elements with corresponding elements of v.

Definition at line 200 of file indirect_array.h.

  template<typename _Tp > void std::slice_array< _Tp >::operator&= (const valarray< _Tp > & __v) const [inline]

Logical and slice elements with corresponding elements of v.

Definition at line 262 of file slice_array.h.

  template<typename _Tp > void std::gslice_array< _Tp >::operator*= (const valarray< _Tp > & __v) const [inline]

Multiply slice elements by corresponding elements of v.

Definition at line 200 of file gslice_array.h.

  template<typename _Tp > void std::mask_array< _Tp >::operator*= (const valarray< _Tp > & __v) const [inline]

Multiply slice elements by corresponding elements of v.

Definition at line 190 of file mask_array.h.

  template<typename _Tp > void std::indirect_array< _Tp >::operator*= (const valarray< _Tp > & __v) const [inline]

Multiply slice elements by corresponding elements of v.

Definition at line 194 of file indirect_array.h.

  template<typename _Tp > void std::slice_array< _Tp >::operator*= (const valarray< _Tp > & __v) const [inline]

Multiply slice elements by corresponding elements of v.

Definition at line 256 of file slice_array.h.

  template<typename _Tp > void std::gslice_array< _Tp >::operator+= (const valarray< _Tp > & __v) const [inline]

Add corresponding elements of v to slice elements.

Definition at line 203 of file gslice_array.h.

  template<typename _Tp > void std::mask_array< _Tp >::operator+= (const valarray< _Tp > & __v) const [inline]

Add corresponding elements of v to slice elements.

Definition at line 193 of file mask_array.h.

  template<typename _Tp > void std::indirect_array< _Tp >::operator+= (const valarray< _Tp > & __v) const [inline]

Add corresponding elements of v to slice elements.

Definition at line 197 of file indirect_array.h.

  template<typename _Tp > void std::slice_array< _Tp >::operator+= (const valarray< _Tp > & __v) const [inline]

Add corresponding elements of v to slice elements.

Definition at line 259 of file slice_array.h.

  template<typename _Tp > void std::gslice_array< _Tp >::operator-= (const valarray< _Tp > & __v) const [inline]

Subtract corresponding elements of v from slice elements.

Definition at line 204 of file gslice_array.h.

  template<typename _Tp > void std::mask_array< _Tp >::operator-= (const valarray< _Tp > & __v) const [inline]

Subtract corresponding elements of v from slice elements.

Definition at line 194 of file mask_array.h.

  template<typename _Tp > void std::indirect_array< _Tp >::operator-= (const valarray< _Tp > & __v) const [inline]

Subtract corresponding elements of v from slice elements.

Definition at line 198 of file indirect_array.h.

  template<typename _Tp > void std::slice_array< _Tp >::operator-= (const valarray< _Tp > & __v) const [inline]

Subtract corresponding elements of v from slice elements.

Definition at line 260 of file slice_array.h.

  template<typename _Tp > void std::gslice_array< _Tp >::operator/= (const valarray< _Tp > & __v) const [inline]

Divide slice elements by corresponding elements of v.

Definition at line 201 of file gslice_array.h.

  template<typename _Tp > void std::mask_array< _Tp >::operator/= (const valarray< _Tp > & __v) const [inline]

Divide slice elements by corresponding elements of v.

Definition at line 191 of file mask_array.h.

  template<typename _Tp > void std::indirect_array< _Tp >::operator/= (const valarray< _Tp > & __v) const [inline]

Divide slice elements by corresponding elements of v.

Definition at line 195 of file indirect_array.h.

  template<typename _Tp > void std::slice_array< _Tp >::operator/= (const valarray< _Tp > & __v) const [inline]

Divide slice elements by corresponding elements of v.

Definition at line 257 of file slice_array.h.

  template<typename _Tp > void std::gslice_array< _Tp >::operator<<= (const valarray< _Tp > & __v) const [inline]

Left shift slice elements by corresponding elements of v.

Definition at line 208 of file gslice_array.h.

  template<typename _Tp > void std::mask_array< _Tp >::operator<<= (const valarray< _Tp > & __v) const [inline]

Left shift slice elements by corresponding elements of v.

Definition at line 198 of file mask_array.h.

  template<typename _Tp > void std::indirect_array< _Tp >::operator<<= (const valarray< _Tp > & __v) const [inline]

Left shift slice elements by corresponding elements of v.

Definition at line 202 of file indirect_array.h.

  template<typename _Tp > void std::slice_array< _Tp >::operator<<= (const valarray< _Tp > & __v) const [inline]

Left shift slice elements by corresponding elements of v.

Definition at line 264 of file slice_array.h.

  template<typename _Tp > gslice_array< _Tp > & std::gslice_array< _Tp >::operator= (const gslice_array< _Tp > & __a) [inline]

Assignment operator. Assigns slice elements to corresponding elements of a.

Definition at line 148 of file gslice_array.h.

  template<typename _Tp > indirect_array< _Tp > & std::indirect_array< _Tp >::operator= (const indirect_array< _Tp > & __a) [inline]

Assignment operator. Assigns elements to corresponding elements of a.

Definition at line 154 of file indirect_array.h.

  template<typename _Tp > mask_array< _Tp > & std::mask_array< _Tp >::operator= (const mask_array< _Tp > & __a) [inline]

Assignment operator. Assigns elements to corresponding elements of a.

Definition at line 149 of file mask_array.h.

  template<typename _Tp > void std::gslice_array< _Tp >::operator= (const valarray< _Tp > & __v) const [inline]

Assign slice elements to corresponding elements of v.

Definition at line 166 of file gslice_array.h.

  template<typename _Tp > void std::indirect_array< _Tp >::operator= (const valarray< _Tp > & __v) const [inline]

Assign slice elements to corresponding elements of v.

Definition at line 168 of file indirect_array.h.

  gslice & std::gslice::operator= (const gslice & __g) [inline]

Assignment operator.

Definition at line 170 of file gslice.h.

  template<typename _Tp > void std::gslice_array< _Tp >::operator= (const _Tp & __t) const [inline]

Assign all slice elements to t.

Definition at line 158 of file gslice_array.h.

  template<typename _Tp > void std::mask_array< _Tp >::operator= (const _Tp & __t) const [inline]

Assign all slice elements to t.

Definition at line 158 of file mask_array.h.

  template<typename _Tp > void std::indirect_array< _Tp >::operator= (const _Tp & __t) const [inline]

Assign all slice elements to t.

Definition at line 163 of file indirect_array.h.

  template<typename _Tp > slice_array< _Tp > & std::slice_array< _Tp >::operator= (const slice_array< _Tp > & __a) [inline]

Assignment operator. Assigns slice elements to corresponding elements of a.

Definition at line 215 of file slice_array.h.

  template<typename _Tp > void std::slice_array< _Tp >::operator= (const valarray< _Tp > & __v) const [inline]

Assign slice elements to corresponding elements of v.

Definition at line 229 of file slice_array.h.

  template<typename _Tp > void std::slice_array< _Tp >::operator= (const _Tp & __t) const [inline]

Assign all slice elements to t.

Definition at line 224 of file slice_array.h.

  template<typename _Tp > void std::gslice_array< _Tp >::operator>>= (const valarray< _Tp > & __v) const [inline]

Right shift slice elements by corresponding elements of v.

Definition at line 209 of file gslice_array.h.

  template<typename _Tp > void std::mask_array< _Tp >::operator>>= (const valarray< _Tp > & __v) const [inline]

Right shift slice elements by corresponding elements of v.

Definition at line 199 of file mask_array.h.

  template<typename _Tp > void std::indirect_array< _Tp >::operator>>= (const valarray< _Tp > & __v) const [inline]

Right shift slice elements by corresponding elements of v.

Definition at line 203 of file indirect_array.h.

  template<typename _Tp > void std::slice_array< _Tp >::operator>>= (const valarray< _Tp > & __v) const [inline]

Right shift slice elements by corresponding elements of v.

Definition at line 265 of file slice_array.h.

  template<typename _Tp > void std::gslice_array< _Tp >::operator^= (const valarray< _Tp > & __v) const [inline]

Logical xor slice elements with corresponding elements of v.

Definition at line 205 of file gslice_array.h.

  template<typename _Tp > void std::mask_array< _Tp >::operator^= (const valarray< _Tp > & __v) const [inline]

Logical xor slice elements with corresponding elements of v.

Definition at line 195 of file mask_array.h.

  template<typename _Tp > void std::indirect_array< _Tp >::operator^= (const valarray< _Tp > & __v) const [inline]

Logical xor slice elements with corresponding elements of v.

Definition at line 199 of file indirect_array.h.

  template<typename _Tp > void std::slice_array< _Tp >::operator^= (const valarray< _Tp > & __v) const [inline]

Logical xor slice elements with corresponding elements of v.

Definition at line 261 of file slice_array.h.

  template<typename _Tp > void std::gslice_array< _Tp >::operator|= (const valarray< _Tp > & __v) const [inline]

Logical or slice elements with corresponding elements of v.

Definition at line 207 of file gslice_array.h.

  template<typename _Tp > void std::mask_array< _Tp >::operator|= (const valarray< _Tp > & __v) const [inline]

Logical or slice elements with corresponding elements of v.

Definition at line 197 of file mask_array.h.

  template<typename _Tp > void std::indirect_array< _Tp >::operator|= (const valarray< _Tp > & __v) const [inline]

Logical or slice elements with corresponding elements of v.

Definition at line 201 of file indirect_array.h.

  template<typename _Tp > void std::slice_array< _Tp >::operator|= (const valarray< _Tp > & __v) const [inline]

Logical or slice elements with corresponding elements of v.

Definition at line 263 of file slice_array.h.

  size_t std::slice::size () const [inline]

Return size of slice.

Definition at line 102 of file slice_array.h.

  valarray< size_t > std::gslice::size () const [inline]

Return array of sizes of slice dimensions.

Definition at line 139 of file gslice.h.

  size_t std::slice::start () const [inline]

Return array offset of first slice element.

Definition at line 98 of file slice_array.h.

  size_t std::gslice::start () const [inline]

Return array offset of first slice element.

Definition at line 135 of file gslice.h.

  size_t std::slice::stride () const [inline]

Return array stride of slice.

Definition at line 106 of file slice_array.h.

  valarray< size_t > std::gslice::stride () const [inline]

Return array of array strides for each dimension.

Definition at line 143 of file gslice.h.

Author

Generated automatically by Doxygen for libstdc++ from the source code.