Function inverse

  • Computes the inverse of a matrix.

    Parameters

    • matrix: MaybeMatrix

      Matrix to invert.

    • Optional useSVD: boolean

      Use the singular value decomposition to compute the inverse. Default: false.

    Returns Matrix