Skip to main content

sampleobservations

Function sampleobservations 

Source
pub fn sampleobservations<R>(
    spec: &GenerativeSpec,
    rng: &mut R,
) -> Result<ArrayBase<OwnedRepr<f64>, Dim<[usize; 1]>>, EstimationError>
where R: Rng + ?Sized,
Expand description

Draw one synthetic observation vector from a generative spec.