ajsort.c
Based on an array of floats, sort an ajint element array.
Synopsis
Prototype
void ajSortFloatDecI (
const float* a,
ajuint* p,
ajuint n
);
Type | Name | Read/Write | Description |
const float* | a | Input | Array of floats used in sort tests |
ajuint* | p | Modify | Array of unsigned ints to be sorted
depending on floats. |
ajuint | n | Input | Number of elements to sort |
void | | RETURN | |
Input
a: | (Input) | Array of floats used in sort tests |
n: | (Input) | Number of elements to sort |
Input & Output
p: | (Modify) | Array of unsigned ints to be sorted
depending on floats. |
Returns
Description
Based on an array of floats, sort an ajint element array.
See Also
See other functions in this section
Availability
In release 6.4.0
Based on an array of ints, sort an ajint element array.
Synopsis
Prototype
void ajSortIntDecI (
const ajint* a,
ajuint* p,
ajuint n
);
Type | Name | Read/Write | Description |
const ajint* | a | Input | Array of ints used in sort tests |
ajuint* | p | Modify | Array of ints to be sorted depending on ajints. |
ajuint | n | Input | Number of elements to sort |
void | | RETURN | |
Input
a: | (Input) | Array of ints used in sort tests |
n: | (Input) | Number of elements to sort |
Input & Output
p: | (Modify) | Array of ints to be sorted depending on ajints. |
Returns
Description
Based on an array of ints, sort an ajint element array.
See Also
See other functions in this section
Availability
In release 6.4.0
Based on an array of ints, sort an ajuint element array.
Synopsis
Prototype
void ajSortUintDecI (
const ajuint* a,
ajuint* p,
ajuint n
);
Type | Name | Read/Write | Description |
const ajuint* | a | Input | Array of unsigned ints used in sort tests |
ajuint* | p | Modify | Array of ints to be sorted depending on unsigned ints |
ajuint | n | Input | Number of elements to sort |
void | | RETURN | |
Input
a: | (Input) | Array of unsigned ints used in sort tests |
n: | (Input) | Number of elements to sort |
Input & Output
p: | (Modify) | Array of ints to be sorted depending on unsigned ints |
Returns
Description
Based on an array of ints, sort an ajuint element array.
See Also
See other functions in this section
Availability
In release 6.4.0
Based on an array of floats, sort (ascending) an ajint element array.
Synopsis
Prototype
void ajSortFloatIncI (
const float* a,
ajuint* p,
ajuint n
);
Type | Name | Read/Write | Description |
const float* | a | Input | Array of floats used in sort tests |
ajuint* | p | Modify | Array of ints to be sorted depending on floats. |
ajuint | n | Input | Number of elements to sort |
void | | RETURN | |
Input
a: | (Input) | Array of floats used in sort tests |
n: | (Input) | Number of elements to sort |
Input & Output
p: | (Modify) | Array of ints to be sorted depending on floats. |
Returns
Description
Based on an array of floats, sort (ascending) an ajint element array.
See Also
See other functions in this section
Availability
In release 6.4.0
Based on an array of ints, sort (ascending) a second ajint element array.
Synopsis
Prototype
void ajSortIntIncI (
const ajint* a,
ajuint* p,
ajuint n
);
Type | Name | Read/Write | Description |
const ajint* | a | Input | Array of ints used in sort tests |
ajuint* | p | Modify | Array of ints to be sorted depending on ints. |
ajuint | n | Input | Number of elements to sort |
void | | RETURN | |
Input
a: | (Input) | Array of ints used in sort tests |
n: | (Input) | Number of elements to sort |
Input & Output
p: | (Modify) | Array of ints to be sorted depending on ints. |
Returns
Description
Based on an array of ints, sort (ascending) a second ajint element array.
See Also
See other functions in this section
Availability
In release 6.4.0
Based on an array of uints, sort (ascending) a second ajint element array.
Synopsis
Prototype
void ajSortUintIncI (
const ajuint* a,
ajuint* p,
ajuint n
);
Type | Name | Read/Write | Description |
const ajuint* | a | Input | Array of ints used in sort tests |
ajuint* | p | Modify | Array of uints to be sorted depending on uints. |
ajuint | n | Input | Number of elements to sort |
void | | RETURN | |
Input
a: | (Input) | Array of ints used in sort tests |
n: | (Input) | Number of elements to sort |
Input & Output
p: | (Modify) | Array of uints to be sorted depending on uints. |
Returns
Description
Based on an array of uints, sort (ascending) a second ajint element array.
See Also
See other functions in this section
Availability
In release 6.4.0
Based on an array of ints, sort (ascending) both this array and
a second ajint element array.
Synopsis
Prototype
void ajSorttwoIntIncI (
ajint* a,
ajuint* p,
ajuint n
);
Type | Name | Read/Write | Description |
ajint* | a | Modify | Array of ints used in sort tests and itself sorted |
ajuint* | p | Modify | Second array of ints to be sorted |
ajuint | n | Input | Number of elements to sort |
void | | RETURN | |
Input
n: | (Input) | Number of elements to sort |
Input & Output
a: | (Modify) | Array of ints used in sort tests and itself sorted |
p: | (Modify) | Second array of ints to be sorted |
Returns
Description
Based on an array of ints, sort (ascending) both this array and
a second ajint element array.
See Also
See other functions in this section
Availability
In release 6.4.0
Based on an array of unsigned ints, sort (ascending) both this array and
a second ajint element array.
Synopsis
Prototype
void ajSorttwoUintIncI (
ajuint* a,
ajuint* p,
ajuint n
);
Type | Name | Read/Write | Description |
ajuint* | a | Modify | Array of ints used in sort tests and itself sorted |
ajuint* | p | Modify | Second array of ints to be sorted |
ajuint | n | Input | Number of elements to sort |
void | | RETURN | |
Input
n: | (Input) | Number of elements to sort |
Input & Output
a: | (Modify) | Array of ints used in sort tests and itself sorted |
p: | (Modify) | Second array of ints to be sorted |
Returns
Description
Based on an array of unsigned ints, sort (ascending) both this array and
a second ajint element array.
See Also
See other functions in this section
Availability
In release 6.4.0
Sort a float array.
Synopsis
Prototype
void ajSortFloatDec (
float* a,
ajuint n
);
Type | Name | Read/Write | Description |
float* | a | Modify | Array of floats to sort |
ajuint | n | Input | Number of elements to sort |
void | | RETURN | |
Input
n: | (Input) | Number of elements to sort |
Input & Output
a: | (Modify) | Array of floats to sort |
Returns
Description
Sort a float array.
See Also
See other functions in this section
Availability
In release 6.4.0
Sort an ajint array.
Synopsis
Prototype
void ajSortIntDec (
ajint* a,
ajuint n
);
Type | Name | Read/Write | Description |
ajint* | a | Modify | Array of ints to sort |
ajuint | n | Input | Number of elements to sort |
void | | RETURN | |
Input
n: | (Input) | Number of elements to sort |
Input & Output
a: | (Modify) | Array of ints to sort |
Returns
Description
Sort an ajint array.
See Also
See other functions in this section
Availability
In release 6.4.0
Sort an ajuint array.
Synopsis
Prototype
void ajSortUintDec (
ajuint* a,
ajuint n
);
Type | Name | Read/Write | Description |
ajuint* | a | Modify | Array of unsigned ints to sort |
ajuint | n | Input | Number of elements to sort |
void | | RETURN | |
Input
n: | (Input) | Number of elements to sort |
Input & Output
a: | (Modify) | Array of unsigned ints to sort |
Returns
Description
Sort an ajuint array.
See Also
See other functions in this section
Availability
In release 6.4.0
Sort a float array (ascending).
Synopsis
Prototype
void ajSortFloatInc (
float* a,
ajuint n
);
Type | Name | Read/Write | Description |
float* | a | Modify | Array of floats to sort |
ajuint | n | Input | Number of elements to sort |
void | | RETURN | |
Input
n: | (Input) | Number of elements to sort |
Input & Output
a: | (Modify) | Array of floats to sort |
Returns
Description
Sort a float array (ascending).
See Also
See other functions in this section
Availability
In release 6.4.0
Sort an ajint array (ascending)
Synopsis
Prototype
void ajSortIntInc (
ajint* a,
ajuint n
);
Type | Name | Read/Write | Description |
ajint* | a | Modify | Array of ints to sort |
ajuint | n | Input | Number of elements to sort |
void | | RETURN | |
Input
n: | (Input) | Number of elements to sort |
Input & Output
a: | (Modify) | Array of ints to sort |
Returns
Description
Sort an ajint array (ascending)
See Also
See other functions in this section
Availability
In release 6.4.0
Sort an unsigned ajuint array (ascending)
Synopsis
Prototype
void ajSortUintInc (
ajuint* a,
ajuint n
);
Type | Name | Read/Write | Description |
ajuint* | a | Modify | Array of ints to sort |
ajuint | n | Input | Number of elements to sort |
void | | RETURN | |
Input
n: | (Input) | Number of elements to sort |
Input & Output
a: | (Modify) | Array of ints to sort |
Returns
Description
Sort an unsigned ajuint array (ascending)
See Also
See other functions in this section
Availability
In release 6.4.0