IGLib  1.5
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
MainTest Class Reference

Static Public Member Functions

static bool doc_test_bool (bool val, bool test_val)
 
static bool doc_test_int (int val, int test_val)
 
static bool doc_test_real (double val, double test_val, double _threshold)
 
static bool doc_test_complex (alglib.complex val, alglib.complex test_val, double _threshold)
 
static bool doc_test_bool_vector (bool[] val, bool[] test_val)
 
static bool doc_test_bool_matrix (bool[,] val, bool[,] test_val)
 
static bool doc_test_int_vector (int[] val, int[] test_val)
 
static bool doc_test_int_matrix (int[,] val, int[,] test_val)
 
static bool doc_test_real_vector (double[] val, double[] test_val, double _threshold)
 
static bool doc_test_real_matrix (double[,] val, double[,] test_val, double _threshold)
 
static bool doc_test_complex_vector (alglib.complex[] val, alglib.complex[] test_val, double _threshold)
 
static bool doc_test_complex_matrix (alglib.complex[,] val, alglib.complex[,] test_val, double _threshold)
 
static void spoil_vector_by_adding_element< T > (ref T[] x)
 
static void spoil_vector_by_deleting_element< T > (ref T[] x)
 
static void spoil_matrix_by_adding_row< T > (ref T[,] x)
 
static void spoil_matrix_by_deleting_row< T > (ref T[,] x)
 
static void spoil_matrix_by_adding_col< T > (ref T[,] x)
 
static void spoil_matrix_by_deleting_col< T > (ref T[,] x)
 
static void spoil_vector_by_value< T > (ref T[] x, T val)
 
static void spoil_matrix_by_value< T > (ref T[,] x, T val)
 
static void function1_func (double[] x, ref double func, object obj)
 
static void function1_grad (double[] x, ref double func, double[] grad, object obj)
 
static void function1_hess (double[] x, ref double func, double[] grad, double[,] hess, object obj)
 
static void function1_fvec (double[] x, double[] fi, object obj)
 
static void function1_jac (double[] x, double[] fi, double[,] jac, object obj)
 
static void function2_func (double[] x, ref double func, object obj)
 
static void function2_grad (double[] x, ref double func, double[] grad, object obj)
 
static void function2_hess (double[] x, ref double func, double[] grad, double[,] hess, object obj)
 
static void function2_fvec (double[] x, double[] fi, object obj)
 
static void function2_jac (double[] x, double[] fi, double[,] jac, object obj)
 
static void bad_func (double[] x, ref double func, object obj)
 
static void bad_grad (double[] x, ref double func, double[] grad, object obj)
 
static void bad_hess (double[] x, ref double func, double[] grad, double[,] hess, object obj)
 
static void bad_fvec (double[] x, double[] fi, object obj)
 
static void bad_jac (double[] x, double[] fi, double[,] jac, object obj)
 
static void function_cx_1_func (double[] c, double[] x, ref double func, object obj)
 
static void function_cx_1_grad (double[] c, double[] x, ref double func, double[] grad, object obj)
 
static void function_cx_1_hess (double[] c, double[] x, ref double func, double[] grad, double[,] hess, object obj)
 
static void ode_function_1_diff (double[] y, double x, double[] dy, object obj)
 
static void int_function_1_func (double x, double xminusa, double bminusx, ref double y, object obj)
 
static void function_debt_func (double[] c, double[] x, ref double func, object obj)
 
static void s1_grad (double[] x, ref double func, double[] grad, object obj)
 
static int Main (string[] args)
 
static bool doc_test_bool (bool val, bool test_val)
 
static bool doc_test_int (int val, int test_val)
 
static bool doc_test_real (double val, double test_val, double _threshold)
 
static bool doc_test_complex (alglib.complex val, alglib.complex test_val, double _threshold)
 
static bool doc_test_bool_vector (bool[] val, bool[] test_val)
 
static bool doc_test_bool_matrix (bool[,] val, bool[,] test_val)
 
static bool doc_test_int_vector (int[] val, int[] test_val)
 
static bool doc_test_int_matrix (int[,] val, int[,] test_val)
 
static bool doc_test_real_vector (double[] val, double[] test_val, double _threshold)
 
static bool doc_test_real_matrix (double[,] val, double[,] test_val, double _threshold)
 
static bool doc_test_complex_vector (alglib.complex[] val, alglib.complex[] test_val, double _threshold)
 
static bool doc_test_complex_matrix (alglib.complex[,] val, alglib.complex[,] test_val, double _threshold)
 
