public class ForceCalculator
extends java.lang.Object
implements org.apache.commons.math3.analysis.UnivariateFunction
Constructor and Description |
---|
ForceCalculator(double persistenceLength,
double L0) |
ForceCalculator(double persistenceLength,
double L0,
double temperature) |
Modifier and Type | Method and Description |
---|---|
double[] |
calculate(double variance) |
double |
getEquipartitionForce(double length) |
double |
getWLCForce(double length) |
double |
value(double length) |
public ForceCalculator(double persistenceLength, double L0)
public ForceCalculator(double persistenceLength, double L0, double temperature)
public double[] calculate(double variance)
public double value(double length)
value
in interface org.apache.commons.math3.analysis.UnivariateFunction
public double getWLCForce(double length)
public double getEquipartitionForce(double length)