Structsยง
- C64 ๐
Functionsยง
- cmat_
conj_ ๐t - Conjugate transpose of dรd complex matrix.
- cmat_
det ๐ - Complex matrix determinant, dรd.
- cmat_
inv ๐ - Complex matrix inverse via Gauss-Jordan, dรd row-major.
- cmat_
mul ๐ - Complex matrix multiply: C = A * B, all dรd row-major.
- conditional_
granger_ causality - Conditional Granger causality (Geweke 1984). Tests if source Granger-causes target controlling for condition.
- directed_
transfer_ function - Directed transfer function (Kaminski & Blinowska 1991). Returns (d ร d ร n_freqs) flat Vec.
- identity_
flat ๐ - pairwise_
granger_ causality - Pairwise Granger causality (Granger 1969). Returns log-likelihood ratio. Positive = source Granger-causes target.
- partial_
directed_ coherence - Partial directed coherence (Baccala & Sameshima 2001). Returns (d ร d ร n_freqs) flat Vec.
- solve_
linear ๐ - Solve A x = b via Gaussian elimination with partial pivoting. A is nรn (row-major flat), b is n-length. Returns x.
- solve_
matrix ๐ - Solve A X = B where A is nรn and B is nรm. Returns X (nรm, row-major).
- spectral_
granger_ causality - Spectral Granger causality (Geweke 1982). Returns (d ร d ร n_freqs) as flat Vec, row-major in [i][j][f] order.
- sse_ols ๐
- Sum of squared errors for OLS regression: SSE = ||y - X beta||^2.
- var_
coefficients ๐ - Fit VAR(order) model. Returns (beta [order*d ร d, row-major], sigma [dรd, row-major]).