Mercurial > hg > wm
comparison 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 |
comparison
equal
deleted
inserted
replaced
23:71dd4b96221b | 24:9f20bce6184e |
---|---|
1 #ifndef SORT_H | |
2 #define SORT_H | |
3 | |
4 #include "wm.h" | |
5 #include "netpbm/pgm.h" | |
6 | |
7 void sort_grays(gray a[], int n); | |
8 void select_largest_grays(gray array[], int n, int m, gray largest[]); | |
9 | |
10 void sort_coeffs(double a[], int n); | |
11 void select_largest_coeffs(double array[], int n, int m, double largest[]); | |
12 | |
13 #endif |