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 99 of file test/Handle/cxx_main.cpp.


Constructor & Destructor Documentation

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

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


Member Function Documentation

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

Implements VecBase.

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

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

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

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

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

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

Implements VecBase.

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

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

Implements VecBase.

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

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

Implements VecBase.

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

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

Implements VecBase.

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

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

Implements VecBase.

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

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

Implements VecBase.

Definition at line 166 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 168 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 168 of file test/Handle/cxx_main.cpp.


Member Data Documentation

Array<double> VecA::x_ [private]

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

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

Definition at line 171 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

Generated on Tue Oct 20 10:14:02 2009 for Teuchos Package Browser (Single Doxygen Collection) by  doxygen 1.6.1