### The Maxima on-line user's manual

Algebra Calculator

#### Detout

-- Option variable: detout Default value: `false`

When `detout` is `true`, the determinant of a matrix whose inverse is computed is factored out of the inverse.

For this switch to have an effect `doallmxops` and `doscmxops` should be `false` (see their descriptions). Alternatively this switch can be given to `ev` which causes the other two to be set correctly.

Example:

```          (%i1) m: matrix ([a, b], [c, d]);
[ a  b ]
(%o1)                       [      ]
[ c  d ]
(%i2) detout: true\$
(%i3) doallmxops: false\$
(%i4) doscmxops: false\$
(%i5) invert (m);
[  d   - b ]
[          ]
[ - c   a  ]
(%o5)                     ------------
a d - b c```

```(%o1)                                true
(%i2) ```

### Related Examples

##### detout-invert-matrix

MM: matrix([0,0,-1,1,...

invert (MM), detout;

Calculate

##### detout-doallmxops-doscmxops-exp-false-invert-matrix-sqrt-true

M: matrix ([1, 0.2, 0...

detout: true;

doallmxops: false;

Calculate

##### detout-matrix

A:matrix([5,0,2],[-1,...

inverse(A),detout;

Calculate

##### detout-doallmxops-doscmxops-exp-false-invert-matrix-sqrt-true

M: matrix ([-1, -0.2,...

detout: true;

doallmxops: false;

Calculate

##### detout-false-fpprec-matrix-numer-ratepsilon-true

numer:false;

detout:true;

ratepsilon:1e-40;

Calculate

##### detout-doallmxops-doscmxops-false-invert-matrix-true

m: matrix ([a, b], [c...

detout: true;

doallmxops: false;

Calculate

##### detout-factor-invert-matrix

M: matrix([b1,b2,b3,1...

A: invert (M), detout;

factor(b3*c3 + b2*c3 ...

Calculate

##### detout-factor-invert-matrix

M: matrix([b1,b2,b3,1...

A: invert (M), detout;

factor(b3*c3 + b2*c3 ...

Calculate

numer:false;

Calculate

##### detout-invert-matrix-stardisp-true

m:matrix([A, 2*B, C],...

stardisp:true;

invert (m), detout;

Calculate