matrix_operate Module


Uses


Functions

public function matrix_index(i1, i2, n)

Arguments

Type IntentOptional Attributes Name
integer :: i1
integer :: i2
integer :: n

Return Value integer

public function UP_matrix_index(i1, i2)

Arguments

Type IntentOptional Attributes Name
integer :: i1
integer :: i2

Return Value integer

public function trace(M)

Arguments

Type IntentOptional Attributes Name
complex(kind=SP), intent(in) :: M(:,:)

Return Value complex(kind=sp)

public function hermitian(M)

Arguments

Type IntentOptional Attributes Name
complex(kind=SP), intent(in) :: M(:,:)

Return Value complex(kind=SP), (size(M,2),size(M,1))

public function m3det(m)

Arguments

Type IntentOptional Attributes Name
real(kind=SP) :: m(3,3)

Return Value real(kind=SP)

public function m3det_c(m)

Arguments

Type IntentOptional Attributes Name
complex(kind=SP) :: m(3,3)

Return Value complex(kind=SP)

public function m3det_i(m)

Arguments

Type IntentOptional Attributes Name
integer :: m(3,3)

Return Value integer


Subroutines

public subroutine mat_transpose(M)

Arguments

Type IntentOptional Attributes Name
complex(kind=SP) :: M(:,:)

public subroutine mat_r2c_ordered(mr, mc, m_order)

Arguments

Type IntentOptional Attributes Name
real(kind=SP) :: mr(:,:,:)
complex(kind=SP) :: mc(:,:)
integer :: m_order(:)

public subroutine mat_r2c(mr, mc, shift)

Arguments

Type IntentOptional Attributes Name
real(kind=SP) :: mr(:,:,:)
complex(kind=SP) :: mc(:,:)
integer, optional :: shift(2)

public subroutine mat_c2r(mc, mr)

Arguments

Type IntentOptional Attributes Name
complex(kind=SP) :: mc(:,:)
real(kind=SP) :: mr(:,:,:)

public subroutine m3inv(m, m_inv)

Arguments

Type IntentOptional Attributes Name
real(kind=SP) :: m(3,3)
real(kind=SP), optional :: m_inv(3,3)

public subroutine m3inv_c(m, m_inv)

Arguments

Type IntentOptional Attributes Name
complex(kind=SP) :: m(3,3)
complex(kind=SP), optional :: m_inv(3,3)


📚 Documentation Pages
⏱️ Real-Time
🔗 Code API