我要评分
获取效率
正确性
完整性
易理解

Data Structures

This section describes the data types of functions in the KML_BLAS library.

Data Types

Data Type

Description

s

Single-precision floating-point type

d

Double-precision floating-point type

c

Single-precision complex type

z

Double-precision complex type

Macro Definition

#define CBLAS_INDEX size_t

Enumeration Types

Table 1 describes the enumeration types of KML_BLAS.

Table 1 Enumeration types and syntax

Enumeration Type

Description

Syntax

CBLAS_ORDER

Defines whether the matrix is stored in row-major or column-major order.

enum CBLAS_ORDER {

CblasRowMajor=101,

CblasColMajor=102

}CBLAS_ORDER;

CBLAS_TRANSPOSE

Defines whether a conventional matrix or a conjugate matrix is transposed.

enum CBLAS_TRANSPOSE {

CblasNoTrans=111,

CblasTrans=112,

CblasConjTrans=113,

CblasConjNoTrans=114

} CBLAS_TRANSPOSE;

CBLAS_UPLO

Defines whether to use the upper triangle or lower triangle of the matrix.

enum CBLAS_UPLO {

CblasUpper=121,

CblasLower=122

} CBLAS_UPLO;

CBLAS_DIAG

Defines whether the used matrix is a unit matrix.

enum CBLAS_DIAG {

CblasNonUnit=131,

CblasUnit=132

} CBLAS_DIAG;

CBLAS_SIDE

Defines the order (left or right) of Hermitian matrix multiplication.

enum CBLAS_SIDE {

CblasLeft=141,

CblasRight=142

} CBLAS_SIDE;