42#ifndef TEUCHOS_POLYNOMIAL_TRAITS_HPP
43#define TEUCHOS_POLYNOMIAL_TRAITS_HPP
57 template <
typename Scalar>
Reference-counted pointer class and non-member templated function implementations.
Traits class for polynomial coefficients in Teuchos::Polynomial.
Scalar coeff_type
Typename of coefficients.
static void assign(coeff_type *y, const scalar_type &alpha)
Assign a scalar to a coefficient.
static void update(coeff_type *y, const coeff_type &x, const scalar_type &beta)
y = x + beta*y
Scalar scalar_type
Typename of scalars.
static void copy(const coeff_type &x, coeff_type *y)
Copy a coefficient.
static Teuchos::RCP< coeff_type > clone(const coeff_type &c)
Clone a coefficient.
Concrete serial communicator subclass.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Deprecated.