Differences

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

Link to this comparison view

documentation:language_reference:objects:responsefunction:methods:chop [2024/12/22 19:58] – created Maurits W. Haverkortdocumentation:language_reference:objects:responsefunction:methods:chop [2024/12/22 20:03] (current) Maurits W. Haverkort
Line 3: Line 3:
  
 ### ###
-alligned paragraph text+G.Chop(epsilon) removes poles from $G$ with residue smaller than epsilon. If epsilon is not set a standard value of epsilon = 10*DBL_EPSILON is taken. 
 ### ###
  
 ===== Example ===== ===== Example =====
- 
-### 
-description text 
-### 
  
 ==== Input ==== ==== Input ====
 <code Quanty Example.Quanty> <code Quanty Example.Quanty>
--- some example code+a = {10, -1,-0.5, 0,   0.5,  1,  1.5} 
 +b = {  0.1, 0.1, 0.1, 0.1, 0.2, 0.3} 
 +GL = ResponseFunction.New( {a,b,mu=0,type="ListOfPoles", name="GL"} ) 
 +GL.Chop(0.15) 
 +print(GL)
 </code> </code>
  
 ==== Result ==== ==== Result ====
 <file Quanty_Output> <file Quanty_Output>
-text produced as output+{ { 10 , 1 , 1.5 } ,  
 +  { 0.2 , 0.3 } , 
 +  type = ListOfPoles , 
 +  mu = 0 , 
 +  name = GL }
 </file> </file>
 +
 +
  
 ===== Table of contents ===== ===== Table of contents =====
 {{indexmenu>../#2|tsort}} {{indexmenu>../#2|tsort}}
  
Print/export