Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | arr(:) | |||
integer(kind=int32), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(in) | :: | arr(:) | |||
integer(kind=int64), | intent(in) | :: | val |
@brief The logical operator P => Q
@details P | Q | P => Q | ¬ P ∨ Q
T | T | T | T T | F | F | F F | T | T | T F | F | T | T
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(in) | :: | P | |||
logical, | intent(in) | :: | Q |
Return the binomail coefficient nCr(n, r)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | n | |||
integer(kind=int32), | intent(in) | :: | r | |||
logical, | intent(in), | optional | :: | signal_overflow |
If true then the function returns -1 instead of aborting when overflow is encountered. |
Return the binomail coefficient nCr(n, r)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(in) | :: | n | |||
integer(kind=int64), | intent(in) | :: | r | |||
logical, | intent(in), | optional | :: | signal_overflow |
If true then the function returns -1 instead of aborting when overflow is encountered. |
Return the binomail coefficient nCr(n, r)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | n | |||
integer(kind=int32), | intent(in) | :: | r | |||
logical, | intent(in), | optional | :: | signal_overflow |
If true then the function returns -1 instead of aborting when overflow is encountered. |
Return the binomail coefficient nCr(n, r)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(in) | :: | n | |||
integer(kind=int64), | intent(in) | :: | r | |||
logical, | intent(in), | optional | :: | signal_overflow |
If true then the function returns -1 instead of aborting when overflow is encountered. |
If v compares less than lo, returns lo; otherwise if hi compares less than v, returns hi; otherwise returns v. Is also defined for lo > hi!
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | v | |||
integer(kind=int32), | intent(in) | :: | lo | |||
integer(kind=int32), | intent(in) | :: | hi |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(in) | :: | v | |||
integer(kind=int64), | intent(in) | :: | lo | |||
integer(kind=int64), | intent(in) | :: | hi |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=sp), | intent(in) | :: | v | |||
real(kind=sp), | intent(in) | :: | lo | |||
real(kind=sp), | intent(in) | :: | hi |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | v | |||
real(kind=dp), | intent(in) | :: | lo | |||
real(kind=dp), | intent(in) | :: | hi |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=c_char), | intent(in) | :: | str(*) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=c_double), | intent(in) | :: | x |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=c_double), | intent(in) | :: | x |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | a | |||
integer(kind=int32), | intent(in) | :: | b |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(in) | :: | a | |||
integer(kind=int64), | intent(in) | :: | b |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int128), | intent(in) | :: | a | |||
integer(kind=int128), | intent(in) | :: | b |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | sgn(lenof_sign/inum_runs) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(in), | dimension(lenof_sign/inum_runs) | :: | wsign |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | sgn(lenof_sign/inum_runs) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=sp), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=dp), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=sp), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | q | |||
integer(kind=int32), | intent(in) | :: | p |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(in) | :: | x | |||
integer(kind=int64), | intent(in) | :: | y |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(inout) | :: | a | |||
integer(kind=int64), | intent(inout) | :: | b |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(inout) | :: | a | |||
integer(kind=int32), | intent(inout) | :: | b |
Custom implementation of the findloc intrinsic (with somewhat reduced functionality) as it requires fortran2008 support and is thus not available for some relevant compilers
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | arr(:) | |||
integer(kind=int32), | intent(in) | :: | val | |||
logical, | intent(in), | optional | :: | back |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(in) | :: | arr(:) | |||
integer(kind=int64), | intent(in) | :: | val | |||
logical, | intent(in), | optional | :: | back |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=sp), | intent(in) | :: | arr(:) | |||
real(kind=sp), | intent(in) | :: | val | |||
logical, | intent(in), | optional | :: | back |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | arr(:) | |||
real(kind=dp), | intent(in) | :: | val | |||
logical, | intent(in), | optional | :: | back |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=sp), | intent(in) | :: | arr(:) | |||
complex(kind=sp), | intent(in) | :: | val | |||
logical, | intent(in), | optional | :: | back |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=dp), | intent(in) | :: | arr(:) | |||
complex(kind=dp), | intent(in) | :: | val | |||
logical, | intent(in), | optional | :: | back |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(in) | :: | arr(:) | |||
logical, | intent(in) | :: | val | |||
logical, | intent(in), | optional | :: | back |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | X(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(in) | :: | X(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=sp), | intent(in) | :: | X(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | X(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=sp), | intent(in) | :: | X(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=dp), | intent(in) | :: | X(:) |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | val |
procedure , private , :: eq_EnumBase_t Function | |
procedure , private , :: neq_EnumBase_t Function | |
generic, public :: operator(==) => eq_EnumBase_t | |
generic, public :: operator(/=) => neq_EnumBase_t |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | r |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | num | |||
real(kind=dp), | intent(in) | :: | r |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | sgn(lenof_sign/inum_runs) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(in), | dimension(lenof_sign/inum_runs) | :: | wsign |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | sgn(lenof_sign/inum_runs) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=sp), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=sp), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=dp), | intent(in) | :: | val |
Custom implementation of the findloc intrinsic (with somewhat reduced functionality) as it requires fortran2008 support and is thus not available for some relevant compilers
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | arr(:) | |||
integer(kind=int32), | intent(in) | :: | val | |||
logical, | intent(in), | optional | :: | back |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(in) | :: | arr(:) | |||
integer(kind=int64), | intent(in) | :: | val | |||
logical, | intent(in), | optional | :: | back |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=sp), | intent(in) | :: | arr(:) | |||
real(kind=sp), | intent(in) | :: | val | |||
logical, | intent(in), | optional | :: | back |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | arr(:) | |||
real(kind=dp), | intent(in) | :: | val | |||
logical, | intent(in), | optional | :: | back |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=sp), | intent(in) | :: | arr(:) | |||
complex(kind=sp), | intent(in) | :: | val | |||
logical, | intent(in), | optional | :: | back |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=dp), | intent(in) | :: | arr(:) | |||
complex(kind=dp), | intent(in) | :: | val | |||
logical, | intent(in), | optional | :: | back |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(in) | :: | arr(:) | |||
logical, | intent(in) | :: | val | |||
logical, | intent(in), | optional | :: | back |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | q | |||
integer(kind=int32), | intent(in) | :: | p |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(in) | :: | x | |||
integer(kind=int64), | intent(in) | :: | y |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | p | |||
integer, | intent(in) | :: | q | |||
integer, | intent(in) | :: | dim |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | orb |
@brief Calculate 1 + … + n
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | n |
@brief Get the index in the binomial_lookup_table
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | n | |||
integer, | intent(in) | :: | k |
Return the binomail coefficient nCr(n, r)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | n | |||
integer(kind=int32), | intent(in) | :: | r | |||
logical, | intent(in), | optional | :: | signal_overflow |
If true then the function returns -1 instead of aborting when overflow is encountered. |
Return the binomail coefficient nCr(n, r)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | n | |||
integer(kind=int32), | intent(in) | :: | r | |||
logical, | intent(in), | optional | :: | signal_overflow |
If true then the function returns -1 instead of aborting when overflow is encountered. |
Return the binomail coefficient nCr(n, r)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(in) | :: | n | |||
integer(kind=int64), | intent(in) | :: | r | |||
logical, | intent(in), | optional | :: | signal_overflow |
If true then the function returns -1 instead of aborting when overflow is encountered. |
Return the binomail coefficient nCr(n, r)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(in) | :: | n | |||
integer(kind=int64), | intent(in) | :: | r | |||
logical, | intent(in), | optional | :: | signal_overflow |
If true then the function returns -1 instead of aborting when overflow is encountered. |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | a | |||
integer(kind=int32), | intent(in) | :: | b |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(in) | :: | a | |||
integer(kind=int64), | intent(in) | :: | b |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int128), | intent(in) | :: | a | |||
integer(kind=int128), | intent(in) | :: | b |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=n_int), | intent(in), | dimension(:) | :: | a | ||
integer(kind=n_int), | intent(in), | dimension(:) | :: | b | ||
integer, | intent(in), | optional | :: | len |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=n_int), | intent(in), | dimension(:) | :: | a | ||
integer(kind=n_int), | intent(in), | dimension(:) | :: | b | ||
integer, | intent(in), | optional | :: | len |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=n_int), | intent(in) | :: | arr(:,:) | |||
integer(kind=n_int), | intent(in) | :: | val(:) | |||
integer, | intent(in), | optional | :: | cf_len |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | arr(:) | |||
integer(kind=int32), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(in) | :: | arr(:) | |||
integer(kind=int64), | intent(in) | :: | val |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | arr(:) | |||
real(kind=dp), | intent(in) | :: | val | |||
real(kind=dp), | intent(in) | :: | thresh |
Type | Intent | Optional | Attributes | Name | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
integer(kind=n_int), | intent(in) | :: | arr(:,:) | ||||||||||||||||||||||||
integer(kind=n_int), | intent(in) | :: | val(:) | ||||||||||||||||||||||||
integer, | intent(in), | optional | :: | cf_len | |||||||||||||||||||||||
private pure function custom_gt(a, b) result(ret)Arguments
Return Value logical |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | bytes |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | argument |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | argument |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(out) | :: | time(2) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | X(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(in) | :: | X(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=sp), | intent(in) | :: | X(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | X(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=sp), | intent(in) | :: | X(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=dp), | intent(in) | :: | X(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | lhs(:) | |||
integer, | intent(in) | :: | rhs(size(lhs)) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | lhs(:) | |||
integer, | intent(in) | :: | rhs(size(lhs)) |
@brief Create all possible permutations of [1, …, n]
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | n |
@brief The logical operator P => Q
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(in) | :: | P | |||
logical, | intent(in) | :: | Q |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(EnumBase_t), | intent(in) | :: | this | |||
class(EnumBase_t), | intent(in) | :: | other |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(EnumBase_t), | intent(in) | :: | this | |||
class(EnumBase_t), | intent(in) | :: | other |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | v | |||
integer(kind=int32), | intent(in) | :: | lo | |||
integer(kind=int32), | intent(in) | :: | hi |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(in) | :: | v | |||
integer(kind=int64), | intent(in) | :: | lo | |||
integer(kind=int64), | intent(in) | :: | hi |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=sp), | intent(in) | :: | v | |||
real(kind=sp), | intent(in) | :: | lo | |||
real(kind=sp), | intent(in) | :: | hi |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | v | |||
real(kind=dp), | intent(in) | :: | lo | |||
real(kind=dp), | intent(in) | :: | hi |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=c_char), | intent(in) | :: | str(*) | |||
integer, | intent(in) | :: | l |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | N | |||
integer, | intent(in) | :: | A(IA*N) | |||
integer, | intent(in) | :: | IA | |||
integer, | intent(out) | :: | B(IB*N) | |||
integer, | intent(in) | :: | IB |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(inout), | allocatable | :: | arr(:) | ||
integer, | intent(in) | :: | ind | |||
integer, | intent(in) | :: | elem |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(inout) | :: | a | |||
integer(kind=int32), | intent(inout) | :: | b |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(inout) | :: | a | |||
integer(kind=int64), | intent(inout) | :: | b |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(inout) | :: | a | |||
integer(kind=int64), | intent(inout) | :: | i | |||
integer(kind=int64), | intent(inout) | :: | b | |||
integer(kind=int64), | intent(inout) | :: | j |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | stem | |||
integer, | intent(in) | :: | n | |||
character(len=*), | intent(out) | :: | s |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | stem | |||
logical, | intent(in) | :: | tincrement | |||
logical, | intent(in) | :: | tnext | |||
integer, | intent(in) | :: | istart | |||
character(len=*), | intent(out) | :: | filename | |||
character(len=*), | intent(in), | optional | :: | ext |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(inout) | :: | comb(k) | |||
integer, | intent(in) | :: | k | |||
integer, | intent(in) | :: | n | |||
logical, | intent(out) | :: | finish |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | funit | |||
character(len=*), | intent(in) | :: | filename |