# Collection of standard multi-vector operations using linear algebra naming convention. [Collection of multi-vector operations for all scalar types.]

Collaboration diagram for Collection of standard multi-vector operations using linear algebra naming convention.:

## Functions

template<class Scalar>
void Thyra::Vt_S (const Ptr< MultiVectorBase< Scalar > > &Z, const Scalar &alpha)
`Z(i,j) *= alpha, i = 0...Z->range()->dim()-1, j = 0...Z->domain()->dim()-1`.
template<class Scalar>
void Thyra::Vp_S (const Ptr< MultiVectorBase< Scalar > > &Z, const Scalar &alpha)
`Z(i,j) += alpha, i = 0...Z->range()->dim()-1, j = 0...Z->domain()->dim()-1`.
template<class Scalar>
void Thyra::Vp_V (const Ptr< MultiVectorBase< Scalar > > &Z, const MultiVectorBase< Scalar > &X)
`Z(i,j) += X(i,j), i = 0...Z->range()->dim()-1, j = 0...Z->domain()->dim()-1`.
template<class Scalar>
void Thyra::V_VpV (const Ptr< MultiVectorBase< Scalar > > &Z, const MultiVectorBase< Scalar > &X, const MultiVectorBase< Scalar > &Y)
`Z(i,j) = X(i,j) + Y(i,j), i = 0...Z->range()->dim()-1, j = 0...Z->domain()->dim()-1`.
template<class Scalar>
void Thyra::V_VmV (const Ptr< MultiVectorBase< Scalar > > &Z, const MultiVectorBase< Scalar > &X, const MultiVectorBase< Scalar > &Y)
`Z(i,j) = X(i,j) - Y(i,j), i = 0...Z->range()->dim()-1, j = 0...Z->domain()->dim()-1`.
template<class Scalar>
void Thyra::V_StVpV (const Ptr< MultiVectorBase< Scalar > > &Z, const Scalar &alpha, const MultiVectorBase< Scalar > &X, const MultiVectorBase< Scalar > &Y)
`Z(i,j) = alpha*X(i,j) + Y(i), i = 0...z->space()->dim()-1`, , j = 0...Z->domain()->dim()-1.

## Detailed Description

These functions a just simpler ways to call the functions defined here.

The convention used here is described in the short note A Simple Convention for the Specification of Linear Algebra Function Prototypes in C++ .

## Function Documentation

template<class Scalar>
 void Thyra::Vt_S ( const Ptr< MultiVectorBase< Scalar > > & Z, const Scalar & alpha )

`Z(i,j) *= alpha, i = 0...Z->range()->dim()-1, j = 0...Z->domain()->dim()-1`.

Definition at line 301 of file Thyra_MultiVectorStdOps.hpp.

template<class Scalar>
 void Thyra::Vp_S ( const Ptr< MultiVectorBase< Scalar > > & Z, const Scalar & alpha )

`Z(i,j) += alpha, i = 0...Z->range()->dim()-1, j = 0...Z->domain()->dim()-1`.

Definition at line 312 of file Thyra_MultiVectorStdOps.hpp.

template<class Scalar>
 void Thyra::Vp_V ( const Ptr< MultiVectorBase< Scalar > > & Z, const MultiVectorBase< Scalar > & X )

`Z(i,j) += X(i,j), i = 0...Z->range()->dim()-1, j = 0...Z->domain()->dim()-1`.

Examples:
sillyCgSolve.hpp.

Definition at line 323 of file Thyra_MultiVectorStdOps.hpp.

template<class Scalar>
 void Thyra::V_VpV ( const Ptr< MultiVectorBase< Scalar > > & Z, const MultiVectorBase< Scalar > & X, const MultiVectorBase< Scalar > & Y )

`Z(i,j) = X(i,j) + Y(i,j), i = 0...Z->range()->dim()-1, j = 0...Z->domain()->dim()-1`.

Definition at line 334 of file Thyra_MultiVectorStdOps.hpp.

template<class Scalar>
 void Thyra::V_VmV ( const Ptr< MultiVectorBase< Scalar > > & Z, const MultiVectorBase< Scalar > & X, const MultiVectorBase< Scalar > & Y )

`Z(i,j) = X(i,j) - Y(i,j), i = 0...Z->range()->dim()-1, j = 0...Z->domain()->dim()-1`.

Definition at line 347 of file Thyra_MultiVectorStdOps.hpp.

template<class Scalar>
 void Thyra::V_StVpV ( const Ptr< MultiVectorBase< Scalar > > & Z, const Scalar & alpha, const MultiVectorBase< Scalar > & X, const MultiVectorBase< Scalar > & Y )

`Z(i,j) = alpha*X(i,j) + Y(i), i = 0...z->space()->dim()-1`, , j = 0...Z->domain()->dim()-1.

Examples:
sillyPowerMethod.hpp.

Definition at line 360 of file Thyra_MultiVectorStdOps.hpp.

Generated on Wed May 12 21:26:56 2010 for Thyra Operator/Vector Support by  1.4.7