MCPcopy Create free account
hub / github.com/numpy/numpy / det_from_slogdet

Function det_from_slogdet

numpy/linalg/umath_linalg.cpp:1038–1043  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1036
1037template<typename typ>
1038static inline typ
1039det_from_slogdet(typ sign, typ logdet)
1040{
1041 typ result = sign * npyexp(logdet);
1042 return result;
1043}
1044
1045
1046npy_float npyabs(npy_cfloat z) { return npy_cabsf(z);}

Callers 1

detFunction · 0.85

Calls 2

npyexpFunction · 0.85
multFunction · 0.85

Tested by

no test coverage detected