testN_t Derived Type

type, public, extends(objN_t) :: testN_t

type~~testn_t~~InheritsGraph type~testn_t testN_t objN_t objN_t objN_t->type~testn_t
Help



Components

TypeVisibility AttributesNameInitial
real(kind=wp), public, dimension(2):: c0 =[2.0_wp, 3.0_wp]
real(kind=wp), public, dimension(2):: s0 =[1.0_wp, 2.0_wp]

Type-Bound Procedures

procedure, public :: eval => eval_testN

  • public function eval_testN(self, x) result(o)

    Arguments

    Type IntentOptional AttributesName
    class(testN_t), intent(in) :: self
    real(kind=wp), intent(in), dimension(:):: x

    Must be dimension(2)

    Return Value real(kind=wp)