From 3d8368a315b469a37258f79eaa5f56e3b6052340 Mon Sep 17 00:00:00 2001 From: Sebastien Binet Date: Mon, 11 Aug 2014 10:54:08 +0200 Subject: [PATCH 1/2] doc: update instructions - update package names for `gonum` migration - update example --- README.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b28705cc..cd21b4fe 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ This is work in progress. Breaking changes are likely to happen. ## Installation ``` - go get github.com/dane-unltd/blas + go get github.com/gonum/blas ``` @@ -25,14 +25,14 @@ http://sourceforge.net/projects/openblas/files/ generate lapack bindings ``` - cd $GOPATH/src/github.com/dane-unltd/lapack/clapack - ./genLapack -L/path/to/OpenBLAS -lopenblas + cd $GOPATH/src/github.com/gonum/lapack/clapack + ./genLapack.pl -L/path/to/OpenBLAS -lopenblas ``` If you want to use the Intel MKL and all of your paths are properly set ``` - cd $GOPATH/src/github.com/dane-unltd/lapack/clapack - ./genLapack -lmkl_rt + cd $GOPATH/src/github.com/gonum/lapack/clapack + ./genLapack.pl -lmkl_rt ``` should work. @@ -66,12 +66,11 @@ import ( "github.com/gonum/blas/dbw" "github.com/gonum/lapack/clapack" "github.com/gonum/lapack/dla" - "github.com/gonum/ ) func init() { dbw.Register(cblas.Blas{}) - dla.Register(clapack.Lapack{}) + dla.Register(clapack.La{}) } func main() { From 9caa3289743e9e89debfd68ac70cd460f39b18f7 Mon Sep 17 00:00:00 2001 From: Sebastien Binet Date: Mon, 11 Aug 2014 11:29:00 +0200 Subject: [PATCH 2/2] doc: colorize example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cd21b4fe..b55dee6f 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ Experimental wrapper for the float64 part of the lapack interface. You have to register an implementation before you can use the LAPACK functions: -``` +```go package main import (