ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation.
test_pm_optimization Module Reference

This module contains tests of the module pm_optimization. More...

Data Types

type  TestFuncRosenBrock1D_type
 
type  TestFuncRosenBrock2D_type
 

Functions/Subroutines

subroutine setTest ()
 
logical(LK) function test_BrentMinimum_type_1 ()
 
logical(LK) function test_BrentMinimum_type_2 ()
 
logical(LK) function test_powellMin_type_1 ()
 
pure real(RK) function getTestFuncRosenBrock1D (x)
 
pure real(RK) function getTestFuncRosenBrock2D (ndim, Point)
 

Variables

type(test_typetest
 

Detailed Description

This module contains tests of the module pm_optimization.

Author:
Amir Shahmoradi

Function/Subroutine Documentation

◆ getTestFuncRosenBrock1D()

pure real(RK) function test_pm_optimization::getTestFuncRosenBrock1D ( real(RK), intent(in)  x)

Definition at line 238 of file test_pm_optimization.F90.

References pm_kind::RK.

◆ getTestFuncRosenBrock2D()

pure real(RK) function test_pm_optimization::getTestFuncRosenBrock2D ( integer(IK), intent(in)  ndim,
real(RK)  Point 
)

Definition at line 248 of file test_pm_optimization.F90.

References pm_kind::IK, and pm_kind::RK.

◆ setTest()

subroutine test_pm_optimization::setTest

Definition at line 64 of file test_pm_optimization.F90.

◆ test_BrentMinimum_type_1()

logical(LK) function test_pm_optimization::test_BrentMinimum_type_1

Definition at line 76 of file test_pm_optimization.F90.

References pm_kind::IK, and pm_kind::RK.

◆ test_BrentMinimum_type_2()

logical(LK) function test_pm_optimization::test_BrentMinimum_type_2

Definition at line 125 of file test_pm_optimization.F90.

References pm_kind::IK, and pm_kind::RK.

◆ test_powellMin_type_1()

logical(LK) function test_pm_optimization::test_powellMin_type_1

Definition at line 179 of file test_pm_optimization.F90.

References pm_kind::IK, and pm_kind::RK.

Variable Documentation

◆ test

type(test_type) test_pm_optimization::test

Definition at line 28 of file test_pm_optimization.F90.