spis.Util.Func
Class ScalFunctionOfScalFromFunctionOf5

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

public class ScalFunctionOfScalFromFunctionOf5
extends java.lang.Object
implements ScalFunctionOfScal

Class Name : ScalFunctionOfScalFromFunctionOf5
Project ref : SPIS project
File name : ScalFunctionOfScalFromFunctionOf5.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 5 scalars, by fixing 4 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  ScalFunctionOf5Scal f5
          function of 5 scalars
private  float x2
          fixed parameter 2
private  float x3
          fixed parameter 3
private  float x4
          fixed parameter 4
private  float x5
          fixed parameter 5
 
Constructor Summary
ScalFunctionOfScalFromFunctionOf5(ScalFunctionOf5Scal f5_, float x2_, float x3_, float x4_, float x5_)
          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

f5

private ScalFunctionOf5Scal f5
function of 5 scalars


x2

private float x2
fixed parameter 2


x3

private float x3
fixed parameter 3


x4

private float x4
fixed parameter 4


x5

private float x5
fixed parameter 5

Constructor Detail

ScalFunctionOfScalFromFunctionOf5

public ScalFunctionOfScalFromFunctionOf5(ScalFunctionOf5Scal f5_,
                                         float x2_,
                                         float x3_,
                                         float x4_,
                                         float x5_)
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