MCPcopy Create free account
hub / github.com/Open-Quant/openquant / _compute_w

Method _compute_w

crates/openquant/src/cla.rs:244–252  ·  view source on GitHub ↗
(
        &self,
        covar_f_inv: &DMatrix<f64>,
        _covar_fb: &DMatrix<f64>,
        _mean_f: &DMatrix<f64>,
        _w_b: Option<&[f64]>,
    )

Source from the content-addressed store, hash-verified

242 }
243
244 pub fn _compute_w(
245 &self,
246 covar_f_inv: &DMatrix<f64>,
247 _covar_fb: &DMatrix<f64>,
248 _mean_f: &DMatrix<f64>,
249 _w_b: Option<&[f64]>,
250 ) -> (Vec<f64>, f64) {
251 (vec![0.0; covar_f_inv.nrows()], 0.0)
252 }
253
254 pub fn _free_bound_weight(&self, _free_weights: &[usize]) -> (bool, bool) {
255 (false, false)

Callers 1

Calls

no outgoing calls

Tested by 1