
Public Types | |
| typedef Type | value_type |
Public Member Functions | |
| valarray () | |
| valarray (size_t) | |
| valarray (const Type &, size_t) | |
| valarray (const slice_array< Type > &) | |
| valarray (const gslice_array< Type > &) | |
| valarray (const mask_array< Type > &) | |
| valarray (const indirect_array< Type > &) | |
| template<class Dom> | |
| valarray (const Expr< Dom, Type > &__e) | |
| ~valarray () | |
| valarray< Type > & | operator= (const valarray< Type > &) |
| valarray< Type > & | operator= (const Type &) |
| valarray< Type > & | operator= (const slice_array< Type > &) |
| valarray< Type > & | operator= (const gslice_array< Type > &) |
| valarray< Type > & | operator= (const mask_array< Type > &) |
| valarray< Type > & | operator= (const indirect_array< Type > &) |
| template<class Dom> | |
| valarray< Type > & | operator= (const Expr< Dom, Type > &) |
| const Type & | operator[] (size_t) const |
| Type & | operator[] (size_t) |
|
Expr< SClos< ValArray, Type >, Type > | operator[] (slice) const |
| slice_array< Type > | operator[] (slice) |
|
Expr< GClos< ValArray, Type >, Type > | operator[] (const gslice &) const |
| gslice_array< Type > | operator[] (const gslice &) |
| valarray< Type > | operator[] (const valarray< bool > &) const |
| mask_array< Type > | operator[] (const valarray< bool > &) |
|
Expr< IClos< ValArray, Type >, Type > | operator[] (const valarray< size_t > &) const |
| indirect_array< Type > | operator[] (const valarray< size_t > &) |
| size_t | size () const |
| Type | sum () const |
| Type | min () const |
| Type | max () const |
| valarray< Type > | shift (int) const |
| valarray< Type > | cshift (int) const |
|
Expr< ValFunClos< ValArray, Type >, Type > | apply (Type func(Type)) const |
|
Expr< RefFunClos< ValArray, Type >, Type > | apply (Type func(const Type &)) const |
| void | resize (size_t size, Type c=Type()) |
| template<typename Type> | |
| valarray (const Type *__restrict__ __p, size_t n) | |
| template<typename Type> | |
| valarray (const valarray< Type > &__v) | |
Private Attributes | |
| size_t | M_size |
| Type *__restrict__ | M_data |
Friends | |
| class | Array< Type > |
Classes | |
| struct | UnaryOp |
Definition at line 98 of file valarray.
1.4.7