NAME

Math::BLAS::Enum - named constants

SYNOPSIS

use Math::BLAS::Enum;

DESCRIPTION

Default is to export all constants actually used in the implementation.

Matrix Ordering

The constants in this group can be imported via the :order tag.

BLAS_ROWMAJOR

matrix elements are stored in row-major order (default for Perl)

BLAS_COLMAJOR

matrix elements are stored in column-major order

Matrix Operations

The constants in this group can be imported via the :trans tag.

BLAS_NO_TRANS

operate with the matrix (default)

BLAS_TRANS

operate with the transpose matrix

BLAS_CONJ_TRANS

operate with the conjugate transpose matrix

Triangular Matrices

The constants in this group can be imported via the :uplo tag.

BLAS_UPPER

refer to upper triangular matrix (default)

BLAS_LOWER

refer to lower triangular matrix

The constants in this group can be imported via the :diag tag.

BLAS_NON_UNIT_DIAG

non-unit triangular matrix (default)

BLAS_UNIT_DIAG

unit triangular matrix, that is diagonal matrix elements are assumed to be one

Operation Side

The constants in this group can be imported via the :side tag.

BLAS_LEFT_SIDE

operate on the left-hand side (default)

BLAS_RIGHT_SIDE

operate on the right-hand side

Vector and Matrix Norms

The constants in this group can be imported via the :norm tag.

BLAS_ONE_NORM

one-norm (default)

BLAS_REAL_ONE_NORM

real one-norm

BLAS_TWO_NORM

two-norm

BLAS_FROBENIUS_NORM

Frobenius-norm

BLAS_INF_NORM

infinity-norm

BLAS_REAL_INF_NORM

real infinity-norm

BLAS_MAX_NORM

maximum-norm

BLAS_REAL_MAX_NORM

real maximum-norm

Sorting Order

The constants in this group can be imported via the :sort tag.

BLAS_INCREASING_ORDER

sort in increasing order (default)

BLAS_DECREASING_ORDER

sort in decreasing order

Complex Matrix Elements

The constants in this group can be imported via the :conj tag.

BLAS_NO_CONJ

operate with the complex vector (default)

BLAS_CONJ

operate with the conjugate of the complex vector

Jacobi Rotations

The constants in this group can be imported via the :jrot tag.

BLAS_JROT_INNER

inner rotation (default)

BLAS_JROT_OUTER

outer rotation

BLAS_JROT_SORTED

sorted rotation

Index Base

The constants in this group can be imported via the :base tag.

BLAS_ZERO_BASE

indices are zero-based (default for Perl)

BLAS_ONE_BASE

indices are one-based

Symmetric Matrices

The constants in this group can be imported via the :symmetry tag.

BLAS_GENERAL

general matrix (default)

BLAS_SYMMETRIC

symmetric matrix

BLAS_HERMITIAN

Hermitian matrix

BLAS_TRIANGULAR

triangular matrix

BLAS_LOWER_TRIANGULAR

lower triangular matrix

BLAS_UPPER_TRIANGULAR

upper triangular matrix

BLAS_LOWER_SYMMETRIC

only the lower half of a symmetric matrix is specified

BLAS_UPPER_SYMMETRIC

only the upper half of a symmetric matrix is specified

BLAS_LOWER_HERMITIAN

only the lower half of a Hermitian matrix is specified

BLAS_UPPER_HERMITIAN

only the upper half of a Hermitian matrix is specified

AUTHOR

Ralph Schleicher <rs@ralph-schleicher.de>