Package gda.function
Class SimpleTrigFunction<T extends javax.measure.Quantity<T>,R extends javax.measure.Quantity<R>>
java.lang.Object
gda.factory.FindableBase
gda.function.FindableFunction<T,R>
gda.function.SimpleTrigFunction<T,R>
public class SimpleTrigFunction<T extends javax.measure.Quantity<T>,R extends javax.measure.Quantity<R>>
extends FindableFunction<T,R>
Function of form: y = a * trigFunc( b * x) where trigFunc is sin, cos or tan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.measure.Quantity<R> Get the inner constantGet the outer constantGet the trig functionvoidsetInnerConstant(String innerConstant) Set the inner constantvoidsetOuterConstant(String outerConstant) Set the outer constantvoidsetTrigFunc(String trigFunc) Set the trig functionMethods inherited from class gda.factory.FindableBase
equals, getName, hashCode, setName
-
Constructor Details
-
SimpleTrigFunction
public SimpleTrigFunction()
-
-
Method Details
-
apply
-
getInnerConstant
Get the inner constant- Returns:
- the innerConstant
-
setInnerConstant
Set the inner constant- Parameters:
innerConstant- the innerConstant
-
getOuterConstant
Get the outer constant- Returns:
- the outerConstant
-
setOuterConstant
Set the outer constant- Parameters:
outerConstant- the outerConstant
-
getTrigFunc
Get the trig function- Returns:
- the trig function
-
setTrigFunc
Set the trig function- Parameters:
trigFunc- the trig function
-