MCPcopy Create free account
hub / github.com/Axect/Peroxide / take

Method take

src/complex/vector.rs:83–85  ·  view source on GitHub ↗
(&self, n: usize)

Source from the content-addressed store, hash-verified

81 }
82
83 fn take(&self, n: usize) -> Self {
84 self.iter().take(n).cloned().collect()
85 }
86
87 fn skip(&self, n: usize) -> Self {
88 self.iter().skip(n).cloned().collect()

Callers 7

change_shapeMethod · 0.45
diagMethod · 0.45
to_vecMethod · 0.45
take_rowMethod · 0.45
take_colMethod · 0.45
col_reduceMethod · 0.45
row_reduceMethod · 0.45

Calls 1

iterMethod · 0.80

Tested by

no test coverage detected