Calculates the singular value decomposition (SVD) of a matrix A.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:, :), contiguous | :: | A | ||
real(kind=rk), | intent(out), | dimension(:,:) | :: | U | ||
real(kind=rk), | intent(out), | dimension(:) | :: | S | ||
real(kind=rk), | intent(out), | dimension(:,:) | :: | VT | ||
character(len=*), | intent(in), | optional | :: | method |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=rk), | public, | dimension(:,:), allocatable | :: | matrix | |||
real(kind=rk), | public, | dimension(:,:), allocatable | :: | matrix_app | |||
integer, | public | :: | nrow | ||||
integer, | public | :: | ncol | ||||
integer, | public | :: | rank |
procedure, public :: lowrank | |
procedure, public :: dlloc => deallocate_tsvd |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=256), | public | :: | image_name | ||||
character(len=256), | public | :: | file_name | ||||
real(kind=rk), | public, | dimension(:,:), allocatable | :: | pixels | |||
real(kind=rk), | public, | dimension(:,:), allocatable | :: | pixels_app | |||
integer, | public | :: | nrow | ||||
integer, | public | :: | ncol | ||||
integer, | public | :: | rank |
procedure, public :: image_to_pixels | |
procedure, public :: load_pixels | |
procedure, public :: compress_pixels | |
procedure, public :: save_pixels | |
procedure, public :: pixels_to_image | |
procedure, public :: dlloc => deallocate_pixel |
Calculates the singular value decomposition (SVD) of a matrix A.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:, :), contiguous | :: | A | ||
real(kind=rk), | intent(out), | dimension(:,:) | :: | U | ||
real(kind=rk), | intent(out), | dimension(:) | :: | S | ||
real(kind=rk), | intent(out), | dimension(:,:) | :: | VT | ||
character(len=*), | intent(in), | optional | :: | method |
Calculates the singular value decomposition (SVD) of a matrix A.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:, :), contiguous | :: | A | ||
real(kind=rk), | intent(out), | dimension(:,:) | :: | U | ||
real(kind=rk), | intent(out), | dimension(:) | :: | S | ||
real(kind=rk), | intent(out), | dimension(:,:) | :: | VT |
Calculates the singular value decomposition (SVD) of a matrix A.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in), | dimension(:, :), contiguous | :: | A | ||
real(kind=rk), | intent(out), | dimension(:,:) | :: | U | ||
real(kind=rk), | intent(out), | dimension(:) | :: | S | ||
real(kind=rk), | intent(out), | dimension(:,:) | :: | VT |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(tsvd), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in), | dimension(:, :) | :: | matrix | ||
integer, | intent(in) | :: | rank | |||
character(len=*), | intent(in), | optional | :: | method |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pixel), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | image_name | |||
character(len=*), | intent(in) | :: | file_name |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pixel), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | file_name | |||
character(len=*), | intent(in) | :: | image_name |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pixel), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | file_name |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pixel), | intent(inout) | :: | this | |||
integer, | intent(in) | :: | rank | |||
character(len=*), | intent(in), | optional | :: | method |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pixel), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | file_name |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pixel), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(tsvd), | intent(inout) | :: | this |