Thyra_SUNDIALS_Ops.hpp File Reference

#include "Thyra_VectorBase.hpp"
#include "RTOpPack_SUNDIALS_Ops.hpp"

Include dependency graph for Thyra_SUNDIALS_Ops.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Thyra

Functions

template<class Scalar>
void VProd (const VectorBase< Scalar > &x, const VectorBase< Scalar > &y, VectorBase< Scalar > *z)
 element-wise product
template<class Scalar>
void VDiv (const VectorBase< Scalar > &x, const VectorBase< Scalar > &y, VectorBase< Scalar > *z)
 element-wise divide
template<class Scalar>
void VScale (const Scalar &c, const VectorBase< Scalar > &x, VectorBase< Scalar > *z)
 scale by a constant
template<class Scalar>
void VAddConst (const Scalar &c, const VectorBase< Scalar > &x, VectorBase< Scalar > *z)
 add a constant
template<class Scalar>
Scalar VWL2Norm (const VectorBase< Scalar > &x, const VectorBase< Scalar > &w)
 weighted L2 norm
template<class Scalar>
Scalar VWrmsNorm (const VectorBase< Scalar > &x, const VectorBase< Scalar > &w)
 weighted rms norm
template<class Scalar>
Scalar VWrmsMaskNorm (const VectorBase< Scalar > &x, const VectorBase< Scalar > &w, const VectorBase< Scalar > &id)
 weighted L2 norm with mask
template<class Scalar>
Scalar VMinQuotient (const VectorBase< Scalar > &num, const VectorBase< Scalar > &denom)
 minimum quotient
template<class Scalar>
bool VConstrMask (const VectorBase< Scalar > &x, const VectorBase< Scalar > &constraint, VectorBase< Scalar > *mask)
 constraint mask
template<class Scalar>
bool VInvTest (const VectorBase< Scalar > &v_rhs, VectorBase< Scalar > *v_lhs)
 invert with nonzero test
template<class Scalar>
void VCompare (const Scalar &alpha, const VectorBase< Scalar > &x, VectorBase< Scalar > *y)
 compare to a scalar


Function Documentation

template<class Scalar>
void VProd const VectorBase< Scalar > &  x,
const VectorBase< Scalar > &  y,
VectorBase< Scalar > *  z
[inline]
 

element-wise product

Definition at line 42 of file Thyra_SUNDIALS_Ops.hpp.

template<class Scalar>
void VDiv const VectorBase< Scalar > &  x,
const VectorBase< Scalar > &  y,
VectorBase< Scalar > *  z
[inline]
 

element-wise divide

Definition at line 57 of file Thyra_SUNDIALS_Ops.hpp.

template<class Scalar>
void VScale const Scalar &  c,
const VectorBase< Scalar > &  x,
VectorBase< Scalar > *  z
[inline]
 

scale by a constant

Definition at line 71 of file Thyra_SUNDIALS_Ops.hpp.

template<class Scalar>
void VAddConst const Scalar &  c,
const VectorBase< Scalar > &  x,
VectorBase< Scalar > *  z
[inline]
 

add a constant

Definition at line 85 of file Thyra_SUNDIALS_Ops.hpp.

template<class Scalar>
Scalar VWL2Norm const VectorBase< Scalar > &  x,
const VectorBase< Scalar > &  w
[inline]
 

weighted L2 norm

Definition at line 98 of file Thyra_SUNDIALS_Ops.hpp.

template<class Scalar>
Scalar VWrmsNorm const VectorBase< Scalar > &  x,
const VectorBase< Scalar > &  w
[inline]
 

weighted rms norm

Definition at line 114 of file Thyra_SUNDIALS_Ops.hpp.

template<class Scalar>
Scalar VWrmsMaskNorm const VectorBase< Scalar > &  x,
const VectorBase< Scalar > &  w,
const VectorBase< Scalar > &  id
[inline]
 

weighted L2 norm with mask

Definition at line 124 of file Thyra_SUNDIALS_Ops.hpp.

template<class Scalar>
Scalar VMinQuotient const VectorBase< Scalar > &  num,
const VectorBase< Scalar > &  denom
[inline]
 

minimum quotient

Definition at line 140 of file Thyra_SUNDIALS_Ops.hpp.

template<class Scalar>
bool VConstrMask const VectorBase< Scalar > &  x,
const VectorBase< Scalar > &  constraint,
VectorBase< Scalar > *  mask
[inline]
 

constraint mask

Definition at line 156 of file Thyra_SUNDIALS_Ops.hpp.

template<class Scalar>
bool VInvTest const VectorBase< Scalar > &  v_rhs,
VectorBase< Scalar > *  v_lhs
[inline]
 

invert with nonzero test

Definition at line 173 of file Thyra_SUNDIALS_Ops.hpp.

template<class Scalar>
void VCompare const Scalar &  alpha,
const VectorBase< Scalar > &  x,
VectorBase< Scalar > *  y
[inline]
 

compare to a scalar

Definition at line 189 of file Thyra_SUNDIALS_Ops.hpp.


Generated on Thu Sep 18 12:33:08 2008 for Thyra Package Browser (Single Doxygen Collection) by doxygen 1.3.9.1