|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspis.Util.Func.PowerLaw
Class Name : PowerLaw
Project ref : SPIS project
File name : PowerLaw.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France
http://www.onecert.fr
Status : under development
Creation : Feb 24, 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[] |
centre
Centre location |
private int |
dim
Vector dimension |
private float |
exp
Exponent |
private float |
norm
Normalisation of the function |
Constructor Summary | |
PowerLaw(int dimension,
float[] center,
float exponent,
float normalisation)
Default constructor, sets parameters to define the function: normalisation * |x - center|^exponent (x = vector of dimension dimension). |
Method Summary | |
float |
compute(float[] pos)
Returns: normalisation * |pos - center|^exponent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int dim
private float[] centre
private float exp
private float norm
Constructor Detail |
public PowerLaw(int dimension, float[] center, float exponent, float normalisation)
Method Detail |
public float compute(float[] pos)
compute
in interface ScalFunctionOfVect
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |