Function

NumCosmoMathlapack_dsyevr

Declaration [src]

gint
ncm_lapack_dsyevr (
  gchar jobz,
  gchar range,
  gchar uplo,
  gint n,
  gdouble* a,
  gint lda,
  gdouble vl,
  gdouble vu,
  gint il,
  gint iu,
  gdouble abstol,
  gint* m,
  gdouble* w,
  gdouble* z,
  gint ldz,
  gint* isuppz,
  NcmLapackWS* ws
)

Description [src]

Computes selected eigenvalues and, optionally, eigenvectors of a real symmetric matrix a.

Parameters

jobz

Type: gchar

A char with value ‘N’, ‘V’ or ‘I’.

range

Type: gchar

A char with value ‘A’, ‘V’ or ‘I’.

uplo

Type: gchar

A char with value ‘U’ or ‘L’.

n

Type: gint

An integer with the order of the matrix a.

a

Type: gdouble*

A double precision array with dimension (n, lda).

The data is owned by the caller of the function.
lda

Type: gint

An integer with the leading dimension of the array a, lda >= max (1, n).

vl

Type: gdouble

A double precision with the lower bound of the interval to be searched for eigenvalues.

vu

Type: gdouble

A double precision with the upper bound of the interval to be searched for eigenvalues.

il

Type: gint

An integer with the index of the smallest eigenvalue to be returned.

iu

Type: gint

An integer with the index of the largest eigenvalue to be returned.

abstol

Type: gdouble

A double precision with the absolute error tolerance for the eigenvalues.

m

Type: gint*

An integer with the total number of eigenvalues found.

The data is owned by the caller of the function.
w

Type: gdouble*

A double precision array with dimension n.

The data is owned by the caller of the function.
z

Type: gdouble*

A double precision array with dimension (ldz, n).

The data is owned by the caller of the function.
ldz

Type: gint

An integer with the leading dimension of the array z, ldz >= 1, and if jobz = ‘V’ or ‘I’, ldz >= n.

isuppz

Type: gint*

An integer array with dimension (2, n).

The data is owned by the caller of the function.
ws

Type: NcmLapackWS

A NcmLapackWS.

The data is owned by the caller of the function.

Return value

Type: gint

An integer with the error code.