diff Meerwald-dir/sort.h @ 24:9f20bce6184e v0.7

move directories, support netpbm 11
author Peter Meerwald-Stadler <pmeerw@pmeerw.net>
date Fri, 20 Dec 2024 13:08:59 +0100
parents Meerwald/sort.h@be303a3f5ea8
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Meerwald-dir/sort.h	Fri Dec 20 13:08:59 2024 +0100
@@ -0,0 +1,13 @@
+#ifndef SORT_H
+#define SORT_H
+
+#include "wm.h"
+#include "netpbm/pgm.h"
+
+void sort_grays(gray a[], int n);
+void select_largest_grays(gray array[], int n, int m, gray largest[]);
+
+void sort_coeffs(double a[], int n);
+void select_largest_coeffs(double array[], int n, int m, double largest[]);
+
+#endif

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.