Invert a triangular matrix.

linalg_trinv(upper, unit_diag, x)

Arguments

upper

Is the matrix upper triangular? Otherwise only the lower triangle will be referenced.

unit_diag

Is the matrix unit diagonal?

x

Input data, overwritten by the inverse.

Value

Returns NULL.