view 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 source

#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.