|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspis.Util.Func.CosMultiD
Class Name : CosMultiD
Project ref : SPIS project
File name : CosMultiD.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France
http://www.onecert.fr
Status : under development
Creation : Feb 6, 2004
Modification :
Description : Product of cosine functions of each coordinate (usually 3):
(cos(kx+phix) * cos(ky+phiy) * cos(kz+phyz) ...) * norm.
Versions and anomalies correction :
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
Field Summary | |
private int |
dim
Vector dimension |
private float[] |
k
Wave number in each direction (k in cos(kx)) |
private float |
norm
Normalisation of the function |
private float[] |
phi
Phase in each direction (phi in cos(kx+phi)) |
Constructor Summary | |
CosMultiD(int dimension,
float[] waveNumber,
float[] phase,
float normalisation)
Default constructor, sets parameters to define the function: (cos(kx+phix) * cos(ky+phiy) * cos(kz+phyz)...) * norm with k=waveNumber, phi=phase, norm=normalisation (dim=3 in this expression. |
Method Summary | |
float |
compute(float[] vect)
Returns (cos(kx+phix) * cos(ky+phiy) * cos(kz+phyz)) * norm (and more if dim larger than 3), where vect = (x, y, z, ...) |
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[] k
private float[] phi
private float norm
Constructor Detail |
public CosMultiD(int dimension, float[] waveNumber, float[] phase, float normalisation)
Method Detail |
public float compute(float[] vect)
compute
in interface ScalFunctionOfVect
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |