Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Axect/Peroxide
/ dot
Method
dot
src/complex/vector.rs:43–45 ·
view source on GitHub ↗
(&self, rhs: &Self)
Source
from the content-addressed store, hash-verified
41
42
impl InnerProduct for Complex<f64> {
43
fn dot(&self, rhs: &Self) -> Self::Scalar {
44
self.conj() * rhs
45
}
46
}
47
48
impl FPVector for Vec<Complex<f64>> {
Callers
nothing calls this directly
Calls
2
sum
Method · 0.45
zip_with
Method · 0.45
Tested by
no test coverage detected