|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmeshi.symmetryComplex.energy.edmEnergy.EDMSplinedPolynomial
public class EDMSplinedPolynomial
| Field Summary | |
|---|---|
private double[][] |
breaks
|
private double[] |
coefs
|
private static int |
NUM_DIMENSIONS
|
| Constructor Summary | |
|---|---|
EDMSplinedPolynomial(double[][] breaks,
double[] coefs)
Create a new EDMSplinedPolynomial from parameters. |
|
EDMSplinedPolynomial(java.lang.String edmDataFileNum)
Create a new EDMSplinedPolynomial from a file. |
|
| Method Summary | |
|---|---|
int |
findBin(double[] breaks,
double value)
Find break index (bin) for value. |
private static double |
quickPower(double torsion,
int power)
Raises a double by the power, with 0 <= power <= 3. |
double |
value(int derivVar,
double... args)
Evaluate value of polynomial or any of its first derivations at given point. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final int NUM_DIMENSIONS
private double[][] breaks
private double[] coefs
| Constructor Detail |
|---|
public EDMSplinedPolynomial(double[][] breaks,
double[] coefs)
breaks - each break has different coefficientscoefs - coefficienst by breaks
public EDMSplinedPolynomial(java.lang.String edmDataFileNum)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public double value(int derivVar,
double... args)
derivVar - variable to be derived (zero for none)args - list of variable assignments
public int findBin(double[] breaks,
double value)
private static double quickPower(double torsion,
int power)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||