valarray Class Reference

#include <stdapis/stlportv5/stl/_valarray.h>

class valarray : private _Valarray_base

Inherits from

Nested Classes and Structures

Public Member Type Definitions
typedef_Tp value_type
Public Member Functions
valarray()
valarray(size_t)
valarray(const value_type &, size_t)
valarray(const value_type *, size_t)
valarray(const valarray< _Tp > &)
valarray(const slice_array< _Tp > &)
valarray(const gslice_array< _Tp > &)
valarray(const mask_array< _Tp > &)
valarray(const indirect_array< _Tp > &)
valarray(size_t, _NoInit)
~valarray()
valarray< _Tp >apply(value_type)
valarray< _Tp >cshift(int)
value_type()max()
value_type()min()
_Valarray_bool operator!()
valarray< _Tp > &operator%=(const value_type &)
valarray< _Tp > &operator%=(const valarray< _Tp > &)
valarray< _Tp > &operator&=(const value_type &)
valarray< _Tp > &operator&=(const valarray< _Tp > &)
valarray< _Tp > &operator*=(const value_type &)
valarray< _Tp > &operator*=(const valarray< _Tp > &)
valarray< _Tp >operator+()
valarray< _Tp > &operator+=(const value_type &)
valarray< _Tp > &operator+=(const valarray< _Tp > &)
valarray< _Tp >operator-()
valarray< _Tp > &operator-=(const value_type &)
valarray< _Tp > &operator-=(const valarray< _Tp > &)
valarray< _Tp > &operator/=(const value_type &)
valarray< _Tp > &operator/=(const valarray< _Tp > &)
valarray< _Tp > &operator<<=(const value_type &)
valarray< _Tp > &operator<<=(const valarray< _Tp > &)
valarray< _Tp > &operator=(const valarray< _Tp > &)
valarray< _Tp > &operator=(const value_type &)
valarray< _Tp > &operator=(const slice_array< _Tp > &)
valarray< _Tp > &operator=(const gslice_array< _Tp > &)
valarray< _Tp > &operator=(const mask_array< _Tp > &)
valarray< _Tp > &operator=(const indirect_array< _Tp > &)
valarray< _Tp > &operator>>=(const value_type &)
valarray< _Tp > &operator>>=(const valarray< _Tp > &)
value_type operator[](size_t)
value_type &operator[](size_t)
valarray< _Tp >operator[](slice)
slice_array< _Tp >operator[](slice)
valarray< _Tp >operator[](const gslice &)
gslice_array< _Tp >operator[](const gslice &)
valarray< _Tp >operator[](const _Valarray_bool &)
mask_array< _Tp >operator[](const _Valarray_bool &)
valarray< _Tp >operator[](const _Valarray_size_t &)
indirect_array< _Tp >operator[](const _Valarray_size_t &)
valarray< _Tp > &operator^=(const value_type &)
valarray< _Tp > &operator^=(const valarray< _Tp > &)
valarray< _Tp > &operator|=(const value_type &)
valarray< _Tp > &operator|=(const valarray< _Tp > &)
valarray< _Tp >operator~()
voidresize(size_t, value_type)
valarray< _Tp >shift(int)
size_t size()
value_type sum()
Inherited Attributes
_Valarray_base::_M_first
_Valarray_base::_M_size
Inherited Functions
_Valarray_base::_M_allocate(size_t)
_Valarray_base::_M_deallocate()
_Valarray_base::_Valarray_base()
_Valarray_base::_Valarray_base(size_t)
_Valarray_base::~_Valarray_base()

Member Type Definition Documentation

Typedef value_type

typedef _Tpvalue_type

Constructor & Destructor Documentation

valarray ( )

valarray()[inline]

valarray ( size_t )

valarray(size_t__n)[inline, explicit]

valarray ( const value_type &, size_t )

valarray(const value_type &__x,
size_t__n
)[inline]

valarray ( const value_type *, size_t )

valarray(const value_type *__p,
size_t__n
)[inline]

valarray ( const valarray< _Tp > & )

valarray(const valarray< _Tp > &__x)[inline]

valarray ( const slice_array< _Tp > & )

valarray(const slice_array< _Tp > &)[inline]

valarray ( const gslice_array< _Tp > & )

valarray(const gslice_array< _Tp > &)[inline]

valarray ( const mask_array< _Tp > & )

valarray(const mask_array< _Tp > &)[inline]

valarray ( const indirect_array< _Tp > & )

valarray(const indirect_array< _Tp > &)[inline]

valarray ( size_t, _NoInit )

valarray(size_t__n,
_NoInit
)[inline]

~valarray ( )

~valarray()[inline]

Member Function Documentation

apply ( value_type )

valarray< _Tp >apply(value_type__f)const [inline]

