Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

Commit

Permalink
mat64: fix doc comment for LU.RankOne
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-ch committed Apr 13, 2016
1 parent 7cc46be commit 9423acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mat64/lu.go
Expand Up @@ -126,7 +126,7 @@ func (lu *LU) Pivot(swaps []int) []int {
// RankOne updates an LU factorization as if a rank-one update had been applied to
// the original matrix A, storing the result into the receiver. That is, if in
// the original LU decomposition P * L * U = A, in the updated decomposition
// P * L * U = A + alpha * x^T * y.
// P * L * U = A + alpha * x * y^T.
func (lu *LU) RankOne(orig *LU, alpha float64, x, y *Vector) {
// RankOne uses algorithm a1 on page 28 of "Multiple-Rank Updates to Matrix
// Factorizations for Nonlinear Analysis and Circuit Design" by Linzhong Deng.
Expand Down

0 comments on commit 9423acb

Please sign in to comment.