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 Function
Heavyside Step Function.static final Function
Rectangular Function.static final Function
Sawtooth Wave.static final Function
Cardinal Sin (non-normalized).static final Function
Triangle Wave with a period of1
and values between-1.0 to 1.0
. -
Method Summary
Modifier and TypeMethodDescriptionstatic Function
getFunction
(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 of1
and 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:
Function
array- See Also:
-
getFunction
Get the function for a given name.- Parameters:
name
- the name of the function- Returns:
- a Function instance
- See Also:
-