• This repository has been archived on 24/Nov/2018
  • Stars
    star
    69
  • Rank 436,980 (Top 9 %)
  • Language
    Go
  • Created almost 10 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A LAPACK implementation for Go [DEPRECATED]

Gonum LAPACK Build Status Coverage Status GoDoc

This repository is no longer maintained. Development has moved to https://github.com/gonum/gonum.

A collection of packages to provide LAPACK functionality for the Go programming language (http://golang.org). This provides a partial implementation in native go and a wrapper using cgo to a c-based implementation.

Installation

  go get github.com/gonum/lapack

Install OpenBLAS:

  git clone https://github.com/xianyi/OpenBLAS
  cd OpenBLAS
  make

Then install the lapack/cgo package:

  CGO_LDFLAGS="-L/path/to/OpenBLAS -lopenblas" go install github.com/gonum/lapack/cgo

For Windows you can download binary packages for OpenBLAS at http://sourceforge.net/projects/openblas/files/

If you want to use a different BLAS package such as the Intel MKL you can adjust the CGO_LDFLAGS variable:

  CGO_LDFLAGS="-lmkl_rt" go install github.com/gonum/lapack/cgo

Packages

lapack

Defines the LAPACK API based on http://www.netlib.org/lapack/lapacke.html

lapack/lapacke

Binding to a C implementation of the lapacke interface (e.g. OpenBLAS or intel MKL)

The linker flags (i.e. path to the BLAS library and library name) might have to be adapted.

The recommended (free) option for good performance on both linux and darwin is OpenBLAS.

Issues

If you find any bugs, feel free to file an issue on the github issue tracker for gonum/gonum or gonum/netlib for the CGO implementation if the bug exists in that reposity; no code changes will be made to this repository. Other discussions should be taken to the gonum-dev Google Group.

https://groups.google.com/forum/#!forum/gonum-dev

License

Please see github.com/gonum/license for general license information, contributors, authors, etc on the Gonum suite of packages.

More Repositories

1

gonum

Gonum is a set of numeric libraries for the Go programming language. It contains libraries for matrices, statistics, optimization, and more
Go
7,153
star
2

plot

A repository for plotting and visualizing data
Go
2,596
star
3

matrix

Matrix packages for the Go language [DEPRECATED]
Go
447
star
4

graph

Graph packages for the Go language [DEPRECATED]
Go
251
star
5

stat

Statistics package for Go [DEPRECATED]
Go
195
star
6

blas

A BLAS implementation for Go [DEPRECATED]
Go
171
star
7

hdf5

hdf5 is a wrapper for the HDF5 library
Go
128
star
8

optimize

Packages for solving minimization problems [DEPRECATED]
Go
67
star
9

floats

Operations on slices of floats [DEPRECATED]
Go
57
star
10

netlib

netlib contains C wrappers for netlib code in particular BLAS and LAPACK
C++
36
star
11

unit

Package for converting between scientific units [DEPRECATED]
Go
28
star
12

diff

Set of tools for computing derivatives of a function [DEPRECATED]
Go
24
star
13

internal

Internal routines for the gonum project [DEPRECATED]
Go
21
star
14

mathext

mathext implements basic elementary functions not included in the Go standard library [DEPRECATED]
Fortran
17
star
15

exp

Experimental packages
Go
13
star
16

talks

Talks given about Go and Gonum delivered by Gonum developers.
Go
12
star
17

integrate

integrate implements routines for numerical integration for the Go language [DEPRECATED]
Go
10
star
18

tools

Tools that are used by Gonum with general utility
Go
5
star
19

gonum.github.io

Gonum website
HTML
3
star
20

old-website

Code for the Gonum website
CSS
2
star
21

license

Master license, author, contributor etc information [DEPRECATED]
2
star
22

website

updated website for gonum.org
Go
1
star