Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| documentation:language_reference:objects:responsefunction:functions:chop [2024/12/17 16:23] – created Maurits W. Haverkort | documentation:language_reference:objects:responsefunction:functions:chop [2025/11/20 04:20] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ### | ### | ||
| - | alligned paragraph text | + | 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 [[documentation: |
| ### | ### | ||
| - | ===== Example ===== | ||
| - | ### | + | ===== Input ===== |
| - | description text | + | |
| - | ### | + | * 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 ===== | ||
| - | ==== Input ==== | + | * Deflate : a boolean that determines if poles with zero weight are completely removed from the response function or if they are kept. |
| - | <code Quanty Example.Quanty> | + | |
| - | -- some example code | + | |
| - | </ | + | |
| - | ==== Result ==== | ||
| - | <file Quanty_Output> | ||
| - | text produced as output | ||
| - | </ | ||
| ===== Table of contents ===== | ===== Table of contents ===== | ||
| {{indexmenu> | {{indexmenu> | ||