Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
documentation:language_reference:objects:responsefunction:properties:mu [2024/12/22 17:37] – Maurits W. Haverkort | documentation:language_reference:objects:responsefunction:properties:mu [2024/12/22 18:30] (current) – Maurits W. Haverkort | ||
---|---|---|---|
Line 3: | Line 3: | ||
### | ### | ||
- | alligned paragraph text | + | Returns the chemical potential used for the response / Green' |
### | ### | ||
===== Example ===== | ===== Example ===== | ||
- | |||
- | ### | ||
- | description text | ||
- | ### | ||
==== Input ==== | ==== Input ==== | ||
<code Quanty Example.Quanty> | <code Quanty Example.Quanty> | ||
- | -- some example code | + | a1 = {0, -1, |
+ | b1 = { 0.2, 0.2, 0.2, 0.2} | ||
+ | G1 = ResponseFunction.New( {a1, | ||
+ | |||
+ | print( "The chemical potential is", G1.mu ) | ||
</ | </ | ||
==== Result ==== | ==== Result ==== | ||
<file Quanty_Output> | <file Quanty_Output> | ||
- | text produced as output | + | The chemical potential is 0 |
</ | </ | ||