|
Carrot2 v3.6.0-SNAPSHOT
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.util.LinearApproximation
public class LinearApproximation
A simple utility for calculating linear approximations based on values for equally distributed points between minimum and maximum arguments.
| Constructor Summary | |
|---|---|
LinearApproximation(double[] points,
double argMin,
double argMax)
|
|
| Method Summary | |
|---|---|
double |
getValue(double argument)
Returns approximated value for the provided argument. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinearApproximation(double[] points,
double argMin,
double argMax)
| Method Detail |
|---|
public double getValue(double argument)
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||