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

Data Structures

Data Types

Data Type

Description

s

Single-precision floating point

d

Double-precision floating point

c

Single-precision complex number

z

Double-precision complex number

Storage Types

A common matrix is stored in the column-major mode of Fortran. The indexes involved in the data structure start from 1 (for example, the values stored in ipiv).

Packed storage matrix: a column-major storage manner. For a real symmetric, conjugate symmetric, upper triangular, or lower triangular matrix, only half of elements are required to determine the entire matrix. Therefore, a packed format can be used to store only this part of data. For packed storage matrix A of , storage locations of elements are as follows:

  • Upper triangle storage (uplo='U', ):
  • Lower triangle storage (uplo='L', ):