Chop

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

Input

Example.Quanty
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)

Result

{ { 10 , 1 , 1.5 } , 
  { 0.2 , 0.3 } ,
  type = ListOfPoles ,
  mu = 0 ,
  name = GL }

Table of contents

Print/export