# 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 (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 (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 (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 (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 (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 (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 ( 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 300 of file Thyra_MultiVectorStdOps.hpp.

template<class Scalar>
 void Thyra::Vp_S ( 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 ( 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`.

Definition at line 324 of file Thyra_MultiVectorStdOps.hpp.

template<class Scalar>
 void Thyra::V_VpV ( 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 335 of file Thyra_MultiVectorStdOps.hpp.

template<class Scalar>
 void Thyra::V_VmV ( 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 346 of file Thyra_MultiVectorStdOps.hpp.

template<class Scalar>
 void Thyra::V_StVpV ( 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.

Definition at line 357 of file Thyra_MultiVectorStdOps.hpp.

Generated on Tue Oct 20 12:48:07 2009 for Thyra Package Browser (Single Doxygen Collection) by  1.4.7