grid_tools  1.4.0
 All Data Structures Files Functions Variables
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

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

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

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

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

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

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


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