You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// This can depend on `self` in situations where the number of parameters depends on the data itself, e.g. the number of groups in a hierarchical model.
64
64
fndimension(&self) -> usize;
65
65
66
-
/// Compute new parameters by mapping the given closure `f` over all coordinate pairs
67
-
#[must_use]
68
-
fnmap<F>(&self,other:&Self,f:F) -> Self
69
-
where
70
-
F:Fn(f64,f64) -> f64;
66
+
/// Access the individual parameter values as an iterator
67
+
fnvalues(&self) -> implIterator<Item = &f64>;
68
+
69
+
/// Collect new parameters from the given iterator
70
+
fncollect(iter:implIterator<Item = f64>) -> Self;
71
71
}
72
72
73
73
/// Model parameters stored as an array of length `N` considered as an element of the vector space `R^N`
0 commit comments