Package net.objecthunter.exp4j.extras
Class FunctionsSignal
java.lang.Object
net.objecthunter.exp4j.extras.FunctionsSignal
This class contains some additional functions related with signal processing.
- Since:
- 0.8-riddler
- Author:
- Federico Vera <[email protected]>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FunctionHeavyside Step Function.static final FunctionRectangular Function.static final FunctionSawtooth Wave.static final FunctionCardinal Sin (non-normalized).static final FunctionTriangle Wave with a period of1and values between-1.0 to 1.0. -
Method Summary
Modifier and TypeMethodDescriptionstatic FunctiongetFunction(String name) Get the function for a given name.static Function[]Array with all the available functions
-
Field Details
-
SINC
Cardinal Sin (non-normalized). This function has one argumentsinc(t)where:t: Current point
- Since:
- 0.7-riddler
-
HEAVYSIDE
Heavyside Step Function. This function has one argumentheavyside(t)where:t: Current point
- Since:
- 0.8-riddler
-
RECTANGULAR
Rectangular Function. This function has three argumentsrectangle(t, X, Y)where:t: Current pointX: Center of the rectangleY: Length of the rectangle
- Since:
- 0.8-riddler
-
SAWTOOTH
Sawtooth Wave. This function has one argumentsawtooth(t)where:t: Current point
- Since:
- 0.9-riddler
-
TRIANGLE
Triangle Wave with a period of1and values between-1.0 to 1.0. This function has one argumenttriangle(t)where:t: Current point
- Since:
- 0.9-riddler
-
-
Method Details
-
getFunctions
Array with all the available functions- Returns:
Functionarray- See Also:
-
getFunction
Get the function for a given name.- Parameters:
name- the name of the function- Returns:
- a Function instance
- See Also:
-