Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
24
macro_rules! vec_impl {
Callers
nothing calls this directly
Calls
1
dot
Method · 0.45
Tested by
no test coverage detected