MATRIX_UTIL - Matrix utilities

#include <spral_matrix_util.h> /* or <spral.h> for all packages */

Purpose

This packages contains assorted utility routines and datatypes for:
  • matrix data storage and format conversion

  • printing of matrices

Version history

2016-09-07 Version 0.1.0

API still open to redefinition: only documented entries are considered at all “fixed”.

Data types

enum spral_matrix_type
SPRAL_MATRIX_UNSPECIFIED

User doesn’t wish to specify matrix type, use default behaviour for routine.

SPRAL_MATRIX_REAL_RECT

Rectangular real-valued matrix, \(m\ne n\).

SPRAL_REAL_UNSYM

Square real-valued unsymmetric matrix, \(m\eq n\).

SPRAL_REAL_SYM_PSDEF

Symmetric real-valued positive-definite matrix.

SPRAL_REAL_SYM_INDEF

Symmetric real-valued indefinite matrix.

SPRAL_REAL_SKEW

Skew-symmetric real-valued matrix.

SPRAL_MATRIX_CPLX_RECT

Rectangular complex-valued matrix, \(m\ne n\).

SPRAL_CPLX_UNSYM

Square complex-valued unsymmetric matrix, \(m\eq n\).

SPRAL_CPLX_HERM_PSDEF

Hermitian complex-valued positive-definite matrix.

SPRAL_CPLX_SYM_INDEF

Hermitian complex-valued indefinite matrix.

SPRAL_CPLX_SYM

Symmetric complex-valued matrix.

SPRAL_CPLX_SKEW

Skew-symmetric complex-valued matrix.