seq Derived Type

type, public :: seq

Sequence type for quasi-monte carlo


Components

Type Visibility Attributes Name Initial
integer, public :: base

Base from which to calculate radical inverse from.

integer, public :: index

Current index to get value for.


Type-Bound Procedures

procedure, public :: next

  • private function next(this) result(res)

    Arguments

    Type IntentOptional Attributes Name
    class(seq) :: this

    Return Value real(kind=wp)

Source Code

    type :: seq
        !> Current index to get value for.
        integer :: index
        !> Base from which to calculate radical inverse from.
        integer :: base
        contains
            procedure :: next
    end type seq