MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / coeff

Method coeff

extensions/include/cuMat/src/DenseLinAlgOps.h:593–600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

591
592 template<int Dims = InputSize>
593 __device__ CUMAT_STRONG_INLINE Scalar coeff(Index row, Index col, Index batch, Index index) const
594 {
595 CUMAT_STATIC_ASSERT(Dims <= 4, "Cwise-evaluation of the determinant is only supported for matrices of size <= 4x4");
596 typedef internal::kernels::DeviceMatrix<Scalar, Dims, internal::traits<_Child>::Flags> Mat_t;
597 Mat_t in = internal::kernels::loadMat<Dims, _Child, Scalar>(matrix_, batch);
598 Scalar det = internal::kernels::DeterminantFunctor<Scalar, Dims, Mat_t>::run(in);
599 return det;
600 }
601};
602
603template<typename _Child>

Callers 7

loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45

Calls 1

runFunction · 0.50

Tested by

no test coverage detected