Public Member Functions |
| | type_proxy (T &ref, bool read_only) |
| | Proxy constructor.
|
| | type_proxy (const T &ref, bool read_only=true) |
| | Proxy constructor.
|
| | type_proxy (const type_proxy &p) |
| | Proxy copy constructor.
|
| | operator T () const |
| | Type cast to value.
|
| T | val () const |
| | Value.
|
| T & | get () throw (cvmexception) |
| | Reference to value.
|
| const T & | get () const |
| | Const reference to value.
|
| type_proxy & | operator= (const type_proxy &p) |
| | Assignment operator.
|
| type_proxy & | operator= (const T &v) throw (cvmexception) |
| | Assignment operator.
|
| T * | operator& () throw (cvmexception) |
| | Address operator.
|
| const T * | operator& () const |
| | Address operator.
|
| template<typename U > |
| T & | operator+= (const U &u) throw (cvmexception) |
| | Increment by.
|
| template<typename U > |
| T & | operator-= (const U &u) throw (cvmexception) |
| | Decrement by.
|
| template<typename U > |
| T & | operator*= (const U &u) throw (cvmexception) |
| | Multiply by.
|
| template<typename U > |
| T & | operator/= (const U &u) throw (cvmexception) |
| | Divide by.
|
| template<typename U > |
| T | operator+ (const U &u) const |
| | Addition operator.
|
| template<typename U > |
| T | operator- (const U &u) const |
| | Subtraction operator.
|
| template<typename U > |
| T | operator* (const U &u) const |
| | Multiplication operator.
|
| template<typename U > |
| T | operator/ (const U &u) const |
| | Division operator.
|
| T | operator+ (const type_proxy< T, TR > &u) const |
| | Addition operator.
|
| T | operator- (const type_proxy< T, TR > &u) const |
| | Subtraction operator.
|
| T | operator* (const type_proxy< T, TR > &u) const |
| | Multiplication operator.
|
| T | operator/ (const type_proxy< T, TR > &u) const |
| | Division operator.
|
| T | operator- () const |
| | Unary minus operator.
|
| TR | real () const |
| | Real part.
|
| TR | imag () const |
| | Imaginary part.
|
template<typename T, typename TR>
class type_proxy< T, TR >
Read-write access for a particular value.
This class is used to resctict access to elements of specific matrices like symmetric, hermitian and band ones.
Definition at line 1350 of file cvm.h.