fortran-lapack
Loading...
Searching...
No Matches
la_matrix_functions::expm_space Interface Reference

Workspace sizes for the matrix exponential. More...

Public Member Functions

pure subroutine la_s_expm_space (a, lwork, liwork)
 Workspace sizes for the matrix exponential of a[n,n].
 
pure subroutine la_d_expm_space (a, lwork, liwork)
 Workspace sizes for the matrix exponential of a[n,n].
 
pure subroutine la_c_expm_space (a, lwork, liwork)
 Workspace sizes for the matrix exponential of a[n,n].
 
pure subroutine la_z_expm_space (a, lwork, liwork)
 Workspace sizes for the matrix exponential of a[n,n].
 

Detailed Description

Workspace sizes for the matrix exponential.

This subroutine returns the sizes of the working arrays that matrix_exp needs for a matrix of the size of \( A \), so that repeated calls perform no internal allocation.

Parameters
[in]AThe input square matrix of size \( [n, n] \). Only its size is read.
[out]lworkThe minimum size of work, \( 4 n^2 \).
[out]liworkThe minimum size of iwork, \( n \).

Member Function/Subroutine Documentation

◆ la_c_expm_space()

pure subroutine la_matrix_functions::expm_space::la_c_expm_space ( complex(sp), dimension(:,:), intent(in) a,
integer(ilp), intent(out) lwork,
integer(ilp), intent(out) liwork )

Workspace sizes for the matrix exponential of a[n,n].

Parameters
[in]aInput matrix a[n,n]; only its size is read
[out]lworkMinimum size of the work array
[out]liworkMinimum size of the integer work array

◆ la_d_expm_space()

pure subroutine la_matrix_functions::expm_space::la_d_expm_space ( real(dp), dimension(:,:), intent(in) a,
integer(ilp), intent(out) lwork,
integer(ilp), intent(out) liwork )

Workspace sizes for the matrix exponential of a[n,n].

Parameters
[in]aInput matrix a[n,n]; only its size is read
[out]lworkMinimum size of the work array
[out]liworkMinimum size of the integer work array

◆ la_s_expm_space()

pure subroutine la_matrix_functions::expm_space::la_s_expm_space ( real(sp), dimension(:,:), intent(in) a,
integer(ilp), intent(out) lwork,
integer(ilp), intent(out) liwork )

Workspace sizes for the matrix exponential of a[n,n].

Parameters
[in]aInput matrix a[n,n]; only its size is read
[out]lworkMinimum size of the work array
[out]liworkMinimum size of the integer work array

◆ la_z_expm_space()

pure subroutine la_matrix_functions::expm_space::la_z_expm_space ( complex(dp), dimension(:,:), intent(in) a,
integer(ilp), intent(out) lwork,
integer(ilp), intent(out) liwork )

Workspace sizes for the matrix exponential of a[n,n].

Parameters
[in]aInput matrix a[n,n]; only its size is read
[out]lworkMinimum size of the work array
[out]liworkMinimum size of the integer work array

The documentation for this interface was generated from the following file: