pub fn new<Sh: ShapeBuilder<Dim = D>>(
        shape: Sh,
        mu: f64,
        theta: f64,
        max_sigma: f64,
        min_sigma: f64,
        decay_period: u64,
    ) -> Self {
        let state = Array::from_elem(shape, mu);
        Self {
            state,
            mu,
            theta,
            max_sigma,
            min_sigma,
            decay_period,
            sigma: max_sigma,
        }
    }
/// Creates a new Ornstein-Uhlenbeck process. For the meaning of the parameters
/// and default values look at [OrnsteinUhlenbeckProcessBuilder](struct.OrnsteinUhlenbeckProcessBuilder.html).
/// ```
/// use ornstein_uhlenbeck::OrnsteinUhlenbeckProcess;
///
/// // Scalar output.
/// let ou_process_scalar = OrnsteinUhlenbeckProcess::new(1, 0.0, 0.15, 0.3, 0.3, 100_000);
///
/// // Vector with dimension 3 as output.
/// let ou_process_vector = OrnsteinUhlenbeckProcess::new(3, 0.0, 0.15, 0.3, 0.3, 100_000);
///
/// // Matrix with shape (2, 2) as output.
/// let ou_process_matric = OrnsteinUhlenbeckProcess::new((2, 2), 0.0, 0.15, 0.3, 0.3, 100_000);
/// ```
Creates a new Ornstein-Uhlenbeck process. For the meaning of the parameters
and default values look at [OrnsteinUhlenbeckProcessBuilder](struct.OrnsteinUhlenbeckProcessBuilder.html).

Scalar output.

Vector with dimension 3 as output.

Matrix with shape (2, 2) as output.
Creates a new Ornstein - Uhlenbeck process . For the meaning of the parameters and default values look at [ OrnsteinUhlenbeckProcessBuilder ] ( struct . OrnsteinUhlenbeckProcessBuilder . html ) . Scalar output . Vector with dimension 3 as output . Matrix with shape ( 2 2 ) as output .
pub fn new<Sh: ShapeBuilder<Dim = D>>(
        shape: Sh,
        mu: f64,
        theta: f64,
        max_sigma: f64,
        min_sigma: f64,
        decay_period: u64,
    ) -> Self {
        let state = Array::from_elem(shape, mu);
        Self {
            state,
            mu,
            theta,
            max_sigma,
            min_sigma,
            decay_period,
            sigma: max_sigma,
        }
    }
pub fn new < Sh : ShapeBuilder < Dim = D > > ( shape : Sh , mu : f64 , theta : f64 , max_sigma : f64 , min_sigma : f64 , decay_period : u64 , ) -> Self { let state = Array :: from_elem ( shape , mu ) ; Self { state , mu , theta , max_sigma , min_sigma , decay_period , sigma : max_sigma , } }
Creates a new Ornstein-Uhlenbeck process.
Creates a new Ornstein - Uhlenbeck process .
shape
Sh
mu
f64
theta
f64
max_sigma
f64
min_sigma
f64
decay_period
u64