diff --git a/doc/reference/c++/det_manip/det_manip.rst b/doc/reference/c++/det_manip/det_manip.rst index da2b36c7..f3c7fa3b 100644 --- a/doc/reference/c++/det_manip/det_manip.rst +++ b/doc/reference/c++/det_manip/det_manip.rst @@ -12,8 +12,80 @@ which is completely general but has to model the concept * return_type : type returned by the function * argument_type : type of the argument of the function (type of x and y). -Operations ----------- + +Public types +------------- + ++------------------+-----------------------------+ +| name | description | ++==================+=============================+ +| xy_type | ? | ++------------------+-----------------------------+ +| value_type | ? | ++------------------+-----------------------------+ +| vector_type | tqa::vector | ++------------------+-----------------------------+ +| matrix_type | tqa::matrix | ++------------------+-----------------------------+ +| matrix_view_type | tqa::matrix_view value_type | try_insert_from_function (size_t i, size_t j, Fx fx, Fy fy, value_type const ksi) | ? | ++-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +| value_type | try_insert2 (size_t i0, size_t i1, size_t j0, size_t j1, xy_type const &x0, xy_type const &x1, xy_type const &y0, xy_type const &y1) | ? | ++-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +| value_type | try_remove (size_t i, size_t j) | ? | ++-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +| value_type | try_remove2 (size_t i0, size_t i1, size_t j0, size_t j1) | ? | ++-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +| value_type | try_change_col (size_t j, xy_type const &y) | ? | ++-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +| value_type | try_change_row (size_t i, xy_type const &x) | ? | ++-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +| void | complete_operation() | ? | ++-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +| int | roll_matrix (RollDirection roll) | ? | ++-----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + +Synopsis +----------- * The possible operations on the matrix M are : @@ -109,8 +181,11 @@ Example /// insertions of 3 lines and 3 columns double x=2., y=9., detratio; + std::cout << D.size() << std::endl; detratio = D.try_insert(0, 0, x, y ); + std::cout << D.size() << std::endl; D.complete_operation(); + std::cout << D.size() << std::endl; detratio = D.try_insert(0, 1, 2., 3.); D.complete_operation(); detratio = D.try_insert(0, 0, 4., 5.);