cblas128

package
v0.0.0-...-40ed44c Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2015 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package cblas128 provides a simple interface to the complex128 BLAS API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Asum

func Asum(n int, x Vector) float64

Asum will panic if the vector increment is negative.

func Axpy

func Axpy(n int, alpha complex128, x, y Vector)

func Copy

func Copy(n int, x, y Vector)

func Dotc

func Dotc(n int, x, y Vector) complex128

func Dotu

func Dotu(n int, x, y Vector) complex128

func Dscal

func Dscal(n int, alpha float64, x Vector)

Dscal will panic if the vector increment is negative

func Gbmv

func Gbmv(tA blas.Transpose, alpha complex128, a Band, x Vector, beta complex128, y Vector)

func Gemm

func Gemm(tA, tB blas.Transpose, alpha complex128, a, b General, beta complex128, c General)

func Gemv

func Gemv(tA blas.Transpose, alpha complex128, a General, x Vector, beta complex128, y Vector)

func Gerc

func Gerc(alpha complex128, x, y Vector, a General)

func Geru

func Geru(alpha complex128, x, y Vector, a General)

func Hbmv

func Hbmv(alpha complex128, a HermitianBand, x Vector, beta complex128, y Vector)

func Hemm

func Hemm(s blas.Side, alpha complex128, a Hermitian, b General, beta complex128, c General)

func Hemv

func Hemv(alpha complex128, a Hermitian, x Vector, beta complex128, y Vector)

func Her

func Her(alpha float64, x Vector, a Hermitian)

func Her2

func Her2(alpha complex128, x, y Vector, a Hermitian)

func Her2k

func Her2k(t blas.Transpose, alpha complex128, a, b General, beta float64, c Hermitian)

func Herk

func Herk(t blas.Transpose, alpha float64, a General, beta float64, c Hermitian)

func Hpmv

func Hpmv(alpha complex128, a HermitianPacked, x Vector, beta complex128, y Vector)

func Hpr

func Hpr(alpha float64, x Vector, a HermitianPacked)

func Hpr2

func Hpr2(alpha complex128, x, y Vector, a HermitianPacked)

func Iamax

func Iamax(n int, x Vector) int

Iamax will panic if the vector increment is negative.

func Implementation

func Implementation() blas.Complex128

Implementation returns the current BLAS complex128 implementation.

Implementation allows direct calls to the current the BLAS complex128 implementation giving finer control of parameters.

func Nrm2

func Nrm2(n int, x Vector) float64

Nrm2 will panic if the vector increment is negative.

func Scal

func Scal(n int, alpha complex128, x Vector)

Scal will panic if the vector increment is negative

func Swap

func Swap(n int, x, y Vector)

func Symm

func Symm(s blas.Side, alpha complex128, a Symmetric, b General, beta complex128, c General)

func Syr2k

func Syr2k(t blas.Transpose, alpha complex128, a, b General, beta complex128, c Symmetric)

func Syrk

func Syrk(t blas.Transpose, alpha complex128, a General, beta complex128, c Symmetric)

func Tbmv

func Tbmv(tA blas.Transpose, a TriangularBand, x Vector)

func Tbsv

func Tbsv(tA blas.Transpose, a TriangularBand, x Vector)

func Tpmv

func Tpmv(tA blas.Transpose, a TriangularPacked, x Vector)

func Tpsv

func Tpsv(tA blas.Transpose, a TriangularPacked, x Vector)

func Trmm

func Trmm(s blas.Side, tA blas.Transpose, alpha complex128, a Triangular, b General)

func Trmv

func Trmv(tA blas.Transpose, a Triangular, x Vector)

func Trsm

func Trsm(s blas.Side, tA blas.Transpose, alpha complex128, a Triangular, b General)

func Trsv

func Trsv(tA blas.Transpose, a Triangular, x Vector)

func Use

func Use(b blas.Complex128)

Use sets the BLAS complex128 implementation to be used by subsequent BLAS calls. The default implementation is cgo.Implementation.

Types

type Band

type Band struct {
	Rows, Cols int
	KL, KU     int
	Stride     int
	Data       []complex128
}

Band represents a band matrix using the band storage scheme.

type General

type General struct {
	Rows, Cols int
	Stride     int
	Data       []complex128
}

General represents a matrix using the conventional storage scheme.

type Hermitian

type Hermitian Symmetric

Hermitian represents an Hermitian matrix using the conventional storage scheme.

type HermitianBand

type HermitianBand SymmetricBand

HermitianBand represents an Hermitian matrix using the band storage scheme.

type HermitianPacked

type HermitianPacked SymmetricPacked

HermitianPacked represents an Hermitian matrix using the packed storage scheme.

type Symmetric

type Symmetric struct {
	N      int
	Stride int
	Data   []complex128
	Uplo   blas.Uplo
}

Symmetric represents a symmetric matrix using the conventional storage scheme.

type SymmetricBand

type SymmetricBand struct {
	N, K   int
	Stride int
	Data   []complex128
	Uplo   blas.Uplo
}

SymmetricBand represents a symmetric matrix using the band storage scheme.

type SymmetricPacked

type SymmetricPacked struct {
	N    int
	Data []complex128
	Uplo blas.Uplo
}

SymmetricPacked represents a symmetric matrix using the packed storage scheme.

type Triangular

type Triangular struct {
	N      int
	Stride int
	Data   []complex128
	Uplo   blas.Uplo
	Diag   blas.Diag
}

Triangular represents a triangular matrix using the conventional storage scheme.

type TriangularBand

type TriangularBand struct {
	N, K   int
	Stride int
	Data   []complex128
	Uplo   blas.Uplo
	Diag   blas.Diag
}

TriangularBand represents a triangular matrix using the band storage scheme.

type TriangularPacked

type TriangularPacked struct {
	N    int
	Data []complex128
	Uplo blas.Uplo
	Diag blas.Diag
}

TriangularPacked represents a triangular matrix using the packed storage scheme.

type Vector

type Vector struct {
	Inc  int
	Data []complex128
}

Vector represents a vector with an associated element increment.

Jump to

Keyboard shortcuts

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