inverse f../../m2/methods.m2:695:25-695:88: --source code:
cacheValue = key -> f -> x -> ( try x.cache else x.cache = new CacheTable )#key ??= f(x)
| symbol class value location of symbol
| ------ ----- ----- ------------------
| f FunctionClosure FunctionClosure[../../m2/matrix1.m2:625:5-631:19] ../../m2/methods.m2:695:20-695:21
| key Symbol inverse ../../m2/methods.m2:695:13-695:16
| -- function f:
| ../../m2/matrix1.m2:625:5-631:19: --source code:
| m -> (
| if hasEngineLinearAlgebra ring m and isBasicMatrix m then
| basicInverse m
| else (
| (quo,rem) := quotientRemainder(id_(target m), m);
| if rem != 0 then error "matrix not invertible";
| quo))
The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/Macaulay2Doc/functions/inverse-doc.m2:27:0.