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

Class PermutationSignFunctor

extensions/include/cuMat/src/LUDecomposition.h:16–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14namespace
15{
16 class PermutationSignFunctor
17 {
18 public:
19 typedef int ReturnType;
20 __device__ CUMAT_STRONG_INLINE int operator()(const int& x, Index row, Index col, Index batch) const
21 {
22 return (row+1 != x) ? -1 : 1;
23 }
24 };
25}
26
27namespace internal

Callers 1

determinantMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected