MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / dot

Method dot

extern/eigen/Eigen/src/Core/Dot.h:69–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67template<typename Derived>
68template<typename OtherDerived>
69EIGEN_DEVICE_FUNC
70EIGEN_STRONG_INLINE
71typename ScalarBinaryOpTraits<typename internal::traits<Derived>::Scalar,typename internal::traits<OtherDerived>::Scalar>::ReturnType
72MatrixBase<Derived>::dot(const MatrixBase<OtherDerived>& other) const
73{
74 EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived)
75 EIGEN_STATIC_ASSERT_VECTOR_ONLY(OtherDerived)
76 EIGEN_STATIC_ASSERT_SAME_VECTOR_SIZE(Derived,OtherDerived)
77#if !(defined(EIGEN_NO_STATIC_ASSERT) && defined(EIGEN_NO_DEBUG))
78 typedef internal::scalar_conj_product_op<Scalar,typename OtherDerived::Scalar> func;
79 EIGEN_CHECK_BINARY_COMPATIBILIY(func,Scalar,typename OtherDerived::Scalar);
80#endif
81
82 eigen_assert(size() == other.size());
83
84 return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other);
85}
86
87//---------- implementation of L2 norm and related functions ----------
88

Callers 15

attachVisMeshMethod · 0.45
solveQuadraticForZeroMethod · 0.45
pointInTriangleMethod · 0.45
initConstraintMethod · 0.45
VolumeIntegrationMethod · 0.45
conjugate_gradientFunction · 0.45
bicgstabFunction · 0.45
isOrthogonalMethod · 0.45
isUnitaryMethod · 0.45
scaleAndAddToMethod · 0.45

Calls 3

runFunction · 0.70
sizeFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected