spis.Util.Func
Class GradPowerLaw
java.lang.Object
spis.Util.Func.GradPowerLaw
- All Implemented Interfaces:
- VectFunctionOfVect
- public class GradPowerLaw
- extends java.lang.Object
- implements VectFunctionOfVect
Class Name : GradPowerLaw
Project ref : SPIS project
File name : GradPowerLaw.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 |
- Version:
- 0.1
- Author:
- JF Roussel
Constructor Summary |
GradPowerLaw(int dimension,
float[] center,
float exponent,
float normalisation)
Default constructor, sets parameters to define the gradient of the function:
normalisation * |x - center|^exponent (x = vector of dimension dimension). |
Method Summary |
float[] |
vectComputeOfVect(float[] pos)
Returns the gradient of: normalisation * |pos - center|^exponent |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GradPowerLaw
public GradPowerLaw(int dimension,
float[] center,
float exponent,
float normalisation)
- Default constructor, sets parameters to define the gradient of the function:
normalisation * |x - center|^exponent (x = vector of dimension dimension).
vectComputeOfVect
public float[] vectComputeOfVect(float[] pos)
- Returns the gradient of: normalisation * |pos - center|^exponent
- Specified by:
vectComputeOfVect
in interface VectFunctionOfVect