grid_tools 1.14.0
Loading...
Searching...
No Matches
pmat4::trace Interface Reference

Public Member Functions

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

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)

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 578 of file pmat4.f90.

◆ trace_i()

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

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 590 of file pmat4.f90.

◆ trace_s()

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

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 566 of file pmat4.f90.


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