/** * complex_ssd.ts – Complex-valued SSD kernels for Mamba-3. * * Three targeted improvements over Mamba-2 SSD: * * 1. Complex-valued states * h ∈ ℂ^(N/2) stored as interleaved (real, imag) f32 pairs. * A ∈ ℂ encoded as A_log[H, 2] = [log|A|, arg(A)]. * * 2. Exponential-Trapezoidal (ET) discretisation * A_bar = exp(Δ · A) (complex multiply) * B_bar = (A_bar − 1) · A⁻¹ · B (exact, complex division) * * 3. MIMO recurrence (G groups of G inputs/outputs per head) * Implemented here with G=1 (SISO) as the default; G>1 is a future * extension that enlarges the B/C projections. * * Buffer layout: * x : [B, L, D_inner] real-valued * B_proj : [B, L, n_groups, N*2] interleaved complex (re,im) * C_proj : [B, L, n_groups, N*2] * dt : [B, L, H] real-valued * A_log : [H, 2] [log|A|, arg(A)] per head * dt_bias : [H] * D_vec : [H] * out : [B, L, D_inner] real-valued (Re(C·h)) * state_carry: [n_chunks+1, B, H, N*2, d_head] complex states * * Dispatch: (n_chunks, H, B) */ export declare const COMPLEX_SSD_FORWARD_WGSL: string; export declare const COMPLEX_SSD_BACKWARD_WGSL: string; //# sourceMappingURL=complex_ssd.d.ts.map