Thyra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Related Functions | List of all members
Thyra::DefaultProductVector< Scalar > Class Template Reference

Concrete implementation of a product vector. More...

#include <Thyra_DefaultProductVector_decl.hpp>

Inheritance diagram for Thyra::DefaultProductVector< Scalar >:
Inheritance graph
[legend]

Related Functions

(Note that these are not member functions.)

template<class Scalar >
RCP< DefaultProductVector
< Scalar > > 
defaultProductVector ()
 Nonmember constructor. More...
 
template<class Scalar >
RCP< DefaultProductVector
< Scalar > > 
defaultProductVector (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace)
 Nonmember constructor. More...
 
template<class Scalar >
RCP< DefaultProductVector
< Scalar > > 
defaultProductVector (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace, const ArrayView< const RCP< VectorBase< Scalar > > > &vecs)
 Nonmember constructor. More...
 
template<class Scalar >
RCP< DefaultProductVector
< Scalar > > 
defaultProductVector (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace, const ArrayView< const RCP< const VectorBase< Scalar > > > &vecs)
 Nonmember constructor. More...
 
template<class Scalar >
RCP< ProductVectorBase< Scalar > > castOrCreateNonconstProductVectorBase (const RCP< VectorBase< Scalar > > v)
 Return a casted non-const ProductVectorBase object or create a new DefaultProductVector object with one component. More...
 
template<class Scalar >
RCP< const ProductVectorBase
< Scalar > > 
castOrCreateProductVectorBase (const RCP< const VectorBase< Scalar > > v)
 Return a casted const ProductVectorBase object or create a new DefaultProductVector object with one component. More...
 

Constructors/initializers/accessors

 DefaultProductVector ()
 Construct to uninitialized. More...
 
 DefaultProductVector (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace)
 Constructs to initialized (calls initialize()). More...
 
void initialize (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace)
 Initialize. More...
 
void initialize (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace, const ArrayView< const RCP< VectorBase< Scalar > > > &vecs)
 Initialize. More...
 
void initialize (const RCP< const DefaultProductVectorSpace< Scalar > > &productSpace, const ArrayView< const RCP< const VectorBase< Scalar > > > &vecs)
 Initialize. More...
 
void uninitialize ()
 Uninitialize. More...
 

Overridden from Teuchos::Describable

std::string description () const
 
void describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const
 

Extensions to ProductVectorBase suitable for physically-blocked vectors

void setBlock (int i, const RCP< const VectorBase< Scalar > > &b)
 
void setNonconstBlock (int i, const RCP< VectorBase< Scalar > > &b)
 

Overridden from ProductVectorBase

RCP< VectorBase< Scalar > > getNonconstVectorBlock (const int k)
 
RCP< const VectorBase< Scalar > > getVectorBlock (const int k) const
 

Overridden public functions from ProductMultiVectorBase

RCP< const
ProductVectorSpaceBase< Scalar > > 
productSpace () const
 
bool blockIsConst (const int k) const
 
RCP< MultiVectorBase< Scalar > > getNonconstMultiVectorBlock (const int k)
 
RCP< const MultiVectorBase
< Scalar > > 
getMultiVectorBlock (const int k) const
 

Overridden public functions from VectorBase

RCP< const VectorSpaceBase
< Scalar > > 
space () const
 

Overridden protected functions from VectorBase

virtual void absImpl (const VectorBase< Scalar > &x)
 
virtual void reciprocalImpl (const VectorBase< Scalar > &x)
 
virtual void eleWiseScaleImpl (const VectorBase< Scalar > &x)
 
virtual Teuchos::ScalarTraits
< Scalar >::magnitudeType 
norm2WeightedImpl (const VectorBase< Scalar > &x) const
 
void applyOpImpl (const RTOpPack::RTOpT< Scalar > &op, const ArrayView< const Ptr< const VectorBase< Scalar > > > &vecs, const ArrayView< const Ptr< VectorBase< Scalar > > > &targ_vecs, const Ptr< RTOpPack::ReductTarget > &reduct_obj, const Ordinal global_offset) const
 
void acquireDetachedVectorViewImpl (const Range1D &rng, RTOpPack::ConstSubVectorView< Scalar > *sub_vec) const
 
