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

Function ones

crates/openquant/src/portfolio_optimization.rs:200–202  ·  view source on GitHub ↗
(n: usize)

Source from the content-addressed store, hash-verified

198}
199
200fn ones(n: usize) -> DVector<f64> {
201 DVector::from_element(n, 1.0)
202}
203
204fn build_bounds(
205 n: usize,

Callers 2

solve_min_volFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected