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

Method sum

extern/eigen/Eigen/src/Core/Redux.h:458–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456 */
457template<typename Derived>
458EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename internal::traits<Derived>::Scalar
459DenseBase<Derived>::sum() const
460{
461 if(SizeAtCompileTime==0 || (SizeAtCompileTime==Dynamic && size()==0))
462 return Scalar(0);
463 return derived().redux(Eigen::internal::scalar_sum_op<Scalar,Scalar>());
464}
465
466/** \returns the mean of all coefficients of *this
467*

Callers 15

umeyamaFunction · 0.45
logDeterminantMethod · 0.45
runMethod · 0.45
runMethod · 0.45
squaredNormMethod · 0.45
runMethod · 0.45
runMethod · 0.45
evalToMethod · 0.45
addToMethod · 0.45
subToMethod · 0.45
coeffMethod · 0.45
traceMethod · 0.45

Calls 2

sizeFunction · 0.50
reduxMethod · 0.45

Tested by

no test coverage detected