From 565af48c1eff190ce836293a0eda75c0dc695c82 Mon Sep 17 00:00:00 2001 From: hachem Date: Sun, 6 Sep 2026 18:53:09 +0200 Subject: refactor: split public headers into include/ --- src/maths/complex.h | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 src/maths/complex.h (limited to 'src/maths/complex.h') diff --git a/src/maths/complex.h b/src/maths/complex.h deleted file mode 100644 index c94f64a..0000000 --- a/src/maths/complex.h +++ /dev/null @@ -1,28 +0,0 @@ -#pragma once - -struct PsiComplex -{ - double real; - double imaginary; -}; - -struct PsiComplex psi_new_complex(double real, double imaginary); -struct PsiComplex psi_new_complex_from_real(double real); - -struct PsiComplex psi_conjugate_complex(struct PsiComplex z); -struct PsiComplex psi_neg_complex(struct PsiComplex z); - -double psi_phase_complex(struct PsiComplex z); -double psi_norm2_complex(struct PsiComplex z); -double psi_abs_complex(struct PsiComplex z); -struct PsiComplex psi_sqrt_complex(struct PsiComplex z); - -struct PsiComplex psi_add_complex(struct PsiComplex a, struct PsiComplex b); -struct PsiComplex psi_sub_complex(struct PsiComplex a, struct PsiComplex b); -struct PsiComplex psi_mul_complex(struct PsiComplex a, struct PsiComplex b); -struct PsiComplex psi_div_complex(struct PsiComplex a, struct PsiComplex b); - -struct PsiComplex psi_add_complex_real(struct PsiComplex a, double b); -struct PsiComplex psi_sub_complex_real(struct PsiComplex a, double b); -struct PsiComplex psi_mul_complex_real(struct PsiComplex a, double b); -struct PsiComplex psi_div_complex_real(struct PsiComplex a, double b); -- cgit v1.3