void releaseDetachedVectorViewImpl (RTOpPack::ConstSubVectorView< Scalar > *sub_vec) const
 
void acquireNonconstDetachedVectorViewImpl (const Range1D &rng, RTOpPack::SubVectorView< Scalar > *sub_vec)
 
void commitNonconstDetachedVectorViewImpl (RTOpPack::SubVectorView< Scalar > *sub_vec)
 
void setSubVectorImpl (const RTOpPack::SparseSubVectorT< Scalar > &sub_vec)
 

Overridden protected functions from MultiVectorBase

virtual void assignImpl (Scalar alpha)
 
virtual void assignMultiVecImpl (const MultiVectorBase< Scalar > &mv)
 
virtual void scaleImpl (Scalar alpha)
 
virtual void updateImpl (Scalar alpha, const MultiVectorBase< Scalar > &mv)
 
virtual void linearCombinationImpl (const ArrayView< const Scalar > &alpha, const ArrayView< const Ptr< const MultiVectorBase< Scalar > > > &mv, const Scalar &beta)
 
virtual void dotsImpl (const MultiVectorBase< Scalar > &mv, const ArrayView< Scalar > &prods) const
 
virtual void norms1Impl (const ArrayView< typename ScalarTraits< Scalar >::magnitudeType > &norms) const
 
virtual void norms2Impl (const ArrayView< typename ScalarTraits< Scalar >::magnitudeType > &norms) const
 
virtual void normsInfImpl (const ArrayView< typename ScalarTraits< Scalar >::magnitudeType > &norms) const
 

Additional Inherited Members

- Public Member Functions inherited from Thyra::VectorBase< Scalar >
void assign (const VectorBase< Scalar > &x)
 Vector assignment: More...
 
void randomize (Scalar l, Scalar u)
 Random vector generation: More...
 
void update (Scalar alpha, const VectorBase< Scalar > &x)
 AXPY: More...
 
void linear_combination (const ArrayView< const Scalar > &alpha, const ArrayView< const Ptr< const VectorBase< Scalar > > > &x, const Scalar &beta)
 Linear combination: More...
 
Scalar dot (const VectorBase< Scalar > &x) const
 Euclidean dot product: result = x^H * this. More...
 
Teuchos::ScalarTraits< Scalar >
::magnitudeType 
norm_1 () const
 One (1) norm: result = ||v||1. More...
 
Teuchos::ScalarTraits< Scalar >
::magnitudeType 
norm_2 () const
 Euclidean (2) norm: result = ||v||2. More...
 
Teuchos::ScalarTraits< Scalar >
::magnitudeType 
norm_2 (const VectorBase< Scalar > &x) const
 Weighted Euclidean (2) norm: result = ||v||2. More...
 
Teuchos::ScalarTraits< Scalar >
::magnitudeType 
norm_inf () const
 Infinity norm: result = ||v||inf. More...
 
void applyOp (const RTOpPack::RTOpT< Scalar > &op, const ArrayView< const Ptr< const VectorBase< Scalar > > > &vecs, const ArrayView< const Ptr< VectorBase< Scalar > > > &targ_vecs, const Ptr< RTOpPack::ReductTarget > &reduct_obj, const Ordinal global_offset) const
 Calls applyOpImpl(). More...
 
void acquireDetachedView (const Range1D &rng, RTOpPack::ConstSubVectorView< Scalar > *sub_vec) const
 Calls acquireDetachedVectorViewImpl(). More...
 
void releaseDetachedView (RTOpPack::ConstSubVectorView< Scalar > *sub_vec) const
 Calls releaseDetachedVectorViewImpl(). More...
 
void acquireDetachedView (const Range1D &rng, RTOpPack::SubVectorView< Scalar > *sub_vec)
 Calls acquireNonconstDetachedVectorViewImpl(). More...
 
void commitDetachedView (RTOpPack::SubVectorView< Scalar > *sub_vec)
 Calls commitDetachedView(). More...
 
void setSubVector (const RTOpPack::SparseSubVectorT< Scalar > &sub_vec)
 Calls setSubVectorImpl(). More...
 
- Public Member Functions inherited from Thyra::MultiVectorBase< Scalar >
void assign (Scalar alpha)
 V = alpha. More...
 
void assign (const MultiVectorBase< Scalar > &mv)
 V = mv. More...
 
