view Meerwald-dir/sort.h @ 25:5a57a145bccb default tip

Added tag v0.7 for changeset 9f20bce6184e
author Peter Meerwald-Stadler <pmeerw@pmeerw.net>
date Fri, 20 Dec 2024 13:32:15 +0100
parents 9f20bce6184e
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.