mirror of
https://github.com/triqs/dft_tools
synced 2024-11-01 19:53:45 +01:00
edd1ff4529
A first general restructuration of the doc according to the pattern [tour|tutorial|reference]. In the reference part, objects are documented per topic. In each topic, [definition|c++|python|hdf5] (not yet implemented)
47 lines
1.4 KiB
ReStructuredText
47 lines
1.4 KiB
ReStructuredText
Manipulation of determinants for Continuous-Time Monte-Carlo algorithms
|
|
=======================================================================
|
|
|
|
.. highlight:: c
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
|
|
TRIQS comes with a class called det_manip to easily perform operations on a special type of matrices
|
|
(see :doc:`here <../../reference/c++/det_manip/contents>`).
|
|
This library, among others, allows to easily add or remove lines or columns to the matrix, to calculate the determinant and the inverse.
|
|
Here are a couple of simple examples showing the basic use of this class.
|
|
|
|
|
|
|
|
Creation of an empty det_manip class
|
|
-------------------------------------
|
|
|
|
.. triqs_example:: ./det_manip_tutorial_0.cpp
|
|
Creation of a non empty det_manip class
|
|
----------------------------------------
|
|
|
|
.. triqs_example:: ./det_manip_tutorial_1.cpp
|
|
Get informations about a det_manip class
|
|
-----------------------------------------
|
|
|
|
.. triqs_example:: ./det_manip_tutorial_2.cpp
|
|
Add a line and a column
|
|
-------------------------
|
|
|
|
.. triqs_example:: ./det_manip_tutorial_3.cpp
|
|
Remove a line and a column
|
|
---------------------------
|
|
|
|
.. triqs_example:: ./det_manip_tutorial_4.cpp
|
|
Add two lines and two columns
|
|
------------------------------
|
|
|
|
.. triqs_example:: ./det_manip_tutorial_5.cpp
|
|
Remove two lines and two columns
|
|
--------------------------------
|
|
|
|
.. triqs_example:: ./det_manip_tutorial_6.cpp
|
|
Learn more in the full reference, see :ref:`det_manip`
|
|
|
|
|