RosettaCodeData/Task/Identity-matrix/Go/identity-matrix-2.go

12 lines
124 B
Go
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
package main
2015-11-18 06:14:39 +00:00
import (
"fmt"
2013-04-10 21:29:02 -07:00
2015-11-18 06:14:39 +00:00
mat "github.com/skelterjohn/go.matrix"
)
2013-04-10 21:29:02 -07:00
func main() {
2015-11-18 06:14:39 +00:00
fmt.Println(mat.Eye(3))
2013-04-10 21:29:02 -07:00
}