MOOCHO (Single Doxygen Collection)
Version of the Day
|
Create an eta vector (scaled by alpha = default 1). More...
#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. More... | |
const SpVectorSlice & | operator() () const |
Explicit conversion to a SpVectorSlice object. More... | |
Private Member Functions | |
EtaVector () | |
EtaVector & | operator= (const EtaVector &) |
Private Attributes | |
ele_t | ele_ |
SpVectorSlice | sv_ |
Create an eta vector (scaled by alpha = default 1).
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 57 of file AbstractLinAlgPack_EtaVector.hpp.
Definition at line 60 of file AbstractLinAlgPack_EtaVector.hpp.
|
inline |
Definition at line 64 of file AbstractLinAlgPack_EtaVector.hpp.
|
private |
|
inline |
Implicit conversion to a SpVectorSlice object.
Definition at line 69 of file AbstractLinAlgPack_EtaVector.hpp.
|
inline |
Explicit conversion to a SpVectorSlice object.
Definition at line 75 of file AbstractLinAlgPack_EtaVector.hpp.
|
private |
Definition at line 81 of file AbstractLinAlgPack_EtaVector.hpp.
|
private |
Definition at line 82 of file AbstractLinAlgPack_EtaVector.hpp.