#include <AbstractLinAlgPack_EtaVector.hpp>
Public Types | |
| typedef SpVectorSlice::element_type | ele_t |
Public Member Functions | |
| EtaVector (ele_t::index_type i, size_type n, ele_t::value_type alpha=1.0) | |
| | |
| operator const SpVectorSlice () const | |
| Implicit conversion to a SpVectorSlice object. | |
| const SpVectorSlice & | operator() () const |
| Explicit conversion to a SpVectorSlice object. | |
The created vector is of size n and has the single nonzero element of eta(i) = alpha.
The default constructor and assignment functions are not allowed.
Definition at line 44 of file AbstractLinAlgPack_EtaVector.hpp.
| AbstractLinAlgPack::EtaVector::EtaVector | ( | ele_t::index_type | i, | |
| size_type | n, | |||
| ele_t::value_type | alpha = 1.0 | |||
| ) | [inline] |
| AbstractLinAlgPack::EtaVector::operator const SpVectorSlice | ( | ) | const [inline] |
Implicit conversion to a SpVectorSlice object.
Definition at line 56 of file AbstractLinAlgPack_EtaVector.hpp.
| const SpVectorSlice& AbstractLinAlgPack::EtaVector::operator() | ( | ) | const [inline] |
Explicit conversion to a SpVectorSlice object.
Definition at line 62 of file AbstractLinAlgPack_EtaVector.hpp.
1.4.7