# RTOpPack::TOpLinearCombination< Scalar > Class Template Reference

Linear combination transformation operator: `z0[i] = beta*z0[i] + sum( alpha[k]*v[k][i], k=0...num_vecs-1 ), i=0...n-1`

.
More...
`#include <RTOpPack_TOpLinearCombination.hpp>`

## Detailed Description

### template<class Scalar>

class RTOpPack::TOpLinearCombination< Scalar >

Linear combination transformation operator: `z0[i] = beta*z0[i] + sum( alpha[k]*v[k][i], k=0...num_vecs-1 ), i=0...n-1`

.
This transformation operator only accepts `num_targ_vec==1`

but accepts any `num_vecs > 0`

.

Warning! this class can only be used in SPMD mode and not client/server or master/slave. You know what needs to happen for this to work!

Definition at line 50 of file RTOpPack_TOpLinearCombination.hpp.

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

Generated on Wed May 12 21:25:53 2010 for Collection of Concrete Vector Reduction/Transformation Operator Implementations by
1.4.7