public interface rand_basis
This interface provides methods to create an array X
of random abstract_vector
.
It is a simple wrapper around X(i)%rand(ifnorm)
.
Example
type(my_real_vector), dimension(10) :: X
logical :: ifnorm = .true.
! ... Your code ...
call rand_basis(X, ifnorm)
! ... Your code ...
Module Procedures
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
class(abstract_vector_rsp),
|
intent(inout) |
|
|
:: |
X(:) |
|
logical,
|
intent(in), |
optional |
|
:: |
ifnorm |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
class(abstract_vector_rdp),
|
intent(inout) |
|
|
:: |
X(:) |
|
logical,
|
intent(in), |
optional |
|
:: |
ifnorm |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
class(abstract_vector_csp),
|
intent(inout) |
|
|
:: |
X(:) |
|
logical,
|
intent(in), |
optional |
|
:: |
ifnorm |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
class(abstract_vector_cdp),
|
intent(inout) |
|
|
:: |
X(:) |
|
logical,
|
intent(in), |
optional |
|
:: |
ifnorm |
|