DIPlib Documentation - ©1995-2008 Quantitative Imaging Group, Delft University of Technology.

InsertionSort

Sort a block of data

SYNOPSIS

#include "dip_sort.h"

dip_Error dip_InsertionSort ( data, size, dataType )

FUNCTION

Sorts a block of data (of size size and data type dataType ) using the insertion sort algorithm.

ARGUMENTS

Data typeNameDescription
void *dataData
dip_intsizeSize
dip_DataTypedataTypeData type. See DIPlib's data types

SEE ALSO

General information about sorting

InsertionSortIndices, InsertionSortIndices16, Sort, ImageSort, SortIndices, SortIndices16, ImageSortIndices

DIPlib on-line documentation | Function reference | Global function index