static void spoil_vector_by_adding_element< T > (ref T[] x)
 
static void spoil_vector_by_deleting_element< T > (ref T[] x)
 
static void spoil_matrix_by_adding_row< T > (ref T[,] x)
 
static void spoil_matrix_by_deleting_row< T > (ref T[,] x)
 
static void spoil_matrix_by_adding_col< T > (ref T[,] x)
 
static void spoil_matrix_by_deleting_col< T > (ref T[,] x)
 
static void spoil_vector_by_value< T > (ref T[] x, T val)
 
static void spoil_matrix_by_value< T > (ref T[,] x, T val)
 
static void function1_func (double[] x, ref double func, object obj)
 
static void function1_grad (double[] x, ref double func, double[] grad, object obj)
 
static void function1_hess (double[] x, ref double func, double[] grad, double[,] hess, object obj)
 
static void function1_fvec (double[] x, double[] fi, object obj)
 
static void function1_jac (double[] x, double[] fi, double[,] jac, object obj)
 
static void function2_func (double[] x, ref double func, object obj)
 
static void function2_grad (double[] x, ref double func, double[] grad, object obj)
 
static void function2_hess (double[] x, ref double func, double[] grad, double[,] hess, object obj)
 
static void function2_fvec (double[] x, double[] fi, object obj)
 
static void function2_jac (double[] x, double[] fi, double[,] jac, object obj)
 
static void bad_func (double[] x, ref double func, object obj)
 
static void bad_grad (double[] x, ref double func, double[] grad, object obj)
 
static void bad_hess (double[] x, ref double func, double[] grad, double[,] hess, object obj)
 
static void bad_fvec (double[] x, double[] fi, object obj)
 
static void bad_jac (double[] x, double[] fi, double[,] jac, object obj)
 
static void function_cx_1_func (double[] c, double[] x, ref double func, object obj)
 
static void function_cx_1_grad (double[] c, double[] x, ref double func, double[] grad, object obj)
 
static void function_cx_1_hess (double[] c, double[] x, ref double func, double[] grad, double[,] hess, object obj)
 
static void ode_function_1_diff (double[] y, double x, double[] dy, object obj)
 
static void int_function_1_func (double x, double xminusa, double bminusx, ref double y, object obj)
 
static void function_debt_func (double[] c, double[] x, ref double func, object obj)
 
static void s1_grad (double[] x, ref double func, double[] grad, object obj)
 
static void Main (string[] args)
 

Member Function Documentation

static bool MainTest.doc_test_bool ( bool  val,
bool  test_val 
)
inlinestatic
static bool MainTest.doc_test_int ( int  val,
int  test_val 
)
inlinestatic

Referenced by Main().

static bool MainTest.doc_test_real ( double  val,
double  test_val,
double  _threshold 
)
inlinestatic

Referenced by Main().

static bool MainTest.doc_test_complex ( alglib.complex  val,
alglib.complex  test_val,
double  _threshold 
)
inlinestatic
static bool MainTest.doc_test_bool_vector ( bool[]  val,
bool[]  test_val 
)
inlinestatic
static bool MainTest.doc_test_bool_matrix ( bool  val[,],
bool  test_val[,] 
)
inlinestatic
static bool MainTest.doc_test_int_vector ( int[]  val,
int[]  test_val 
)
inlinestatic

Referenced by Main().

static bool MainTest.doc_test_int_matrix ( int  val[,],
int  test_val[,] 
)
inlinestatic

Referenced by Main().

static bool MainTest.doc_test_real_vector ( double[]  val,
double[]  test_val,
double  _threshold 
)
inlinestatic

Referenced by Main().

static bool MainTest.doc_test_real_matrix ( double  val[,],
double  test_val[,],
double  _threshold 
)
inlinestatic

Referenced by Main().

static bool MainTest.doc_test_complex_vector ( alglib.complex[]  val,
alglib.complex[]  test_val,
double  _threshold 
)
inlinestatic
static bool MainTest.doc_test_complex_matrix ( alglib.complex  val[,],
alglib.complex  test_val[,],
double  _threshold 
)
inlinestatic

References alglib.math.abscomplex().

Referenced by Main().

