52#ifndef TYPES_POLYNOMIALINVERSIONTYPE_HPP
53#define TYPES_POLYNOMIALINVERSIONTYPE_HPP
70 RealType getCoefficient(
int power) {
74 void addCoefficient(
int power, RealType coefficient) {
78 void setCoefficient(
int power, RealType coefficient) {
84 virtual InversionKey getKey() {
return itCosAngle; }
86 virtual void calcForce(RealType cosPhi, RealType& V, RealType& dVdCosPhi) {
void addCoefficient(int exponent, const Real &coefficient)
Set the coefficent of the specified exponent.
Real evaluateDerivative(const Real &x)
Returns the first derivative of this polynomial.
Real getCoefficient(ExponentType exponent)
Returns the coefficient associated with the given power for this Polynomial.
Real evaluate(const Real &x)
Calculates the value of this Polynomial evaluated at the given x value.
void setCoefficient(int exponent, const Real &coefficient)
Set the coefficent of the specified exponent, if the coefficient is already there,...
"types/PolynomialInversionType.hpp"
This basic Periodic Table class was originally taken from the data.cpp file in OpenBabel.