The WaveBlocks Project
@author: R. Bourquin @copyright: Copyright (C) 2010, 2011, 2012 R. Bourquin @license: Modified BSD License
The WaveBlocks Project
Some selected functions for complex math.
@author: R. Bourquin @copyright: Copyright (C) 2011 R. Bourquin @license: Modified BSD License
Compute the angle of a complex number not constrained to the principal value and avoiding discontinuities at the branch cut.
Parameters: |
|
---|
Note
This function just applies ‘continuate(.)’ to the complex phase.
Compute the complex square root (following the Riemann surface) yields a result not constrained to the principal value and avoiding discontinuities at the branch cut.
Parameters: |
|
---|
Note
This function applies ‘continuate(.)’ to the complex phase and computes the complex square root according to the formula
Make the given data continuous by removing all jumps of size k*jump but not touching jumps of any other size. This can be used to overcome issues with the branch cut along the negative axis.
Parameters: |
|
---|
Note
There may be issues with jumps that are of size nearly k*jump.