public class PotentialFunctionLinear extends Object implements PotentialFunction, Serializable
Constructor and Description |
---|
PotentialFunctionLinear() |
Modifier and Type | Method and Description |
---|---|
double |
getPotentialValue(double x)
Calculates the potential value for x
|
public double getPotentialValue(double x) throws Exception
PotentialFunction
getPotentialValue
in interface PotentialFunction
Exception
Copyright © 2020. All rights reserved.