10 #ifndef TEUCHOS_POLYNOMIAL_TRAITS_HPP
11 #define TEUCHOS_POLYNOMIAL_TRAITS_HPP
25 template <
typename Scalar>
60 #endif // TEUCHOS_POLYNOMIAL_TRAITS_HPP
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
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Deprecated.
Scalar scalar_type
Typename of scalars.
static Teuchos::RCP< coeff_type > clone(const coeff_type &c)
Clone a coefficient.
Scalar coeff_type
Typename of coefficients.
Traits class for polynomial coefficients in Teuchos::Polynomial.
Smart reference counting pointer class for automatic garbage collection.
static void copy(const coeff_type &x, coeff_type *y)
Copy a coefficient.
Reference-counted pointer class and non-member templated function implementations.