mirror of
https://github.com/gonum/gonum.git
synced 2025-10-07 08:01:20 +08:00
mat: change cholesky.To to cholesky.ToSym (#250)
* mat: change cholesky.To to cholesky.ToSym Fixes #133
This commit is contained in:
@@ -91,7 +91,7 @@ func ExampleCholesky_SymRankOne() {
|
||||
// Rank-1 update the matrix a.
|
||||
a.SymRankOne(a, 1, x)
|
||||
|
||||
au := chol.To(nil)
|
||||
au := chol.ToSym(nil)
|
||||
|
||||
// Print the matrix that was updated directly.
|
||||
fmt.Printf("\nA' = %0.4v\n", mat.Formatted(a, mat.Prefix(" ")))
|
||||
|
Reference in New Issue
Block a user