Differences

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

Link to this comparison view

Next revision
Previous revision
documentation:language_reference:objects:responsefunction:operations:div [2024/12/17 16:09] – created Maurits W. Haverkortdocumentation:language_reference:objects:responsefunction:operations:div [2024/12/20 17:24] (current) Maurits W. Haverkort
Line 3: Line 3:
  
 ### ###
-alligned paragraph text +We can divide a response function by a double and scale the size of the response function, i.e. when $G2 G1/2)$ then $G2(\omega,\Gamma) (G1(\omega,\Gamma))/2$. For example
-### +
- +
-===== Example ===== +
- +
-### +
-description text+
 ### ###
  
 ==== Input ==== ==== Input ====
 <code Quanty Example.Quanty> <code Quanty Example.Quanty>
--- some example code+a = {0, -1,-0.5, 0,   0.5,   1, 1.5} 
 +b = {  0.2, 0.4, 0.2, 0.4, 0.6, 0.2} 
 +G = ResponseFunction.New( {a,b,mu=0,type="ListOfPoles", name="G"} ) 
 + 
 +print(G/2)
 </code> </code>
  
 ==== Result ==== ==== Result ====
 <file Quanty_Output> <file Quanty_Output>
-text produced as output+{ { 0 , -1 , -0.5 , 0 , 0.5 , 1 , 1.5 } ,  
 +  { 0.1 , 0.2 , 0.1 , 0.2 , 0.3 , 0.1 } , 
 +  mu = 0 , 
 +  type = ListOfPoles , 
 +  name = G }
 </file> </file>
  
 ===== Table of contents ===== ===== Table of contents =====
-{{indexmenu>.#2|tsort}}+{{indexmenu>../#2|tsort}}
  
Print/export