Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
documentation:language_reference:objects:responsefunction:operations:sub [2024/12/22 16:16] Maurits W. Haverkortdocumentation:language_reference:objects:responsefunction:operations:sub [2024/12/22 16:18] (current) Maurits W. Haverkort
Line 46: Line 46:
 <code Quanty Example.Quanty> <code Quanty Example.Quanty>
 a1 = {0, -1,   0,   5,   6} a1 = {0, -1,   0,   5,   6}
-b1 = {  0.2, 0.2, 0.2, 0.2}+b1 = {  0.2, 0.2, 0.3, 0.3}
 G1 = ResponseFunction.New( {a1,b1,mu=0,type="ListOfPoles", name="G1"} ) G1 = ResponseFunction.New( {a1,b1,mu=0,type="ListOfPoles", name="G1"} )
  
Line 61: Line 61:
 <file Quanty_Output> <file Quanty_Output>
 { { 0 , -1 , 0 , 5 , 6 } ,  { { 0 , -1 , 0 , 5 , 6 } , 
-  { 0.1 , 0.1 , 0.15 , 0.05 } ,+  { 0.1 , 0.1 , 0.25 , 0.15 } ,
   name = G1 ,   name = G1 ,
   mu = 0 ,   mu = 0 ,
Line 67: Line 67:
 </file> </file>
  
-The pole in $G_2$ at energy $-0.5$ is equally divided between the poles at $-1$ and $0$ in $G_1$, such that each of these residues is reduced by $0.2/2=0.1$. The pole in $G_2$ at energy $5.75$ is divided between the poles at $5$ and $6$ in $G_1$. In oder to conserve the first moment we subtract $0.2 * (5.75 - 5) / (6-5) = 0.15$ from the residue at $5$ in $G_1$ and $0.2 * (6 - 5.75) / (6-5) = 0.05$ from the residue at $6$ in $G_1$.+The pole in $G_2$ at energy $-0.5$ is equally divided between the poles at $-1$ and $0$ in $G_1$, such that each of these residues is reduced by $0.2/2=0.1$. The pole in $G_2$ at energy $5.75$ is divided between the poles at $5$ and $6$ in $G_1$. In oder to conserve the first moment we subtract $0.2 * (5.75 - 5) / (6-5) = 0.15$ from the residue at $6$ in $G_1$ and $0.2 * (6 - 5.75) / (6-5) = 0.05$ from the residue at $5$ in $G_1$.
  
 ===== Table of contents ===== ===== Table of contents =====
 {{indexmenu>../#2|tsort}} {{indexmenu>../#2|tsort}}
  
Print/export