mat: fixed typo in mat.Solve/mat.SolveVec

It seems the extra `A` here is unintended.
This commit is contained in:
Jonathan Chan Kwan Yin
2022-11-17 15:04:08 +08:00
committed by Dan Kortschak
parent 637fb78ba0
commit 2d7eec07c1

View File

@@ -14,7 +14,7 @@ import (
//
// minimize over x |b - A*x|_2
//
// where A is an m×n matrix A, b is a given m element vector and x is n element
// where A is an m×n matrix, b is a given m element vector and x is n element
// solution vector. Solve assumes that A has full rank, that is
//
// rank(A) = min(m,n)
@@ -121,7 +121,7 @@ func (m *Dense) Solve(a, b Matrix) error {
//
// minimize over x |b - A*x|_2
//
// where A is an m×n matrix A, b is a given m element vector and x is n element
// where A is an m×n matrix, b is a given m element vector and x is n element
// solution vector. Solve assumes that A has full rank, that is
//
// rank(A) = min(m,n)