Table of Contents
This is an old revision of the document!
Chop
G2 = ResponseFunction.Chop(G1) removes (sets to zero) all numbers form $G_1$ that are in absolute value smaller than epsilon. Chop does not change the type of the response function.
Input
-
G : a response function
-
epsilon : (optional) the smallest number considered different from zero. If not given the standard value is 10 times machine precision.
Output
-
a copy of G with small numbers replaced by zero
Options
-
Deflate : a boolean that determines if poles with zero weight are completely removed from the response function or if they are kept.
Example
description text
Input
- Example.Quanty
-- some example code
Result
text produced as output