feat: add EEO (Ehlers Elegant Oscillator) - TASC Feb 2022

This commit is contained in:
Miha Kralj
2026-03-17 14:18:57 -07:00
parent b9e6a70890
commit f7dcc20f7c
14 changed files with 1250 additions and 0 deletions
+10
View File
@@ -448,6 +448,16 @@ public static unsafe partial class Exports
catch { return StatusCodes.QTL_ERR_INTERNAL; }
}
// Eeo: Pattern A (src, out, int bandEdge)
[UnmanagedCallersOnly(EntryPoint = "qtl_eeo")]
public static int QtlEeo(double* src, int n, double* dst, int bandEdge)
{
int v = Chk1(src, dst, n); if (v != 0) return v;
if (bandEdge < 2) return StatusCodes.QTL_ERR_INVALID_PARAM;
try { Eeo.Batch(Src(src, n), Dst(dst, n), bandEdge); return StatusCodes.QTL_OK; }
catch { return StatusCodes.QTL_ERR_INTERNAL; }
}
// Dymi: Pattern A (src, out, int p1..p5)
[UnmanagedCallersOnly(EntryPoint = "qtl_dymi")]
public static int QtlDymi(double* src, int n, double* dst, int p1, int p2, int p3, int p4, int p5)