Compute the Gram matrix .
This interface provides methods for computing the Gram matrix associated to a basis of abstract_vector
.
The example below assumes that you have already extended the abstract_vector_rdp
class to define your own my_real_vector
type.
type(my_real_vector), dimension(10) :: X
real(dp), dimension(:, :), allocatable :: G
! ... Part of your code where you initialize everything ...
G = Gram(X)
! ... Rest of your code ...
Computes the inner product/Gram matrix associated with the basis .
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(abstract_vector_rsp), | intent(in) | :: | X(:) |
Computes the inner product/Gram matrix associated with the basis .
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(abstract_vector_rdp), | intent(in) | :: | X(:) |
Computes the inner product/Gram matrix associated with the basis .
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(abstract_vector_csp), | intent(in) | :: | X(:) |
Computes the inner product/Gram matrix associated with the basis .
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(abstract_vector_cdp), | intent(in) | :: | X(:) |