cshift ( int )

valarray< _Tp >cshift(int__n)const

max ( )

value_type()max()const [inline]

min ( )

value_type()min()const [inline]

operator! ( )

_Valarray_bool operator!()const

operator%= ( const value_type & )

valarray< _Tp > &operator%=(const value_type &__x)[inline]

operator%= ( const valarray< _Tp > & )

valarray< _Tp > &operator%=(const valarray< _Tp > &__x)[inline]

operator&= ( const value_type & )

valarray< _Tp > &operator&=(const value_type &__x)[inline]

operator&= ( const valarray< _Tp > & )

valarray< _Tp > &operator&=(const valarray< _Tp > &__x)[inline]

operator*= ( const value_type & )

valarray< _Tp > &operator*=(const value_type &__x)[inline]

operator*= ( const valarray< _Tp > & )

valarray< _Tp > &operator*=(const valarray< _Tp > &__x)[inline]

operator+ ( )

valarray< _Tp >operator+()const [inline]

operator+= ( const value_type & )

valarray< _Tp > &operator+=(const value_type &__x)[inline]

operator+= ( const valarray< _Tp > & )

valarray< _Tp > &operator+=(const valarray< _Tp > &__x)[inline]

operator- ( )

valarray< _Tp >operator-()const [inline]

operator-= ( const value_type & )

valarray< _Tp > &operator-=(const value_type &__x)[inline]

operator-= ( const valarray< _Tp > & )

valarray< _Tp > &operator-=(const valarray< _Tp > &__x)[inline]

operator/= ( const value_type & )

valarray< _Tp > &operator/=(const value_type &__x)[inline]

operator/= ( const valarray< _Tp > & )

valarray< _Tp > &operator/=(const valarray< _Tp > &__x)[inline]

operator<<= ( const value_type & )

valarray< _Tp > &operator<<=(const value_type &__x)[inline]

operator<<= ( const valarray< _Tp > & )

valarray< _Tp > &operator<<=(const valarray< _Tp > &__x)[inline]

operator= ( const valarray< _Tp > & )

valarray< _Tp > &operator=(const valarray< _Tp > &__x)[inline]

operator= ( const value_type & )

valarray< _Tp > &operator=(const value_type &__x)[inline]

operator= ( const slice_array< _Tp > & )

valarray< _Tp > &operator=(const slice_array< _Tp > &)

operator= ( const gslice_array< _Tp > & )

valarray< _Tp > &operator=(const gslice_array< _Tp > &)

operator= ( const mask_array< _Tp > & )

valarray< _Tp > &operator=(const mask_array< _Tp > &)[inline]

operator= ( const indirect_array< _Tp > & )

valarray< _Tp > &operator=(const indirect_array< _Tp > &)

operator>>= ( const value_type & )

valarray< _Tp > &operator>>=(const value_type &__x)[inline]

operator>>= ( const valarray< _Tp > & )

valarray< _Tp > &operator>>=(const valarray< _Tp > &__x)[inline]

operator[] ( size_t )

value_type operator[](size_t__n)const [inline]

operator[] ( size_t )

value_type &operator[](size_t__n)[inline]

operator[] ( slice )

valarray< _Tp >operator[](slice)const

operator[] ( slice )

slice_array< _Tp >operator[](slice)[inline]

operator[] ( const gslice & )

valarray< _Tp >operator[](const gslice &)const

operator[] ( const gslice & )

gslice_array< _Tp >operator[](const gslice &)[inline]

operator[] ( const _Valarray_bool & )

valarray< _Tp >operator[](const _Valarray_bool &)const

operator[] ( const _Valarray_bool & )

mask_array< _Tp >operator[](const _Valarray_bool &)[inline]

operator[] ( const _Valarray_size_t & )

valarray< _Tp >operator[](const _Valarray_size_t &)const

operator[] ( const _Valarray_size_t & )

indirect_array< _Tp >operator[](const _Valarray_size_t &)[inline]

operator^= ( const value_type & )

valarray< _Tp > &operator^=(const value_type &__x)[inline]

operator^= ( const valarray< _Tp > & )

valarray< _Tp > &operator^=(const valarray< _Tp > &__x)[inline]

operator|= ( const value_type & )

valarray< _Tp > &operator|=(const value_type &__x)[inline]

operator|= ( const valarray< _Tp > & )

valarray< _Tp > &operator|=(const valarray< _Tp > &__x)[inline]

operator~ ( )

valarray< _Tp >operator~()const [inline]

resize ( size_t, value_type )

voidresize(size_t__n,
value_type__x =  value_type()
)[inline]

shift ( int )

valarray< _Tp >shift(int__n)const

size ( )

size_t size()const [inline]

sum ( )

value_type sum()const [inline]