MCPcopy Create free account
hub / github.com/Rust-GPU/rust-cuda / length2

Method length2

crates/optix/examples/ex03_window/src/vector.rs:19–21  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

17
18 #[inline]
19 fn length2(&self) -> Self::Component {
20 self.dot(&self)
21 }
22}
23
24macro_rules! vec_impl {

Callers

nothing calls this directly

Calls 1

dotMethod · 0.45

Tested by

no test coverage detected