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

Method sum

src/complex/vector.rs:91–93  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

89 }
90
91 fn sum(&self) -> Self::Scalar {
92 self.iter().sum()
93 }
94
95 fn prod(&self) -> Self::Scalar {
96 self.iter().product()

Callers 4

traceMethod · 0.45
normMethod · 0.45
normMethod · 0.45
dotMethod · 0.45

Calls 1

iterMethod · 0.80

Tested by

no test coverage detected