lapack

package module
v0.0.0-...-edbcd12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2017 License: MIT Imports: 2 Imported by: 2

README

LAPACK Build Status

The package provides bindings to the Basic Linear Algebra Subprograms and Linear Algebra Package.

The list of available routines currently includes:

  • DDOT,
  • DGEMM,
  • DGEMV,
  • DGETRF,
  • DGETRI,
  • DGTSV, and
  • DSYEV.

Documentation

Installation

Fetch the package:

go get -d github.com/ready-steady/lapack

Go to the directory of the package:

cd $GOPATH/src/github.com/ready-steady/lapack

Finally, install the package:

make install

This command requires gfortran to be installed.

Contribution

  1. Fork the project.
  2. Implement your idea.
  3. Open a pull request.

Documentation

Overview

Package lapack provides bindings to the Basic Linear Algebra Subprograms and Linear Algebra Package.

http://www.netlib.org/lapack/

http://www.netlib.org/blas/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DDOT

func DDOT(n int, x []float64, incx int, y []float64, incy int) float64

func DGEMM

func DGEMM(transa, transb byte, m, n, k int, alpha float64, a []float64,
	lda int, b []float64, ldb int, beta float64, C []float64, ldc int)

func DGEMV

func DGEMV(trans byte, m, n int, alpha float64, a []float64, lda int,
	x []float64, incx int, beta float64, y []float64, incy int)

func DGETRF

func DGETRF(m, n int, a []float64, lda int, ipiv []int, info *int)

func DGETRI

func DGETRI(n int, a []float64, lda int, ipiv []int, work []float64, lwork int,
	info *int)

func DGTSV

func DGTSV(n, nrhs int, dl, d, du, b []float64, ldb int, info *int)

func DSYEV

func DSYEV(jobz, uplo byte, n int, a []float64, lda int, w, work []float64,
	lwork int, info *int)

func SetNumberOfThreads

func SetNumberOfThreads(n uint)

SetNumberOfThreads sets the number of threads used by OpenBLAS.

If your application is already multi-threaded, it will conflict with OpenBLAS multi-threading. Thus, you must set OpenBLAS to use only one thread.

https://github.com/xianyi/OpenBLAS/wiki/faq#multi-threaded

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL