AbstractLinAlgPack::EtaVector Class Reference

Create an eta vector (scaled by alpha = default 1). More...

#include <AbstractLinAlgPack_EtaVector.hpp>

List of all members.

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 SpVectorSliceoperator() () const
 Explicit conversion to a SpVectorSlice object.

Private Member Functions

 EtaVector ()
EtaVectoroperator= (const EtaVector &)

Private Attributes

ele_t ele_
SpVectorSlice sv_

Detailed Description

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 44 of file AbstractLinAlgPack_EtaVector.hpp.

Member Typedef Documentation

typedef SpVectorSlice::element_type AbstractLinAlgPack::EtaVector::ele_t

Definition at line 47 of file AbstractLinAlgPack_EtaVector.hpp.

Constructor & Destructor Documentation

AbstractLinAlgPack::EtaVector::EtaVector ( ele_t::index_type  i,
size_type  n,
ele_t::value_type  alpha = 1.0 
) [inline]

Definition at line 51 of file AbstractLinAlgPack_EtaVector.hpp.

AbstractLinAlgPack::EtaVector::EtaVector (  )  [private]

Member Function Documentation

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.

EtaVector& AbstractLinAlgPack::EtaVector::operator= ( const EtaVector  )  [private]

Member Data Documentation

ele_t AbstractLinAlgPack::EtaVector::ele_ [private]

Definition at line 68 of file AbstractLinAlgPack_EtaVector.hpp.

SpVectorSlice AbstractLinAlgPack::EtaVector::sv_ [private]

Definition at line 69 of file AbstractLinAlgPack_EtaVector.hpp.

The documentation for this class was generated from the following file:
Generated on Tue Oct 20 12:54:03 2009 for MOOCHO (Single Doxygen Collection) by doxygen 1.4.7