fortran-lapack
Loading...
Searching...
No Matches
la_eye::eye Interface Reference

Constructs the identity matrix. This interface provides procedures to generate an identity matrix of a given size. The resulting matrix has 1s on the diagonal and 0s elsewhere. More...

Public Member Functions

pure real(sp) function, dimension(:,:), allocatable la_eye_s (m, n, mold)
 Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.
 
pure real(dp) function, dimension(:,:), allocatable la_eye_d (m, n, mold)
 Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.
 
pure real(qp) function, dimension(:,:), allocatable la_eye_q (m, n, mold)
 Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.
 
pure complex(sp) function, dimension(:,:), allocatable la_eye_c (m, n, mold)
 Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.
 
pure complex(dp) function, dimension(:,:), allocatable la_eye_z (m, n, mold)
 Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.
 
pure complex(qp) function, dimension(:,:), allocatable la_eye_w (m, n, mold)
 Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.
 
real(sp) function, dimension(:,:), allocatable la_eye_s_errhandle (m, n, mold, err)
 Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.
 
real(dp) function, dimension(:,:), allocatable la_eye_d_errhandle (m, n, mold, err)
 Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.
 
real(qp) function, dimension(:,:), allocatable la_eye_q_errhandle (m, n, mold, err)
 Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.
 
complex(sp) function, dimension(:,:), allocatable la_eye_c_errhandle (m, n, mold, err)
 Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.
 
complex(dp) function, dimension(:,:), allocatable la_eye_z_errhandle (m, n, mold, err)
 Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.
 
complex(qp) function, dimension(:,:), allocatable la_eye_w_errhandle (m, n, mold, err)
 Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.
 

Detailed Description

Constructs the identity matrix. This interface provides procedures to generate an identity matrix of a given size. The resulting matrix has 1s on the diagonal and 0s elsewhere.

Member Function/Subroutine Documentation

◆ la_eye_c()

pure complex(sp) function, dimension(:,:), allocatable la_eye::eye::la_eye_c ( integer(ilp), intent(in)  m,
integer(ilp), intent(in), optional  n,
complex(sp), intent(in)  mold 
)

Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.

Parameters
[in]mNumber of rows of the identity matrix.
[in]nNumber of columns of the identity matrix (optional).
[in]moldData type, used to define the return type. Defaults to real(real64).
Returns
Return matrix

◆ la_eye_c_errhandle()

complex(sp) function, dimension(:,:), allocatable la_eye::eye::la_eye_c_errhandle ( integer(ilp), intent(in)  m,
integer(ilp), intent(in), optional  n,
complex(sp), intent(in)  mold,
type(la_state), intent(out)  err 
)

Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.

Parameters
[in]mNumber of rows of the identity matrix.
[in]nNumber of columns of the identity matrix (optional).
[in]moldData type, used to define the return type. Defaults to real(real64).
[out]err[optional] state return flag. On error if not requested, the code will stop
Returns
Return matrix

◆ la_eye_d()

pure real(dp) function, dimension(:,:), allocatable la_eye::eye::la_eye_d ( integer(ilp), intent(in)  m,
integer(ilp), intent(in), optional  n,
real(dp), intent(in), optional  mold 
)

Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.

Parameters
[in]mNumber of rows of the identity matrix.
[in]nNumber of columns of the identity matrix (optional).
[in]moldData type, used to define the return type. Defaults to real(real64).
Returns
Return matrix

◆ la_eye_d_errhandle()

real(dp) function, dimension(:,:), allocatable la_eye::eye::la_eye_d_errhandle ( integer(ilp), intent(in)  m,
integer(ilp), intent(in), optional  n,
real(dp), intent(in), optional  mold,
type(la_state), intent(out)  err 
)

Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.

Parameters
[in]mNumber of rows of the identity matrix.
[in]nNumber of columns of the identity matrix (optional).
[in]moldData type, used to define the return type. Defaults to real(real64).
[out]err[optional] state return flag. On error if not requested, the code will stop
Returns
Return matrix

◆ la_eye_q()

pure real(qp) function, dimension(:,:), allocatable la_eye::eye::la_eye_q ( integer(ilp), intent(in)  m,
integer(ilp), intent(in), optional  n,
real(qp), intent(in)  mold 
)

Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.

