Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Public Member Functions | Private Attributes
VecA Class Reference
Inheritance diagram for VecA:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 VecA (int n, const RCP< const VecSpaceBase > &sp)
RCP< const VecSpaceBasespace () const
void add (const VecBase *other, RCP< VecBase > &result) const
double dot (const VecBase *other) const
void scale (const double &a)
RCP< VecBasecopy () const
void print (std::ostream &os) const
void setElement (int i, const double &x)
const double & getElement (int i) const
int dim () const
virtual Teuchos::RCP< const
VecBase
getConstRcp () const
virtual Teuchos::RCP< VecBasegetRcp ()

Private Attributes

Array< double > x_
RCP< const VecSpaceBasesp_

Detailed Description

Definition at line 110 of file test/Handle/cxx_main.cpp.


Constructor & Destructor Documentation

VecA::VecA ( int  n,
const RCP< const VecSpaceBase > &  sp 
) [inline]

Definition at line 113 of file test/Handle/cxx_main.cpp.


Member Function Documentation

RCP<const VecSpaceBase> VecA::space ( ) const [inline, virtual]

Implements VecBase.

Definition at line 117 of file test/Handle/cxx_main.cpp.

void VecA::add ( const VecBase other,
RCP< VecBase > &  result 
) const [inline, virtual]

Implements VecBase.

Definition at line 119 of file test/Handle/cxx_main.cpp.

double VecA::dot ( const VecBase other) const [inline, virtual]

Implements VecBase.

Definition at line 132 of file test/Handle/cxx_main.cpp.

void VecA::scale ( const double &  a) [inline, virtual]

Implements VecBase.

Definition at line 144 of file test/Handle/cxx_main.cpp.

RCP<VecBase> VecA::copy ( ) const [inline, virtual]

Implements VecBase.

Definition at line 152 of file test/Handle/cxx_main.cpp.

void VecA::print ( std::ostream &  os) const [inline, virtual]

Implements VecBase.

Definition at line 164 of file test/Handle/cxx_main.cpp.

void VecA::setElement ( int  i,
const double &  x 
) [inline, virtual]

Implements VecBase.

Definition at line 172 of file test/Handle/cxx_main.cpp.

const double& VecA::getElement ( int  i) const [inline, virtual]

Implements VecBase.

Definition at line 175 of file test/Handle/cxx_main.cpp.

int VecA::dim ( ) const [inline, virtual]

Implements VecBase.

Definition at line 177 of file test/Handle/cxx_main.cpp.

virtual Teuchos::RCP<const VecBase > VecA::getConstRcp ( ) const [inline, virtual]

Teuchos::ConstHandleable<VecBase > interface

Implements Teuchos::ConstHandleable< VecBase >.

Definition at line 179 of file test/Handle/cxx_main.cpp.

virtual Teuchos::RCP< VecBase > VecA::getRcp ( ) [inline, virtual]

Teuchos::Handleable<VecBase > interface

Implements Teuchos::Handleable< VecBase >.

Definition at line 179 of file test/Handle/cxx_main.cpp.


Member Data Documentation

Array<double> VecA::x_ [private]

Definition at line 181 of file test/Handle/cxx_main.cpp.

RCP<const VecSpaceBase> VecA::sp_ [private]

Definition at line 182 of file test/Handle/cxx_main.cpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines