Expand description
Auto-generated module
🤖 Generated with SplitRS
Functions§
- cauchy_
riemann_ check - Check whether a function
f: ℂ → ℂsatisfies the Cauchy-Riemann equations at pointzusing finite differences with steph. - cayley_
transform - Cayley transform: maps the upper half-plane to the unit disk.
- cayley_
transform_ inverse - Inverse Cayley transform: maps the unit disk to the upper half-plane.
- complex_
exp_ taylor - Taylor series approximation of exp(z) = ÎŁ z^k / k! up to
termsterms. - complex_
gaussian_ elimination - Solve the complex linear system
A·x = busing Gaussian elimination with partial pivoting. - complex_
sin_ taylor - Taylor series approximation of sin(z) = ÎŁ (-1)^k z^(2k+1) / (2k+1)!
- complex_
step_ derivative - Numerically differentiate
fatzusing the complex-step method. - contour_
integral_ circle - Numerically integrate
f(z)along a circular contour of radiusrcentered atcenter, usingn_pointsquadrature points. - dct_i
- Compute the DCT-I of a real signal.
- dct_ii
- Compute the DCT-II of a real signal (the “standard” DCT used in JPEG/MP3).
- dft_
matrix - Compute the N×N DFT matrix W where W[j][k] = exp(-2πi·j·k/N).
- durand_
kerner_ roots - Find all roots of a monic polynomial using the Durand-Kerner (Weierstrass) method.
- exponential_
conformal - Exponential conformal map:
w = exp(z). - fft_
convolve - Convolve two real signals using FFT.
- fft_
radix2 - Cooley-Tukey Radix-2 FFT (in-place, decimation-in-time).
- hamming_
window - Generate a Hamming window of length
n. - hann_
window - Generate a Hann window of length
n. - idct_ii
- Compute the inverse DCT-II (DCT-III).
- ifft_
radix2 - Inverse FFT (Cooley-Tukey Radix-2).
- istft
- Compute the inverse STFT (overlap-add reconstruction).
- joukowski
- Joukowski conformal map:
w = z + 1/z. - laplace_
exp_ decay - Evaluate the Laplace transform of an exponentially decaying signal
f(t) = x * exp(-alpha * t)at complex frequencys. - logarithmic_
conformal - Logarithmic conformal map:
w = ln(z)(principal branch). - magnitude_
spectrum - Compute the magnitude spectrum of a real signal.
- naive_
dft - Apply the DFT matrix to a vector (O(N²) naive DFT).
- parseval_
check - Compute Parseval’s theorem check: sum of |x[n]|² == (1/N) sum |X[k]|².
- phase_
spectrum - Compute the phase spectrum of a real signal.
- poly_
derivative - Compute the derivative of a polynomial with complex coefficients.
- poly_
eval - Evaluate a polynomial with complex coefficients at complex point
z. - poly_
multiply - Multiply two polynomials with complex coefficients.
- power_
spectral_ density - Compute the power spectral density (PSD) of a real signal.
- primitive_
root_ of_ unity - Returns the primitive N-th root of unity: exp(2Ď€i/N).
- rectangular_
window - Generate a rectangular (boxcar) window of length
n. - residue_
by_ contour - Numerically compute the residue of
fatpoleusing the contour integral. - rfft
- Compute the DFT of a real-valued signal (returns N/2+1 complex frequencies).
- roots_
of_ unity - Returns the N-th roots of unity: exp(2πi·k/N) for k=0,…,N-1.
- schur_
2x2 - Schur-like decomposition of a 2Ă—2 complex matrix.
- schwarz_
christoffel_ rectangle - Schwarz-Christoffel map approximation for a rectangle.
- stft
- Compute the Short-Time Fourier Transform of a real signal.
- z_
transform_ eval - Evaluate the Z-transform of a finite-length sequence at complex frequency
z.