grid_tools  1.9.0
pmat4::trace Interface Reference

Private Member Functions

real(dp) function trace_d (b)
 Return the trace of a given double precision real matrix. More...
 
integer(spi) function trace_i (b)
 Return the trace of a given integer matrix. More...
 
real(sp) function trace_s (b)
 Return the trace of a given single precision real matrix. More...
 

Detailed Description

Definition at line 78 of file pmat4.f90.

Member Function/Subroutine Documentation

◆ trace_d()

real(dp) function pmat4::trace::trace_d ( real(dp), dimension(:,:), intent(in)  b)
private

Return the trace of a given double precision real matrix.

Parameters
[in]breal type input matrix B
Returns
s result, trace, or sum of diagonal elements, of B
Author
R. J. Purser

Definition at line 579 of file pmat4.f90.

◆ trace_i()

integer(spi) function pmat4::trace::trace_i ( integer(spi), dimension(:,:), intent(in)  b)
private

Return the trace of a given integer matrix.

Parameters
[in]binteger type input matrix B
Returns
s result, trace, or sum of diagonal elements, of B
Author
R. J. Purser

Definition at line 591 of file pmat4.f90.

◆ trace_s()

real(sp) function pmat4::trace::trace_s ( real(sp), dimension(:,:), intent(in)  b)
private

Return the trace of a given single precision real matrix.

Parameters
[in]breal type input matrix B
Returns
s result, trace, or sum of diagonal elements, of B
Author
R. J. Purser

Definition at line 567 of file pmat4.f90.


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