Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
Functions | |
template<typename ordinal_type , typename scalar_type > | |
scalar_type | weighted_inner_product (const Teuchos::SerialDenseVector< ordinal_type, scalar_type > &x, const Teuchos::SerialDenseVector< ordinal_type, scalar_type > &y, const Teuchos::Array< scalar_type > &w) |
Compute weighted inner product between vectors x and y. More... | |
template<typename ordinal_type , typename scalar_type > | |
void | saxpy (const scalar_type &alpha, Teuchos::SerialDenseVector< ordinal_type, scalar_type > &x, const scalar_type &beta, const Teuchos::SerialDenseVector< ordinal_type, scalar_type > &y) |
Overwrite x with alpha*x + beta*y. More... | |
scalar_type Stokhos::detail::weighted_inner_product | ( | const Teuchos::SerialDenseVector< ordinal_type, scalar_type > & | x, |
const Teuchos::SerialDenseVector< ordinal_type, scalar_type > & | y, | ||
const Teuchos::Array< scalar_type > & | w | ||
) |
Compute weighted inner product between vectors x and y.
Definition at line 53 of file Stokhos_SDMUtils.hpp.
void Stokhos::detail::saxpy | ( | const scalar_type & | alpha, |
Teuchos::SerialDenseVector< ordinal_type, scalar_type > & | x, | ||
const scalar_type & | beta, | ||
const Teuchos::SerialDenseVector< ordinal_type, scalar_type > & | y | ||
) |
Overwrite x with alpha*x + beta*y.
Definition at line 67 of file Stokhos_SDMUtils.hpp.