NOX
Development
|
Related Functions | |
(Note that these are not member functions.) | |
template<class Scalar > | |
void | ele_wise_min_swap (const ::Thyra::VectorBase< Scalar > &x, const Teuchos::Ptr<::Thyra::VectorBase< Scalar > > &y) |
Element-wise min swap: y(i) *= min(x(i),abs(y(i)) * y(i)/abs(y(i), i = 0...y->space()->dim()-1 . | |