|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspis.Util.Func.Sqrt
Class Name : Sqrt
Project ref : SPIS project
File name : Sqrt.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France
http://www.onecert.fr
Status : under development
Creation : Apr 26, 2004
Modification :
Description :
Versions and anomalies correction :
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
Field Summary | |
private float |
x0
Normalisation constant of argument |
private float |
y0
Normalisation constant of result |
Constructor Summary | |
Sqrt()
default constructor: simple square root |
|
Sqrt(float y0_,
float x0_)
Constructor with y0 and x0 constants to define f(x) = y0*(x/x0)^1/2. |
Method Summary | |
float |
compute(float x)
applies this function to x and returns the result |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private float y0
private float x0
Constructor Detail |
public Sqrt(float y0_, float x0_)
public Sqrt()
Method Detail |
public float compute(float x)
ScalFunctionOfScal
compute
in interface ScalFunctionOfScal
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |