| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public | :: | ncol | ||||
| integer, | public | :: | nrow | ||||
| integer, | public | :: | npc | ||||
| character(len=:), | public, | allocatable | :: | method | |||
| real(kind=rk), | public, | dimension(:,:), allocatable | :: | matrix | |||
| real(kind=rk), | public, | dimension(:,:), allocatable | :: | coeff | |||
| real(kind=rk), | public, | dimension(:,:), allocatable | :: | score | |||
| real(kind=rk), | public, | dimension(:,:), allocatable | :: | matrix_app | |||
| real(kind=rk), | public, | dimension(:,:), allocatable | :: | mean_data | |||
| real(kind=rk), | public, | dimension(:), allocatable | :: | latent | |||
| real(kind=rk), | public, | dimension(:), allocatable | :: | explained_variance |
| procedure, public :: initialize | |
| procedure, public :: compute_coeff | |
| procedure, public :: compute_score | |
| procedure, public :: reconstruct_data | |
| procedure, public :: cmp_explained_variance | |
| procedure, public :: pca | |
| procedure, public :: finalize => deallocate_tpca |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tpca), | intent(inout) | :: | this | |||
| real(kind=rk), | intent(in), | dimension(:,:) | :: | matrix | ||
| integer, | intent(in), | optional | :: | npc | ||
| character(len=*), | intent(in), | optional | :: | method |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tpca), | intent(inout) | :: | this |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tpca), | intent(inout) | :: | this |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tpca), | intent(inout) | :: | this |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tpca), | intent(inout) | :: | this |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tpca), | intent(inout) | :: | this | |||
| real(kind=rk), | intent(in), | dimension(:,:) | :: | matrix | ||
| integer, | intent(in), | optional | :: | npc | ||
| character(len=*), | intent(in), | optional | :: | method | ||
| real(kind=rk), | intent(out), | dimension(:,:), allocatable | :: | coeff | ||
| real(kind=rk), | intent(out), | optional, | dimension(:,:), allocatable | :: | score | |
| real(kind=rk), | intent(out), | optional, | dimension(:), allocatable | :: | latent | |
| real(kind=rk), | intent(out), | optional, | dimension(:), allocatable | :: | explained | |
| real(kind=rk), | intent(out), | optional, | dimension(:,:), allocatable | :: | matrix_app |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(tpca), | intent(inout) | :: | this |