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

Method normalize

src/complex/vector.rs:33–39  ·  view source on GitHub ↗
(&self, kind: Norm)

Source from the content-addressed store, hash-verified

31 }
32
33 fn normalize(&self, kind: Norm) -> Self
34 where
35 Self: Sized,
36 {
37 let n = self.norm(kind);
38 self / n
39 }
40}
41
42impl InnerProduct for Complex<f64> {

Callers

nothing calls this directly

Calls 1

normMethod · 0.45

Tested by

no test coverage detected