Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| documentation:language_reference:objects:responsefunction:start [2024/12/18 16:43] – Maurits W. Haverkort | documentation:language_reference:objects:responsefunction:start [2025/11/20 04:15] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | //Italic Text//{{indexmenu_n> | + | {{indexmenu_n> |
| ====== Response function ====== | ====== Response function ====== | ||
| Line 73: | Line 73: | ||
| Internally response functions can be stored in different formats. We need several formats as (1) transformations between the different formats take time (2) transformations between different formats can involve a loss of numerical accuracy and (3) different algorithms require the response function in different formats. The formats used in Quanty to store response functions are | Internally response functions can be stored in different formats. We need several formats as (1) transformations between the different formats take time (2) transformations between different formats can involve a loss of numerical accuracy and (3) different algorithms require the response function in different formats. The formats used in Quanty to store response functions are | ||
| - List of poles $$ G(\omega, | - List of poles $$ G(\omega, | ||
| - | - Tri-diagonal $$ G(\omega, | + | - Tri-diagonal $$ G(\omega, |
| - Anderson $$ G(\omega, | - Anderson $$ G(\omega, | ||
| - Natural Impurity. We define $G_{val}(\omega, | - Natural Impurity. We define $G_{val}(\omega, | ||
| Line 91: | Line 91: | ||
| Below you find several functions, methods, properties and operations related to response functions. | Below you find several functions, methods, properties and operations related to response functions. | ||
| - | Response functions can be stored internally as Lua tables with the a meta table set, or as a user data. Both objects behave similarly. One should be careful as a comparison between a response function stored as a table to a response function stored as a user data is always falls. That said, comparing functions of doubles will always be problematic due to numerical inaccuracies. | + | Response functions can be stored internally as Lua tables with a metatable |
| ### | ### | ||