inverse f../../../../../Macaulay2/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[../../../../../Macaulay2/m2/matrix1.m2. ../../../../../Macaulay2/m2/methods.m2:695:20-695:21
| key Symbol inverse ../../../../../Macaulay2/m2/methods.m2:695:13-695:16
| -- function f:
| ../../../../../Macaulay2/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 Macaulay2Doc/functions/inverse-doc.m2:27:0.