buds  0.1
FORTRAN reference counted types
Private Member Functions | List of all members

Return wrapped integer by modulo operation. More...

Collaboration diagram for modp:
Collaboration graph

Private Member Functions

elemental integer(is_) function modp_is_ (i, n)
 
elemental integer(ii_) function modp_ii_ (i, n)
 
elemental integer(il_) function modp_il_ (i, n)
 

Detailed Description

Return wrapped integer by modulo operation.

Routine for performing 1-index based modulo operations.

For any numbers i and n performing modp(i,n) returns n if mod(i,n) == 0, otherwise it returns i.


The documentation for this interface was generated from the following file: