elpa_invert_triangular(3)
π elpa_invert_triangular(3) π
okay bestie, this one is straight from the Library Functions Manual, and itβs literally the elpa_invert_triangular(3) page. Itβs giving βinvert that upper triangular matrixβ energy, and weβre gonna keep every single detail. π«Ά
β¨ NAME β¨
elpa_invert_triangular β inverts an upper triangular matrix. π
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_invert_triangular_doubleelpa_invert_triangular_floatelpa_invert_triangular_double_complexelpa_invert_triangular_float_complex
πΈ SYNOPSIS πΈ
π§ FORTRAN INTERFACE π§
use elpa
class(elpa_t), pointer :: elpa_handle
call elpa_handle%invert_triangular (a, error)
With the definitions of the input and output variables:
datatype :: aβ the local part of the host/device upper triangular matrix A that should be inverted. The dimensions of matrix a must be set BEFORE with the methodselpa_set(3)andelpa_setup(3). The datatype of the matrix can be one of"real(kind=c_double)","real(kind=c_float)","complex(kind=c_double)", or"complex(kind=c_float)".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_invert_triangular(elpa_t elpa_handle, datatype *a, int *error);
With the definitions of the input and output variables:
elpa_t elpa_handle;β the handle to the ELPA object.datatype *a;β the local part of the host/device upper triangular matrix A that should be inverted. The dimensions of the matrix must be set BEFORE with the methodselpa_set(3)andelpa_setup(3). The datatype can be one of"double","float","double complex"/"std::complex<double>","float complex"/"std::complex<float>"for C/C++.int *error;β the error code of the function. Should be"ELPA_OK". The error codes can be queried withelpa_strerr(3).
π DESCRIPTION π
Inverts an upper triangular real or complex matrix. The functions elpa_init(3), elpa_allocate(3), elpa_set(3), and elpa_setup(3) must be called BEFORE elpa_invert_triangular can be called. No cap, that order matters. π₯
π SEE ALSO π
elpa2_print_kernels(1)elpa_init(3)elpa_allocate(3)elpa_set(3)elpa_setup(3)elpa_strerr(3)elpa_eigenvalues(3)elpa_eigenvectors(3)elpa_choleksy(3)elpa_solve_tridiagonal(3)elpa_hermitian_multiply(3)elpa_uninit(3)elpa_deallocate(3)
mwah π this iconic page comes from ELPA, dated Thu Nov 28 2024, and itβs elpa_invert_triangular(3) β periodt. π
π¦ 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