rbmatlab  1.13.10
 All Classes Namespaces Files Functions Variables Groups Pages
Functions
test_two_phase_datafunc.m File Reference

performing a test of the correct implementation of derivatives in TwoPhaseData class. More...

Go to the source code of this file.

Functions

function OK = test_two_phase_datafunc ()
 performing a test of the correct implementation of derivatives in TwoPhaseData class.
 
function OK = testtwophasedatafunc>check_two_phase (tpd, title_prefix)
 
function OK = testtwophasedatafunc>check_convergence (f, df, tpd, descr, title)
 

Detailed Description

performing a test of the correct implementation of derivatives in TwoPhaseData class.

Definition in file test_two_phase_datafunc.m.

Function Documentation

function OK = test_two_phase_datafunc ( )

performing a test of the correct implementation of derivatives in TwoPhaseData class.

It generates a simple 2x2 on which the gradients of the functions are computed numerically.

Return values
OK1, if test is OK, 0 otherwise

Definition at line 17 of file test_two_phase_datafunc.m.