mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-06 15:36:32 +02:00
doc fix
This commit is contained in:
@@ -947,7 +947,7 @@ function linear_solve(A,b,pivot=true) =
|
|||||||
// Description:
|
// Description:
|
||||||
// Compute the matrix inverse of the square matrix `A`. If `A` is singular, returns `undef`.
|
// Compute the matrix inverse of the square matrix `A`. If `A` is singular, returns `undef`.
|
||||||
// Note that if you just want to solve a linear system of equations you should NOT use this function.
|
// Note that if you just want to solve a linear system of equations you should NOT use this function.
|
||||||
// Instead use {{linear_solve()}}, or use {{qr_factor}}. The computation
|
// Instead use {{linear_solve()}}, or use {{qr_factor()}}. The computation
|
||||||
// will be faster and more accurate.
|
// will be faster and more accurate.
|
||||||
function matrix_inverse(A) =
|
function matrix_inverse(A) =
|
||||||
assert(is_matrix(A) && len(A)==len(A[0]),"Input to matrix_inverse() must be a square matrix")
|
assert(is_matrix(A) && len(A)==len(A[0]),"Input to matrix_inverse() must be a square matrix")
|
||||||
|
Reference in New Issue
Block a user