elpa_skew_eigenvalues(3)
๐ NAME ๐
heyyy bestie, this is the elpa_skew_eigenvalues(3) page from the Library Functions Manual โ and it is literally the routine that computes all the eigenvalues ฮป for a real skew-symmetric eigenproblem:
A*Q = ฮป*Q
There are also variations of this routine that can accept not only host but also device pointers as input/output. Names of these routines explicitly contain the corresponding datatypes: elpa_skew_eigenvalues_double, elpa_skew_eigenvalues_float.
๐ SYNOPSIS ๐
๐ฎ FORTRAN INTERFACE ๐ฎ
use elpa
class(elpa_t), pointer :: elpa_handle
call elpa_handle%skew_eigenvalues (a, ev, error)
With the definitions of the input and output variables:
class(elpa_t) :: elpa_handleโ an instance of the ELPA object, bestie ๐datatype :: aโ the local part of matrix A for which the eigenvalues should be computed. The dimensions of matrixamust be set BEFORE with the methodselpa_set(3)andelpa_setup(3). Thedatatype_realof the matrix can be one of"real(kind=c_double)"or"real(kind=c_float)". The global matrix has to be skew-symmetric, this is not checked by the routine. no cap, it will not check for you ๐datatype_real :: evโ the array where the eigenvaluesฮปwill be stored in ascending order. Thedatatype_realofevcan be either"real(kind=c_double)"or"real(kind=c_float)", depending of the datatype of the matrix. โจinteger, optional :: errorโ the return error code of the function. Should be"ELPA_OK". The error code can be queried with the functionelpa_strerr(3). ๐ซถ
๐ธ C/C++ INTERFACE ๐ธ
#include <elpa/elpa.h>
elpa_t elpa_handle;
void elpa_skew_eigenvalues(elpa_t elpa_handle, datatype_real *a,
datatype_real *ev, int *error);
With the definitions of the input and output variables:
elpa_t handle;โ the handle to the ELPA object ๐datatype_real *a;โ the local part of matrix A for which the eigenvalues should be computed. The dimensions of the matrix must be set BEFORE with the methodselpa_set(3)andelpa_setup(3). The datatype can be one of"double"or"float". The global matrix has to be skew-symmetric, this is not checked by the routine. again: not checked, so pls do not make it weird ๐datatype_real *ev;โ the array where the eigenvaluesฮปwill be stored in ascending order. Eigenvalues will be stored in ascending order. Thedatatype_realcan be either"double"or"float". โญint *error;โ the error code of the function. Should be"ELPA_OK". The error codes can be queried withelpa_strerr(3). ๐
๐ DESCRIPTION ๐
Computes the eigenvalues of a real skew-symmetric matrix. The functions elpa_init(3), elpa_allocate(3), elpa_set(3), and elpa_setup(3) must be called BEFORE elpa_skew_eigenvalues can be called. like, do the setup first, bestie โ main character energy requires prerequisites ๐
๐ฆ SEE ALSO ๐ฆ
elpa2_print_kernels(1)elpa_init(3)elpa_allocate(3)elpa_set(3)elpa_setup(3)elpa_strerr(3)elpa_eigenvectors(3)elpa_skew_eigenvectors(3)elpa_eigenvalues(3)elpa_cholesky(3)elpa_invert_triangular(3)elpa_solve_tridiagonal(3)elpa_eigenvalues(3)elpa_uninit(3)elpa_deallocate(3)
source/version: ELPA ยท date: Thu Nov 28 2024 ยท page: elpa_skew_eigenvalues(3) โ mwah, bye bestie ๐
๐ฆ where this page comes from
- nixpkgs unstable: elpa 2026.02.002
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms