Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VectorDB-NTU/RaBitQ-Library
/ trace
Method
trace
include/rabitqlib/third/Eigen/src/Core/Redux.h:507–511 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
505
*/
506
template<typename Derived>
507
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename internal::traits<Derived>::Scalar
508
MatrixBase<Derived>::trace() const
509
{
510
return derived().diagonal().sum();
511
}
512
513
} // end namespace Eigen
514
Callers
3
run
Method · 0.80
run
Method · 0.80
run
Method · 0.80
Calls
2
sum
Method · 0.45
diagonal
Method · 0.45
Tested by
no test coverage detected