Skip to content
  • Henry Weller's avatar
    Function1Types::Sine: Changed parameters to be of type Function1 for greater flexibility · 15cd7c14
    Henry Weller authored
        Templated sine function with support for an offset level.
    
            \f[
                a sin(2 \pi f (t - t_0)) s + l
            \f]
    
        where
    
        \vartable
            symbol  | Description       | Data type
            a       | Amplitude         | Function1<scalar>
            f       | Frequency [1/s]   | Function1<scalar>
            s       | Type scale factor | Function1<Type>
            l       | Type offset level | Function1<Type>
            t_0     | Start time [s]    | scalar
            t       | Time [s]          | scalar
        \endvartable
    15cd7c14