(py: Python<'_>, parent: &Bound<'_, PyModule>)
| 55 | /// infinite first and falling to 0 (only 0 for exactly equal forecasts). `efficient_frontier_means` and |
| 56 | /// `efficient_frontier_sigma`: the expected return and volatility of each frontier point |
| 57 | /// (empty unless `solution="efficient_frontier"`). |
| 58 | /// |
| 59 | /// Raises |
| 60 | /// ------ |
| 61 | /// ValueError |
| 62 | /// If a matrix is empty or ragged; no prices are given and either expected returns or |
| 63 | /// covariance is missing; prices have fewer than two (resampled) rows or a zero price; |
| 64 | /// `calculate_expected_returns` or `solution` is unknown; the inputs disagree on the |
| 65 | /// number of assets; the bounds are infeasible (not finite, lower above upper, or unable |
| 66 | /// to sum to 1); or the covariance of the free assets is singular at some step of the |
nothing calls this directly
no outgoing calls
no test coverage detected