Returns the dimension of this vector.
(&self)
| 45 | |
| 46 | /// Returns the dimension of this vector. |
| 47 | pub fn dimension(&self) -> usize { |
| 48 | self.d |
| 49 | } |
| 50 | |
| 51 | /// Returns the inner product of this vector with the specified vector. |
| 52 | pub fn dot(&self, that: &Self) -> Result<f64, Err> { |
nothing calls this directly
no outgoing calls
no test coverage detected