case classTimeWave(wavelength: Duration, step: Long) extends (Long) ⇒ Double with Product with Serializable
Sine function based on timestamps. The sine values will be pre-computed for a single wavelength
and then looked up for all others. This can be significantly faster than using the sine function
directly for longer spans.
wavelength
Span of time for the repeating pattern of the wave.
step
How often to compute the sine value within the wavelength.
Linear Supertypes
Serializable, Serializable, Product, Equals, (Long) ⇒ Double, AnyRef, Any
Ordering
Alphabetic
By Inheritance
Inherited
TimeWave
Serializable
Serializable
Product
Equals
Function1
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
newTimeWave(wavelength: Duration, step: Long)
wavelength
Span of time for the repeating pattern of the wave.
step
How often to compute the sine value within the wavelength.
Sine function based on timestamps. The sine values will be pre-computed for a single wavelength and then looked up for all others. This can be significantly faster than using the sine function directly for longer spans.
Span of time for the repeating pattern of the wave.
How often to compute the sine value within the wavelength.