mirror of
https://github.com/gonum/gonum.git
synced 2025-10-15 11:40:45 +08:00
mat: change factorization inputs to use bit types (#872)
* mat: change factorization inputs to use bit types Fixes #756 and #748.
This commit is contained in:
@@ -50,7 +50,7 @@ func ExampleEigen() {
|
||||
fmt.Printf("A = %v\n\n", mat.Formatted(a, mat.Prefix(" ")))
|
||||
|
||||
var eig mat.Eigen
|
||||
ok := eig.Factorize(a, true, false)
|
||||
ok := eig.Factorize(a, mat.EigenLeft)
|
||||
if !ok {
|
||||
log.Fatal("Eigendecomposition failed")
|
||||
}
|
||||
|
Reference in New Issue
Block a user