September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
17
Task/Matrix-arithmetic/Go/matrix-arithmetic-3.go
Normal file
17
Task/Matrix-arithmetic/Go/matrix-arithmetic-3.go
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/skelterjohn/go.matrix"
|
||||
)
|
||||
|
||||
func main() {
|
||||
fmt.Println(matrix.MakeDenseMatrixStacked([][]float64{
|
||||
{1, 2},
|
||||
{3, 4}}).Det())
|
||||
fmt.Println(matrix.MakeDenseMatrixStacked([][]float64{
|
||||
{2, 9, 4},
|
||||
{7, 5, 3},
|
||||
{6, 1, 8}}).Det())
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue