mlinverse

Solve systems of linear equations AX = I for X, where I is the identity. X is the right inverse of A if it exists, it's also a (Moore-Penrose) Pseudoinverse if A is invertible then X is the inverse. Computes minimum-norm solution to a linear least squares problem if A is not a square matrix.

  1. Slice!(RCI!A, 2) mlinverse(Slice!(RCI!A, 2, kindA) a)
    @safe pure @nogc
    Slice!(RCI!A, 2)
    mlinverse
    (
    A
    SliceKind kindA
    )
    (
    auto ref Slice!(RCI!A, 2, kindA) a
    )
  2. Slice!(RCI!A, 2) mlinverse(Slice!(const(A)*, 2, kindA) a)

Meta