10#ifndef TEUCHOS_POLYNOMIAL_TRAITS_HPP 
   11#define TEUCHOS_POLYNOMIAL_TRAITS_HPP 
   25  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.
 
Smart reference counting pointer class for automatic garbage collection.
 
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...
 
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Deprecated.