| 
    Teuchos Package Browser (Single Doxygen Collection)
    Version of the Day
    
   | 
 
Traits class for polynomial coefficients in Teuchos::Polynomial. More...
#include <Teuchos_PolynomialTraits.hpp>
Public Types | |
| typedef Scalar | coeff_type | 
| Typename of coefficients.  More... | |
| typedef Scalar | scalar_type | 
| Typename of scalars.  More... | |
Static Public Member Functions | |
| static Teuchos::RCP< coeff_type > | clone (const coeff_type &c) | 
| Clone a coefficient.  More... | |
| static void | copy (const coeff_type &x, coeff_type *y) | 
| Copy a coefficient.  More... | |
| static void | assign (coeff_type *y, const scalar_type &alpha) | 
| Assign a scalar to a coefficient.  More... | |
| static void | update (coeff_type *y, const coeff_type &x, const scalar_type &beta) | 
| y = x + beta*y  More... | |
Traits class for polynomial coefficients in Teuchos::Polynomial.
This class provides traits for implementing Teuchos::Polynomial. The default template definition here will work for any scalar type. Any other coefficient type for Teuchos::Polynomial should provide a specialization of this traits class for that type that mirrors the default definition below.
Definition at line 58 of file Teuchos_PolynomialTraits.hpp.
| typedef Scalar Teuchos::PolynomialTraits< Scalar >::coeff_type | 
Typename of coefficients.
Definition at line 62 of file Teuchos_PolynomialTraits.hpp.
| typedef Scalar Teuchos::PolynomialTraits< Scalar >::scalar_type | 
Typename of scalars.
Definition at line 65 of file Teuchos_PolynomialTraits.hpp.
      
  | 
  inlinestatic | 
Clone a coefficient.
Definition at line 68 of file Teuchos_PolynomialTraits.hpp.
      
  | 
  inlinestatic | 
Copy a coefficient.
Definition at line 73 of file Teuchos_PolynomialTraits.hpp.
      
  | 
  inlinestatic | 
Assign a scalar to a coefficient.
Definition at line 78 of file Teuchos_PolynomialTraits.hpp.
      
  | 
  inlinestatic | 
y = x + beta*y
Definition at line 83 of file Teuchos_PolynomialTraits.hpp.
 1.8.5