src/nalgebra_support.rs

branch
dev
changeset 132
89371dc4d637
parent 129
d2994e34a5f5
child 133
2b13f8a0c8ba
equal deleted inserted replaced
130:0a689881b0f1 132:89371dc4d637
220 M: Dim, 220 M: Dim,
221 S: StorageMut<E, M> + Clone, 221 S: StorageMut<E, M> + Clone,
222 E: Float + Scalar + Zero + One + RealField, 222 E: Float + Scalar + Zero + One + RealField,
223 DefaultAllocator: Allocator<M>, 223 DefaultAllocator: Allocator<M>,
224 { 224 {
225 type Output = OVector<E, M>;
226
227 #[inline] 225 #[inline]
228 fn dot<I: Instance<Self>>(&self, other: I) -> E { 226 fn dot<I: Instance<Self>>(&self, other: I) -> E {
229 Vector::<E, M, S>::dot(self, other.ref_instance()) 227 Vector::<E, M, S>::dot(self, other.ref_instance())
230 } 228 }
231 229

mercurial