mirror of
https://github.com/gonum/gonum.git
synced 2025-10-22 14:49:29 +08:00
mat: fixed typo in mat.Solve/mat.SolveVec
It seems the extra `A` here is unintended.
This commit is contained in:

committed by
Dan Kortschak

parent
637fb78ba0
commit
2d7eec07c1
@@ -14,7 +14,7 @@ import (
|
|||||||
//
|
//
|
||||||
// minimize over x |b - A*x|_2
|
// 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
|
// solution vector. Solve assumes that A has full rank, that is
|
||||||
//
|
//
|
||||||
// rank(A) = min(m,n)
|
// rank(A) = min(m,n)
|
||||||
@@ -121,7 +121,7 @@ func (m *Dense) Solve(a, b Matrix) error {
|
|||||||
//
|
//
|
||||||
// minimize over x |b - A*x|_2
|
// 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
|
// solution vector. Solve assumes that A has full rank, that is
|
||||||
//
|
//
|
||||||
// rank(A) = min(m,n)
|
// rank(A) = min(m,n)
|
||||||
|
Reference in New Issue
Block a user