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

Method len

crates/openquant/src/hpc_parallel.rs:55–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53
54impl MoleculePartition {
55 pub fn len(self) -> usize {
56 self.end.saturating_sub(self.start)
57 }
58
59 pub fn is_empty(self) -> bool {
60 self.len() == 0

Callers 15

_build_quality_reportFunction · 0.80
calibrate_ou_paramsFunction · 0.80
generate_ou_pathsFunction · 0.80
evaluate_rule_on_pathsFunction · 0.80
std_devFunction · 0.80
median_sortedFunction · 0.80
threshold_at_checkedFunction · 0.80
rolling_mean_stdFunction · 0.80

Calls

no outgoing calls

Tested by 15

calibrate_ou_paramsFunction · 0.64
generate_ou_pathsFunction · 0.64
evaluate_rule_on_pathsFunction · 0.64
std_devFunction · 0.64
median_sortedFunction · 0.64
average_holding_periodFunction · 0.64
bets_concentrationFunction · 0.64
sharpe_ratioFunction · 0.64
deflated_sharpe_ratioFunction · 0.64