view Meerwald/sort.h @ 10:aa7b4c3a7313

add cmp_ppm
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Thu, 01 May 2008 18:15:14 +0200
parents be303a3f5ea8
children
line wrap: on
line source

#ifndef SORT_H
#define SORT_H

#include "wm.h"
#include "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.