Parameters
[in]mNumber of rows of the identity matrix.
[in]nNumber of columns of the identity matrix (optional).
[in]moldData type, used to define the return type. Defaults to real(real64).
Returns
Return matrix

◆ la_eye_q_errhandle()

real(qp) function, dimension(:,:), allocatable la_eye::eye::la_eye_q_errhandle ( integer(ilp), intent(in)  m,
integer(ilp), intent(in), optional  n,
real(qp), intent(in)  mold,
type(la_state), intent(out)  err 
)

Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.

Parameters
[in]mNumber of rows of the identity matrix.
[in]nNumber of columns of the identity matrix (optional).
[in]moldData type, used to define the return type. Defaults to real(real64).
[out]err[optional] state return flag. On error if not requested, the code will stop
Returns
Return matrix

◆ la_eye_s()

pure real(sp) function, dimension(:,:), allocatable la_eye::eye::la_eye_s ( integer(ilp), intent(in)  m,
integer(ilp), intent(in), optional  n,
real(sp), intent(in)  mold 
)

Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.

Parameters
[in]mNumber of rows of the identity matrix.
[in]nNumber of columns of the identity matrix (optional).
[in]moldData type, used to define the return type. Defaults to real(real64).
Returns
Return matrix

◆ la_eye_s_errhandle()

real(sp) function, dimension(:,:), allocatable la_eye::eye::la_eye_s_errhandle ( integer(ilp), intent(in)  m,
integer(ilp), intent(in), optional  n,
real(sp), intent(in)  mold,
type(la_state), intent(out)  err 
)

Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.

Parameters
[in]mNumber of rows of the identity matrix.
[in]nNumber of columns of the identity matrix (optional).
[in]moldData type, used to define the return type. Defaults to real(real64).
[out]err[optional] state return flag. On error if not requested, the code will stop
Returns
Return matrix

◆ la_eye_w()

pure complex(qp) function, dimension(:,:), allocatable la_eye::eye::la_eye_w ( integer(ilp), intent(in)  m,
integer(ilp), intent(in), optional  n,
complex(qp), intent(in)  mold 
)

Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.

Parameters
[in]mNumber of rows of the identity matrix.
[in]nNumber of columns of the identity matrix (optional).
[in]moldData type, used to define the return type. Defaults to real(real64).
Returns
Return matrix

◆ la_eye_w_errhandle()

complex(qp) function, dimension(:,:), allocatable la_eye::eye::la_eye_w_errhandle ( integer(ilp), intent(in)  m,
integer(ilp), intent(in), optional  n,
complex(qp), intent(in)  mold,
type(la_state), intent(out)  err 
)

Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.

Parameters
[in]mNumber of rows of the identity matrix.
[in]nNumber of columns of the identity matrix (optional).
[in]moldData type, used to define the return type. Defaults to real(real64).
[out]err[optional] state return flag. On error if not requested, the code will stop
Returns
Return matrix

◆ la_eye_z()

pure complex(dp) function, dimension(:,:), allocatable la_eye::eye::la_eye_z ( integer(ilp), intent(in)  m,
integer(ilp), intent(in), optional  n,
complex(dp), intent(in)  mold 
)

Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.

Parameters
[in]mNumber of rows of the identity matrix.
[in]nNumber of columns of the identity matrix (optional).
[in]moldData type, used to define the return type. Defaults to real(real64).
Returns
Return matrix

◆ la_eye_z_errhandle()

complex(dp) function, dimension(:,:), allocatable la_eye::eye::la_eye_z_errhandle ( integer(ilp), intent(in)  m,
integer(ilp), intent(in), optional  n,
complex(dp), intent(in)  mold,
type(la_state), intent(out)  err 
)

Function to construct an identity matrix of size m x n. This function returns a diagonal identity matrix, with the diagonal elements equal to 1 and all other elements set to 0.

Parameters
[in]mNumber of rows of the identity matrix.
[in]nNumber of columns of the identity matrix (optional).
[in]moldData type, used to define the return type. Defaults to real(real64).
[out]err[optional] state return flag. On error if not requested, the code will stop
Returns
Return matrix

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