static void MainTest.spoil_vector_by_adding_element< T > ( ref T[]  x)
inlinestatic
Type Constraints
T :new() 
static void MainTest.spoil_vector_by_deleting_element< T > ( ref T[]  x)
inlinestatic
Type Constraints
T :new() 
static void MainTest.spoil_matrix_by_adding_row< T > ( ref T  x[,])
inlinestatic
Type Constraints
T :new() 
static void MainTest.spoil_matrix_by_deleting_row< T > ( ref T  x[,])
inlinestatic
Type Constraints
T :new() 
static void MainTest.spoil_matrix_by_adding_col< T > ( ref T  x[,])
inlinestatic
Type Constraints
T :new() 
static void MainTest.spoil_matrix_by_deleting_col< T > ( ref T  x[,])
inlinestatic
Type Constraints
T :new() 
static void MainTest.spoil_vector_by_value< T > ( ref T[]  x,
val 
)
inlinestatic
static void MainTest.spoil_matrix_by_value< T > ( ref T  x[,],
val 
)
inlinestatic
static void MainTest.function1_func ( double[]  x,
ref double  func,
object  obj 
)
inlinestatic
static void MainTest.function1_grad ( double[]  x,
ref double  func,
double[]  grad,
object  obj 
)
inlinestatic
static void MainTest.function1_hess ( double[]  x,
ref double  func,
double[]  grad,
double  hess[,],
object  obj 
)
inlinestatic
static void MainTest.function1_fvec ( double[]  x,
double[]  fi,
object  obj 
)
inlinestatic
static void MainTest.function1_jac ( double[]  x,
double[]  fi,
double  jac[,],
object  obj 
)
inlinestatic
static void MainTest.function2_func ( double[]  x,
ref double  func,
object  obj 
)
inlinestatic
static void MainTest.function2_grad ( double[]  x,
ref double  func,
double[]  grad,
object  obj 
)
inlinestatic
static void MainTest.function2_hess ( double[]  x,
ref double  func,
double[]  grad,
double  hess[,],
object  obj 
)
inlinestatic
static void MainTest.function2_fvec ( double[]  x,
double[]  fi,
object  obj 
)
inlinestatic
static void MainTest.function2_jac ( double[]  x,
double[]  fi,
double  jac[,],
object  obj 
)
inlinestatic
static void MainTest.bad_func ( double[]  x,
ref double  func,
object  obj 
)
inlinestatic
static void MainTest.bad_grad ( double[]  x,
ref double  func,
double[]  grad,
object  obj 
)
inlinestatic
static void MainTest.bad_hess ( double[]  x,
ref double  func,
double[]  grad,
double  hess[,],
object  obj 
)
inlinestatic
static void MainTest.bad_fvec ( double[]  x,
double[]  fi,
object  obj 
)
inlinestatic
static void MainTest.bad_jac ( double[]  x,
double[]  fi,
double  jac[,],
object  obj 
)
inlinestatic
static void MainTest.function_cx_1_func ( double[]  c,
double[]  x,
ref double  func,
object  obj 
)
inlinestatic
static void MainTest.function_cx_1_grad ( double[]  c,
double[]  x,
ref double  func,
double[]  grad,
object  obj 
)
inlinestatic
static void MainTest.function_cx_1_hess ( double[]  c,
double[]  x,
ref double  func,
double[]  grad,
double  hess[,],
object  obj 
)
inlinestatic
static void MainTest.ode_function_1_diff ( double[]  y,
double  x,
double[]  dy,
object  obj 
)
inlinestatic
static void MainTest.int_function_1_func ( double  x,
double  xminusa,
double  bminusx,
ref double  y,
object  obj 
)
inlinestatic
static void MainTest.function_debt_func ( double[]  c,
double[]  x,
ref double  func,
object  obj 
)
inlinestatic
static void MainTest.s1_grad ( double[]  x,
ref double  func,
double[]  grad,
object  obj 
)
inlinestatic
static bool MainTest.doc_test_bool ( bool  val,
bool  test_val 
)
inlinestatic
static bool MainTest.doc_test_int ( int  val,
int  test_val 
)
inlinestatic
static bool MainTest.doc_test_real ( double  val,
double  test_val,
double  _threshold 
)
inlinestatic
static bool MainTest.doc_test_complex ( alglib.complex  val,
alglib.complex  test_val,
double  _threshold 
)
inlinestatic
static bool MainTest.doc_test_bool_vector ( bool[]  val,
bool[]  test_val 
)
inlinestatic
static bool MainTest.doc_test_bool_matrix ( bool  val[,],
bool  test_val[,] 
)
inlinestatic
static bool MainTest.doc_test_int_vector ( int[]  val,
int[]  test_val 
)
inlinestatic
static bool MainTest.doc_test_int_matrix ( int  val[,],
int  test_val[,] 
)
inlinestatic
static bool MainTest.doc_test_real_vector ( double[]  val,
double[]  test_val,
double  _threshold 
)
inlinestatic
static bool MainTest.doc_test_real_matrix ( double  val[,],
double  test_val[,],
double  _threshold 
)
inlinestatic
static bool MainTest.doc_test_complex_vector ( alglib.complex[]  val,
alglib.complex[]  test_val,
double  _threshold 
)
inlinestatic
static bool MainTest.doc_test_complex_matrix ( alglib.complex  val[,],
alglib.complex  test_val[,],
double  _threshold 
)
inlinestatic
static void MainTest.spoil_vector_by_adding_element< T > ( ref T[]  x)
inlinestatic
Type Constraints
T :new() 
static void MainTest.spoil_vector_by_deleting_element< T > ( ref T[]  x)
inlinestatic
Type Constraints
T :new() 
static void MainTest.spoil_matrix_by_adding_row< T > ( ref T  x[,])
inlinestatic
Type Constraints
T :new() 
static void MainTest.spoil_matrix_by_deleting_row< T > ( ref T  x[,])
inlinestatic
Type Constraints
T :new() 
static void MainTest.spoil_matrix_by_adding_col< T > ( ref T  x[,])
inlinestatic
Type Constraints
T :new() 
static void MainTest.spoil_matrix_by_deleting_col< T > ( ref T  x[,])
inlinestatic
Type Constraints
T :new() 
static void MainTest.spoil_vector_by_value< T > ( ref T[]  x,
val 
)
inlinestatic
static void MainTest.spoil_matrix_by_value< T > ( ref T  x[,],
val 
)
inlinestatic
static void MainTest.function1_func ( double[]  x,
ref double  func,
object  obj 
)
inlinestatic
static void MainTest.function1_grad ( double[]  x,
ref double  func,
double[]  grad,
object  obj 
)
inlinestatic
static void MainTest.function1_hess ( double[]  x,
ref double  func,
double[]  grad,
double  hess[,],
object  obj 
)
inlinestatic
static void MainTest.function1_fvec ( double[]  x,
double[]  fi,
object  obj 
)
inlinestatic
static void MainTest.function1_jac ( double[]  x,
double[]  fi,
double  jac[,],
object  obj 
)
inlinestatic
static void MainTest.function2_func ( double[]  x,
ref double  func,
object  obj 
)
inlinestatic
static void MainTest.function2_grad ( double[]  x,
ref double  func,
double[]  grad,
object  obj 
)
inlinestatic
static void MainTest.function2_hess ( double[]  x,
ref double  func,
double[]  grad,
double  hess[,],
object  obj 
)
inlinestatic
static void MainTest.function2_fvec ( double[]  x,
double[]  fi,
object  obj 
)
inlinestatic
static void MainTest.function2_jac ( double[]  x,
double[]  fi,
double  jac[,],
object  obj 
)
inlinestatic
static void MainTest.bad_func ( double[]  x,
ref double  func,
object  obj 
)
inlinestatic
static void MainTest.bad_grad ( double[]  x,
ref double  func,
double[]  grad,
object  obj 
)
inlinestatic
static void MainTest.bad_hess ( double[]  x,
ref double  func,
double[]  grad,
double  hess[,],
object  obj 
)
inlinestatic
static void MainTest.bad_fvec ( double[]  x,
double[]  fi,
object  obj 
)
inlinestatic
static void MainTest.bad_jac ( double[]  x,
double[]  fi,
double  jac[,],
object  obj 
)
inlinestatic
static void MainTest.function_cx_1_func ( double[]  c,
double[]  x,
ref double  func,
object  obj 
)
inlinestatic
static void MainTest.function_cx_1_grad ( double[]  c,
double[]  x,
ref double  func,
double[]  grad,
object  obj 
)
inlinestatic
static void MainTest.function_cx_1_hess ( double[]  c,
double[]  x,
ref double  func,
double[]  grad,
double  hess[,],
object  obj 
)
inlinestatic
static void MainTest.ode_function_1_diff ( double[]  y,
double  x,
double[]  dy,
object  obj 
)
inlinestatic
static void MainTest.int_function_1_func ( double  x,
double  xminusa,
double  bminusx,
ref double  y,
object  obj 
)
inlinestatic
static void MainTest.function_debt_func ( double[]  c,
double[]  x,
ref double  func,
object  obj 
)
inlinestatic
static void MainTest.s1_grad ( double[]  x,
ref double  func,
double[]  grad,
object  obj 
)
inlinestatic

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