MCPcopy Create free account
hub / github.com/data61/MP-SPDZ / inv

Function inv

FHE/Matrix.cpp:242–249  ·  view source on GitHub ↗

Special inverse routine

Source from the content-addressed store, hash-verified

240
241// Special inverse routine
242matrix inv(const matrix& A)
243{
244 matrix HA,UA;
245 HNF(HA,UA,A);
246
247 if (!IsIdent(HA)) { cout << "Error in inverse" << endl; throw bad_value(); }
248 return UA;
249}
250
251
252

Callers 1

assignMethod · 0.85

Calls 3

HNFFunction · 0.85
IsIdentFunction · 0.85
bad_valueClass · 0.85

Tested by

no test coverage detected