method

cofactor

v2_5_5 - Show latest stable - Class: Matrix
cofactor(row, column)
public

Returns the (row, column) cofactor which is obtained by multiplying the first minor by (-1)**(row + column).

Matrix.diagonal(9, 5, -3, 4).cofactor(1, 1)
  => -108