Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
200
fn ones(n: usize) -> DVector<f64> {
201
DVector::from_element(n, 1.0)
202
}
203
204
fn build_bounds(
205
n: usize,
Callers
2
solve_min_vol
Function · 0.85
efficient_risk_from_inputs
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected