grid_tools  1.11.0
pmat4::diag Interface Reference

Private Member Functions

real(dp) function, dimension(size(a), size(a)) diagn_d (a)
 Return the diagonal matrix whose elements are the given vector. More...
 
integer(spi) function, dimension(size(a), size(a)) diagn_i (a)
 Return the diagonal matrix whose elements are the given vector. More...
 
real(sp) function, dimension(size(a), size(a)) diagn_s (a)
 Return the diagonal matrix whose elements are the given vector. More...
 
real(dp) function, dimension(size(b, 1)) diagnn_d (b)
 Return the vector whose elements are the diagonal ones of a given matrix. More...
 
integer(spi) function, dimension(size(b, 1)) diagnn_i (b)
 Return the vector whose elements are the diagonal ones of a given matrix. More...
 
real(sp) function, dimension(size(b, 1)) diagnn_s (b)
 Return the vector whose elements are the diagonal ones of a given matrix. More...
 

Detailed Description

Definition at line 75 of file pmat4.f90.

Member Function/Subroutine Documentation

◆ diagn_d()

real(dp) function, dimension(size(a),size(a)) pmat4::diag::diagn_d ( real(dp), dimension(:), intent(in)  a)
private

Return the diagonal matrix whose elements are the given vector.

Double precision version

Parameters
[in]areal type input vector A listing the diagonal elements
Returns
b result, diagonal matrix with the elements of A
Author
R. J. Purser

Definition at line 492 of file pmat4.f90.

◆ diagn_i()

integer(spi) function, dimension(size(a),size(a)) pmat4::diag::diagn_i ( integer(spi), dimension(:), intent(in)  a)
private

Return the diagonal matrix whose elements are the given vector.

Integer version.

Parameters
[in]ainteger input vector A listing the diagonal elements
Returns
b result, diagonal matrix with the elements of A
Author
R. J. Purser

Definition at line 508 of file pmat4.f90.

◆ diagn_s()

real(sp) function, dimension(size(a),size(a)) pmat4::diag::diagn_s ( real(sp), dimension(:), intent(in)  a)
private

Return the diagonal matrix whose elements are the given vector.

Single precision version.

Parameters
[in]areal type input vector A listing the diagonal elements
Returns
b result, diagonal matrix with the elements of A
Author
R. J. Purser

Definition at line 476 of file pmat4.f90.

◆ diagnn_d()

real(dp) function, dimension(size(b,1)) pmat4::diag::diagnn_d ( real(dp), dimension(:,:), intent(in)  b)
private

Return the vector whose elements are the diagonal ones of a given matrix.

Single precision version.

Parameters
[in]breal type input matrix
Returns
a result, vector listing the diagonal elements of the given matrix.
Author
R. J. Purser

Definition at line 538 of file pmat4.f90.

◆ diagnn_i()

integer(spi) function, dimension(size(b,1)) pmat4::diag::diagnn_i ( integer(spi), dimension(:,:), intent(in)  b)
private

Return the vector whose elements are the diagonal ones of a given matrix.

Integer version.

Parameters
[in]binteger type input matrix
Returns
a result, vector listing the diagonal elements of the given matrix.
Author
R. J. Purser

Definition at line 553 of file pmat4.f90.

◆ diagnn_s()

real(sp) function, dimension(size(b,1)) pmat4::diag::diagnn_s ( real(sp), dimension(:,:), intent(in)  b)
private

Return the vector whose elements are the diagonal ones of a given matrix.

Single precision version.

Parameters
[in]breal type input matrix
Returns
a result, vector listing the diagonal elements of the given matrix.
Author
R. J. Purser

Definition at line 523 of file pmat4.f90.


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