Thyra Version of the Day
Loading...
Searching...
No Matches
Thyra::ConstDetachedMultiVectorView< Scalar > Class Template Reference

Create an explicit non-mutable (const) view of a MultiVectorBase object. More...

#include <Thyra_DetachedMultiVectorView.hpp>

Public Member Functions

 ConstDetachedMultiVectorView (const RCP< const MultiVectorBase< Scalar > > &mv, const Range1D &rowRng=Range1D(), const Range1D &colRng=Range1D())
 ConstDetachedMultiVectorView (const MultiVectorBase< Scalar > &mv, const Range1D &rowRng=Range1D(), const Range1D &colRng=Range1D())
 ~ConstDetachedMultiVectorView ()
const RTOpPack::ConstSubMultiVectorView< Scalar > & smv () const
Ordinal globalOffset () const
Ordinal subDim () const
Ordinal colOffset () const
Ordinal numSubCols () const
const Scalar * values () const
Ordinal leadingDim () const
const Scalar & operator() (Ordinal i, Ordinal j) const

Detailed Description

template<class Scalar>
class Thyra::ConstDetachedMultiVectorView< Scalar >

Create an explicit non-mutable (const) view of a MultiVectorBase object.

Definition at line 25 of file Thyra_DetachedMultiVectorView.hpp.

Constructor & Destructor Documentation

◆ ConstDetachedMultiVectorView() [1/2]

template<class Scalar>
Thyra::ConstDetachedMultiVectorView< Scalar >::ConstDetachedMultiVectorView ( const RCP< const MultiVectorBase< Scalar > > & mv,
const Range1D & rowRng = Range1D(),
const Range1D & colRng = Range1D() )
inline

Definition at line 28 of file Thyra_DetachedMultiVectorView.hpp.

◆ ConstDetachedMultiVectorView() [2/2]

template<class Scalar>
Thyra::ConstDetachedMultiVectorView< Scalar >::ConstDetachedMultiVectorView ( const MultiVectorBase< Scalar > & mv,
const Range1D & rowRng = Range1D(),
const Range1D & colRng = Range1D() )
inline

Definition at line 34 of file Thyra_DetachedMultiVectorView.hpp.

◆ ~ConstDetachedMultiVectorView()

template<class Scalar>
Thyra::ConstDetachedMultiVectorView< Scalar >::~ConstDetachedMultiVectorView ( )
inline

Definition at line 40 of file Thyra_DetachedMultiVectorView.hpp.

Member Function Documentation

◆ smv()

template<class Scalar>
const RTOpPack::ConstSubMultiVectorView< Scalar > & Thyra::ConstDetachedMultiVectorView< Scalar >::smv ( ) const
inline

Definition at line 42 of file Thyra_DetachedMultiVectorView.hpp.

◆ globalOffset()

template<class Scalar>
Ordinal Thyra::ConstDetachedMultiVectorView< Scalar >::globalOffset ( ) const
inline

Definition at line 44 of file Thyra_DetachedMultiVectorView.hpp.

◆ subDim()

template<class Scalar>
Ordinal Thyra::ConstDetachedMultiVectorView< Scalar >::subDim ( ) const
inline

Definition at line 46 of file Thyra_DetachedMultiVectorView.hpp.

◆ colOffset()

template<class Scalar>
Ordinal Thyra::ConstDetachedMultiVectorView< Scalar >::colOffset ( ) const
inline

Definition at line 48 of file Thyra_DetachedMultiVectorView.hpp.

◆ numSubCols()

template<class Scalar>
Ordinal Thyra::ConstDetachedMultiVectorView< Scalar >::numSubCols ( ) const
inline

Definition at line 50 of file Thyra_DetachedMultiVectorView.hpp.

◆ values()

template<class Scalar>
const Scalar * Thyra::ConstDetachedMultiVectorView< Scalar >::values ( ) const
inline

Definition at line 52 of file Thyra_DetachedMultiVectorView.hpp.

◆ leadingDim()

template<class Scalar>
Ordinal Thyra::ConstDetachedMultiVectorView< Scalar >::leadingDim ( ) const
inline

Definition at line 54 of file Thyra_DetachedMultiVectorView.hpp.

◆ operator()()

template<class Scalar>
const Scalar & Thyra::ConstDetachedMultiVectorView< Scalar >::operator() ( Ordinal i,
Ordinal j ) const
inline

Zero-based indexing: Preconditions: values()!=NULL && (0<=i<subDim()) && (0<=j<numSubCols())

Definition at line 58 of file Thyra_DetachedMultiVectorView.hpp.


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