void scale (Scalar alpha)
 
void update (Scalar alpha, const MultiVectorBase< Scalar > &mv)
 
void linear_combination (const ArrayView< const Scalar > &alpha, const ArrayView< const Ptr< const MultiVectorBase< Scalar > > > &mv, const Scalar &beta)
 Y.col(j)(i) = beta*Y.col(j)(i) + sum( alpha[k]*X[k].col(j)(i), More...
 
void dots (const MultiVectorBase< Scalar > &mv, const ArrayView< Scalar > &prods) const
 Column-wise Euclidean dot product. More...
 
void norms_1 (const ArrayView< typename ScalarTraits< Scalar >::magnitudeType > &norms) const
 Column-wise 1-norms. More...
 
void norms_2 (const ArrayView< typename ScalarTraits< Scalar >::magnitudeType > &norms) const
 Column-wise 2-norms. More...
 
void norms_inf (const ArrayView< typename ScalarTraits< Scalar >::magnitudeType > &norms) const
 Column-wise infinity-norms. More...
 
RCP< const VectorBase< Scalar > > col (Ordinal j) const
 Calls colImpl(). More...
 
RCP< VectorBase< Scalar > > col (Ordinal j)
 Calls nonconstColImpl(). More...
 
RCP< const MultiVectorBase
< Scalar > > 
subView (const Range1D &colRng) const
 Calls contigSubViewImpl(). More...
 
RCP< MultiVectorBase< Scalar > > subView (const Range1D &colRng)
 Calls nonconstContigSubViewImpl(). More...
 
RCP< const MultiVectorBase
< Scalar > > 
subView (const ArrayView< const int > &cols) const
 nonContigSubViewImpl(). More...
 
RCP< MultiVectorBase< Scalar > > subView (const ArrayView< const int > &cols)
 nonconstNonContigSubViewImpl(). More...
 
void applyOp (const RTOpPack::RTOpT< Scalar > &primary_op, const ArrayView< const Ptr< const MultiVectorBase< Scalar > > > &multi_vecs, const ArrayView< const Ptr< MultiVectorBase< Scalar > > > &targ_multi_vecs, const ArrayView< const Ptr< RTOpPack::ReductTarget > > &reduct_objs, const Ordinal primary_global_offset) const
 Calls mvMultiReductApplyOpImpl(). More...
 
void applyOp (const RTOpPack::RTOpT< Scalar > &primary_op, const RTOpPack::RTOpT< Scalar > &secondary_op, const ArrayView< const Ptr< const MultiVectorBase< Scalar > > > &multi_vecs, const ArrayView< const Ptr< MultiVectorBase< Scalar > > > &targ_multi_vecs, const Ptr< RTOpPack::ReductTarget > &reduct_obj, const Ordinal primary_global_offset) const
 mvSingleReductApplyOpImpl(). More...
 
void acquireDetachedView (const Range1D &rowRng, const Range1D &colRng, RTOpPack::ConstSubMultiVectorView< Scalar > *sub_mv) const
 Calls acquireDetachedMultiVectorViewImpl(). More...
 
void releaseDetachedView (RTOpPack::ConstSubMultiVectorView< Scalar > *sub_mv) const
 Calls releaseDetachedMultiVectorViewImpl(). More...
 
void acquireDetachedView (const Range1D &rowRng, const Range1D &colRng, RTOpPack::SubMultiVectorView< Scalar > *sub_mv)
 Calls acquireNonconstDetachedMultiVectorViewImpl(). More...
 
void commitDetachedView (RTOpPack::SubMultiVectorView< Scalar > *sub_mv)
 Calls commitNonconstDetachedMultiVectorViewImpl(). More...
 
RCP< const LinearOpBase< Scalar > > clone () const
 This function is simply overridden to return this->clone_mv(). More...
 
- Public Member Functions inherited from Thyra::LinearOpBase< Scalar >
bool opSupported (EOpTransp M_trans) const
 Return if the M_trans operation of apply() is supported or not. More...
 
void apply (const EOpTransp M_trans, const MultiVectorBase< Scalar > &X, const Ptr< MultiVectorBase< Scalar > > &Y, const Scalar alpha, const Scalar beta) const
 Apply the linear operator to a multi-vector : Y = alpha*op(M)*X + beta*Y. More...
 
- Public Member Functions inherited from Thyra::RowStatLinearOpBase< Scalar >
bool rowStatIsSupported (const RowStatLinearOpBaseUtils::ERowStat rowStat) const
 Determine if a given row stat is supported. More...
 
void getRowStat (const RowStatLinearOpBaseUtils::ERowStat rowStat, const Ptr< VectorBase< Scalar > > &rowStatVec) const
 Get some statistics about a supported row. More...
 
- Public Member Functions inherited from Thyra::ScaledLinearOpBase< Scalar >
bool supportsScaleLeft () const
 Determines if this objects supports left scaling. More...
 
bool supportsScaleRight () const
 Determines if this objects supports right scaling. More...
 
void scaleLeft (const VectorBase< Scalar > &row_scaling)
 Left scales operator with diagonal scaling operator. More...
 
void scaleRight (const VectorBase< Scalar > &col_scaling)
 Right scales operator with diagonal scaling operator. More...
 
- Protected Member Functions inherited from Thyra::VectorBase< Scalar >
- Protected Member Functions inherited from Thyra::MultiVectorBase< Scalar >
void absRowSum (const Teuchos::Ptr< Thyra::VectorBase< Scalar > > &output) const
 
void absColSum (const Teuchos::Ptr< Thyra::VectorBase< Scalar > > &output) const
 
virtual RCP< const VectorBase
< Scalar > > 
colImpl (Ordinal j) const
 Return a non-changeable view of a constituent column vector. More...
 
virtual bool rowStatIsSupportedImpl (const RowStatLinearOpBaseUtils::ERowStat rowStat) const
 
virtual void getRowStatImpl (const RowStatLinearOpBaseUtils::ERowStat rowStat, const Ptr< VectorBase< Scalar > > &rowStatVec) const
 
virtual bool supportsScaleLeftImpl () const
 
virtual bool supportsScaleRightImpl () const
 
virtual void scaleLeftImpl (const VectorBase< Scalar > &row_scaling)
 
virtual void scaleRightImpl (const VectorBase< Scalar > &col_scaling)
 
- Protected Member Functions inherited from Thyra::LinearOpBase< Scalar >
- Protected Member Functions inherited from Thyra::RowStatLinearOpBase< Scalar >
- Protected Member Functions inherited from Thyra::ScaledLinearOpBase< Scalar >
- Protected Member Functions inherited from Thyra::VectorDefaultBase< Scalar >
virtual void assignVecImpl (const VectorBase< Scalar > &x)
 Default implementation of assign(vector) using RTOps. More...
 
virtual void randomizeImpl (Scalar l, Scalar u)
 Default implementation of randomize using RTOps. More...
 
virtual void updateVecImpl (Scalar alpha, const VectorBase< Scalar > &x)
 Default implementation of update using RTOps. More...
 
virtual void linearCombinationVecImpl (const ArrayView< const Scalar > &alpha, const ArrayView< const Ptr< const VectorBase< Scalar > > > &x, const Scalar &beta)
 Default implementation of linear_combination using RTOps. More...
 
virtual Scalar dotImpl (const VectorBase< Scalar > &x) const
 Default implementation of dot using RTOps. More...
 
virtual Teuchos::ScalarTraits
< Scalar >::magnitudeType 
norm1Impl () const
 Default implementation of norm_1 using RTOps. More...
 
virtual Teuchos::ScalarTraits
< Scalar >::magnitudeType 
norm2Impl () const
 Default implementation of norm_2 using RTOps. More...
 
virtual Teuchos::ScalarTraits
< Scalar >::magnitudeType 
normInfImpl () const
 Default implementation of norm_inf using RTOps. More...
 
virtual RCP< VectorBase< Scalar > > nonconstColImpl (Ordinal j)
 Returns Teuchos::rcp(this,false). More...
 
virtual RCP< const
MultiVectorBase< Scalar > > 
contigSubViewImpl (const Range1D &col_rng) const
 Returns Teuchos::rcp(this,false). More...
 
virtual RCP< MultiVectorBase
< Scalar > > 
nonconstContigSubViewImpl (const Range1D &col_rng)
 Returns Teuchos::rcp(this,false). More...
 
virtual RCP< const
MultiVectorBase< Scalar > > 
nonContigSubViewImpl (const ArrayView< const int > &cols) const
 Returns Teuchos::rcp(this,false). More...
 
virtual RCP< MultiVectorBase
< Scalar > > 
nonconstNonContigSubViewImpl (const ArrayView< const int > &cols)
 Returns Teuchos::rcp(this,false). More...
 
virtual void acquireDetachedMultiVectorViewImpl (const Range1D &rowRng, const Range1D &colRng, RTOpPack::ConstSubMultiVectorView< Scalar > *sub_mv) const
 Implemented in terms of this->acquireDetachedView(). More...
 
virtual void releaseDetachedMultiVectorViewImpl (RTOpPack::ConstSubMultiVectorView< Scalar > *sub_mv) const
 Implemented in terms of this->releaseDetachedView(). More...
 
virtual void acquireNonconstDetachedMultiVectorViewImpl (const Range1D &rowRng, const Range1D &colRng, RTOpPack::SubMultiVectorView< Scalar > *sub_mv)
 Implemented in terms of this->acquireDetachedView(). More...
 
virtual void commitNonconstDetachedMultiVectorViewImpl (RTOpPack::SubMultiVectorView< Scalar > *sub_mv)
 Implemented in terms of this->commitDetachedView(). More...
 
bool opSupportedImpl (EOpTransp M_trans) const
 For complex Scalar types returns true for NOTRANS and CONJTRANS and for real types returns true for all values of M_trans. More...
 
void applyImpl (const EOpTransp M_trans, const MultiVectorBase< Scalar > &X, const Ptr< MultiVectorBase< Scalar > > &Y, const Scalar alpha, const Scalar beta) const
 . Applies vector or its adjoint (transpose) as a linear operator. More...
 
virtual RCP< const
VectorSpaceBase< Scalar > > 
range () const
 Returns this->space(). More...
 
virtual RCP< const
VectorSpaceBase< Scalar > > 
domain () const
 Returns a DefaultSerialVectorSpace object with dimension 1. More...
 
RCP< MultiVectorBase< Scalar > > clone_mv () const
 Returns this->clone_v(). More...
 
RCP< VectorBase< Scalar > > clone_v () const
 Simply creates a new vector and copies the contents from *this. More...
 
- Protected Member Functions inherited from Thyra::MultiVectorDefaultBase< Scalar >
virtual void mvMultiReductApplyOpImpl (const RTOpPack::RTOpT< Scalar > &primary_op, const ArrayView< const Ptr< const MultiVectorBase< Scalar > > > &multi_vecs, const ArrayView< const Ptr< MultiVectorBase< Scalar > > > &targ_multi_vecs, const ArrayView< const Ptr< RTOpPack::ReductTarget > > &reduct_objs, const Ordinal primary_global_offset) const
 
virtual void mvSingleReductApplyOpImpl (const RTOpPack::RTOpT< Scalar > &primary_op, const RTOpPack::RTOpT< Scalar > &secondary_op, const ArrayView< const Ptr< const MultiVectorBase< Scalar > > > &multi_vecs, const ArrayView< const Ptr< MultiVectorBase< Scalar > > > &targ_multi_vecs, const Ptr< RTOpPack::ReductTarget > &reduct_obj, const Ordinal primary_global_offset) const
 
- Protected Member Functions inherited from Thyra::LinearOpDefaultBase< Scalar >

Detailed Description

template<class Scalar>
class Thyra::DefaultProductVector< Scalar >

Concrete implementation of a product vector.

Note that clients should almost never be creating objects of this type explicitly and should instead use DefaultProductVectorSpace as a factory.

ToDo: Finish documentation!

The default constructor is made private to avoid accidental default construction.

Definition at line 40 of file Thyra_DefaultProductVector_decl.hpp.

Constructor & Destructor Documentation

template<class Scalar >
Thyra::DefaultProductVector< Scalar >::DefaultProductVector ( )

Construct to uninitialized.

Definition at line 26 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
Thyra::DefaultProductVector< Scalar >::DefaultProductVector ( const RCP< const DefaultProductVectorSpace< Scalar > > &  productSpace)

Constructs to initialized (calls initialize()).

Definition at line 34 of file Thyra_DefaultProductVector_def.hpp.

Member Function Documentation

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::initialize ( const RCP< const DefaultProductVectorSpace< Scalar > > &  productSpace)

Initialize.

ToDo: Finish documentation.

Definition at line 44 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::initialize ( const RCP< const DefaultProductVectorSpace< Scalar > > &  productSpace,
const ArrayView< const RCP< VectorBase< Scalar > > > &  vecs 
)

Initialize.

ToDo: Finish documentation.

Definition at line 58 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::initialize ( const RCP< const DefaultProductVectorSpace< Scalar > > &  productSpace,
const ArrayView< const RCP< const VectorBase< Scalar > > > &  vecs 
)

Initialize.

ToDo: Finish documentation.

Definition at line 77 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::uninitialize ( )

Uninitialize.

ToDo: Finish documentation.

Definition at line 96 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
std::string Thyra::DefaultProductVector< Scalar >::description ( ) const
virtual

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 108 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::describe ( Teuchos::FancyOStream out,
const Teuchos::EVerbosityLevel  verbLevel 
) const
virtual

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 123 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::setBlock ( int  i,
const RCP< const VectorBase< Scalar > > &  b 
)

Definition at line 168 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::setNonconstBlock ( int  i,
const RCP< VectorBase< Scalar > > &  b 
)

Definition at line 181 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
RCP< VectorBase< Scalar > > Thyra::DefaultProductVector< Scalar >::getNonconstVectorBlock ( const int  k)
virtual
template<class Scalar >
RCP< const VectorBase< Scalar > > Thyra::DefaultProductVector< Scalar >::getVectorBlock ( const int  k) const
virtual
template<class Scalar >
RCP< const ProductVectorSpaceBase< Scalar > > Thyra::DefaultProductVector< Scalar >::productSpace ( ) const
virtual
template<class Scalar >
bool Thyra::DefaultProductVector< Scalar >::blockIsConst ( const int  k) const
virtual
template<class Scalar >
RCP< MultiVectorBase< Scalar > > Thyra::DefaultProductVector< Scalar >::getNonconstMultiVectorBlock ( const int  k)
virtual
template<class Scalar >
RCP< const MultiVectorBase< Scalar > > Thyra::DefaultProductVector< Scalar >::getMultiVectorBlock ( const int  k) const
virtual
template<class Scalar >
RCP< const VectorSpaceBase< Scalar > > Thyra::DefaultProductVector< Scalar >::space ( ) const
virtual

Implements Thyra::VectorBase< Scalar >.

Definition at line 260 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::absImpl ( const VectorBase< Scalar > &  x)
protectedvirtual

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 279 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::reciprocalImpl ( const VectorBase< Scalar > &  x)
protectedvirtual

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 300 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::eleWiseScaleImpl ( const VectorBase< Scalar > &  x)
protectedvirtual

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 321 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
Teuchos::ScalarTraits< Scalar >::magnitudeType Thyra::DefaultProductVector< Scalar >::norm2WeightedImpl ( const VectorBase< Scalar > &  x) const
protectedvirtual

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 343 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::applyOpImpl ( const RTOpPack::RTOpT< Scalar > &  op,
const ArrayView< const Ptr< const VectorBase< Scalar > > > &  vecs,
const ArrayView< const Ptr< VectorBase< Scalar > > > &  targ_vecs,
const Ptr< RTOpPack::ReductTarget > &  reduct_obj,
const Ordinal  global_offset 
) const
protectedvirtual

Implements Thyra::VectorBase< Scalar >.

Definition at line 369 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::acquireDetachedVectorViewImpl ( const Range1D rng,
RTOpPack::ConstSubVectorView< Scalar > *  sub_vec 
) const
protectedvirtual

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 489 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::releaseDetachedVectorViewImpl ( RTOpPack::ConstSubVectorView< Scalar > *  sub_vec) const
protectedvirtual

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 524 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::acquireNonconstDetachedVectorViewImpl ( const Range1D rng,
RTOpPack::SubVectorView< Scalar > *  sub_vec 
)
protectedvirtual

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 552 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::commitNonconstDetachedVectorViewImpl ( RTOpPack::SubVectorView< Scalar > *  sub_vec)
protectedvirtual

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 587 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::setSubVectorImpl ( const RTOpPack::SparseSubVectorT< Scalar > &  sub_vec)
protectedvirtual

Reimplemented from Thyra::VectorDefaultBase< Scalar >.

Definition at line 615 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::assignImpl ( Scalar  alpha)
protectedvirtual

Reimplemented from Thyra::MultiVectorDefaultBase< Scalar >.

Definition at line 648 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::assignMultiVecImpl ( const MultiVectorBase< Scalar > &  mv)
protectedvirtual

Reimplemented from Thyra::MultiVectorDefaultBase< Scalar >.

Definition at line 657 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::scaleImpl ( Scalar  alpha)
protectedvirtual

Reimplemented from Thyra::MultiVectorDefaultBase< Scalar >.

Definition at line 680 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::updateImpl ( Scalar  alpha,
const MultiVectorBase< Scalar > &  mv 
)
protectedvirtual

Reimplemented from Thyra::MultiVectorDefaultBase< Scalar >.

Definition at line 689 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::linearCombinationImpl ( const ArrayView< const Scalar > &  alpha,
const ArrayView< const Ptr< const MultiVectorBase< Scalar > > > &  mv,
const Scalar &  beta 
)
protectedvirtual

Reimplemented from Thyra::MultiVectorDefaultBase< Scalar >.

Definition at line 713 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::dotsImpl ( const MultiVectorBase< Scalar > &  mv,
const ArrayView< Scalar > &  prods 
) const
protectedvirtual

Reimplemented from Thyra::MultiVectorDefaultBase< Scalar >.

Definition at line 755 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::norms1Impl ( const ArrayView< typename ScalarTraits< Scalar >::magnitudeType > &  norms) const
protectedvirtual

Reimplemented from Thyra::MultiVectorDefaultBase< Scalar >.

Definition at line 783 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::norms2Impl ( const ArrayView< typename ScalarTraits< Scalar >::magnitudeType > &  norms) const
protectedvirtual

Reimplemented from Thyra::MultiVectorDefaultBase< Scalar >.

Definition at line 799 of file Thyra_DefaultProductVector_def.hpp.

template<class Scalar >
void Thyra::DefaultProductVector< Scalar >::normsInfImpl ( const ArrayView< typename ScalarTraits< Scalar >::magnitudeType > &  norms) const
protectedvirtual

Reimplemented from Thyra::MultiVectorDefaultBase< Scalar >.

Definition at line 818 of file Thyra_DefaultProductVector_def.hpp.

Friends And Related Function Documentation

template<class Scalar >
RCP< DefaultProductVector< Scalar > > defaultProductVector ( )
related

Nonmember constructor.

Definition at line 262 of file Thyra_DefaultProductVector_decl.hpp.

template<class Scalar >
RCP< DefaultProductVector< Scalar > > defaultProductVector ( const RCP< const DefaultProductVectorSpace< Scalar > > &  productSpace)
related

Nonmember constructor.

Definition at line 275 of file Thyra_DefaultProductVector_decl.hpp.

template<class Scalar >
RCP< DefaultProductVector< Scalar > > defaultProductVector ( const RCP< const DefaultProductVectorSpace< Scalar > > &  productSpace,
const ArrayView< const RCP< VectorBase< Scalar > > > &  vecs 
)
related

Nonmember constructor.

Definition at line 291 of file Thyra_DefaultProductVector_decl.hpp.

template<class Scalar >
RCP< DefaultProductVector< Scalar > > defaultProductVector ( const RCP< const DefaultProductVectorSpace< Scalar > > &  productSpace,
const ArrayView< const RCP< const VectorBase< Scalar > > > &  vecs 
)
related

Nonmember constructor.

Definition at line 308 of file Thyra_DefaultProductVector_decl.hpp.

template<class Scalar >
RCP< ProductVectorBase< Scalar > > castOrCreateNonconstProductVectorBase ( const RCP< VectorBase< Scalar > >  v)
related

Return a casted non-const ProductVectorBase object or create a new DefaultProductVector object with one component.

template<class Scalar >
RCP< const ProductVectorBase< Scalar > > castOrCreateProductVectorBase ( const RCP< const VectorBase< Scalar > >  v)
related

Return a casted const ProductVectorBase object or create a new DefaultProductVector object with one component.


The documentation for this class was generated from the following files: