OpenMD 3.1
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
Polynomial.hpp File Reference
#include <config.h>
#include <complex>
#include <iostream>
#include <list>
#include <map>
#include <utility>
#include "math/Eigenvalue.hpp"

Go to the source code of this file.

Classes

class  OpenMD::Polynomial< Real >
 A generic Polynomial class. More...
 

Namespaces

namespace  OpenMD
 This basic Periodic Table class was originally taken from the data.cpp file in OpenBabel.
 

Typedefs

using OpenMD::DoublePolynomial = Polynomial<RealType>
 

Functions

template<typename Real >
Real OpenMD::fastpow (Real x, int N)
 
template<typename Real >
Polynomial< Real > OpenMD::operator* (const Polynomial< Real > &p1, const Polynomial< Real > &p2)
 Generates and returns the product of two given Polynomials.
 
template<typename Real >
Polynomial< Real > OpenMD::operator* (const Polynomial< Real > &p, const Real v)
 
template<typename Real >
Polynomial< Real > OpenMD::operator* (const Real v, const Polynomial< Real > &p)
 
template<typename Real >
Polynomial< Real > OpenMD::operator+ (const Polynomial< Real > &p1, const Polynomial< Real > &p2)
 Generates and returns the sum of two given Polynomials.
 
template<typename Real >
Polynomial< Real > OpenMD::operator- (const Polynomial< Real > &p1, const Polynomial< Real > &p2)
 Generates and returns the difference of two given Polynomials.
 
template<typename Real >
Polynomial< Real > * OpenMD::getDerivative (const Polynomial< Real > &p1)
 Returns the first derivative of this polynomial.
 
template<typename Real >
bool OpenMD::equal (const Polynomial< Real > &p1, const Polynomial< Real > &p2)
 Tests if two polynomial have the same exponents.
 

Detailed Description

Author
teng lin
Date
11/16/2004
Version
1.0

Definition in file Polynomial.hpp.