spis.Util.Func
Class ScalFunctionOfScalFromFunctionOf4

java.lang.Object
  extended byspis.Util.Func.ScalFunctionOfScalFromFunctionOf4
All Implemented Interfaces:
ScalFunctionOfScal

public class ScalFunctionOfScalFromFunctionOf4
extends java.lang.Object
implements ScalFunctionOfScal

Class Name : ScalFunctionOfScalFromFunctionOf4
Project ref : SPIS project
File name : ScalFunctionOfScalFromFunctionOf4.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France http://www.onecert.fr
Status : under development
Creation : May 26, 2004
Modification :

Description : Defines a function of 1 scalar from a function of 4 scalars, by fixing 3 of them (define a new class for other param Nb).

Versions and anomalies correction :

Version numberAuthor (name, e-mail) Corrections/Modifications
0.1 JF Roussel, roussel@onecert.frCreation


Version:
0.1
Author:
JF Roussel

Field Summary
private  ScalFunctionOf4Scal f4
          function of 4 scalars
private  float x2
          fixed parameter 2
private  float x3
          fixed parameter 3
private  float x4
          fixed parameter 4
 
Constructor Summary
ScalFunctionOfScalFromFunctionOf4(ScalFunctionOf4Scal f4_, float x2_, float x3_, float x4_)
          Default constructor
 
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

f4

private ScalFunctionOf4Scal f4
function of 4 scalars


x2

private float x2
fixed parameter 2


x3

private float x3
fixed parameter 3


x4

private float x4
fixed parameter 4

Constructor Detail

ScalFunctionOfScalFromFunctionOf4

public ScalFunctionOfScalFromFunctionOf4(ScalFunctionOf4Scal f4_,
                                         float x2_,
                                         float x3_,
                                         float x4_)
Default constructor

Method Detail

compute

public float compute(float x)
Description copied from interface: ScalFunctionOfScal
applies this function to x and returns the result

Specified by:
compute in interface ScalFunctionOfScal