ajarr.c
Default constructor for empty AJAX character arrays.
Synopsis
Prototype
AjPChar ajChararrNew (
void
);
Returns
| AjPChar: | Pointer to an empty character array structure |
Description
Default constructor for empty AJAX character arrays.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Constructor given an initial reserved size.
Synopsis
Prototype
AjPChar ajChararrNewL (
ajint size
);
Input
| size: | (Input) | Reserved size |
Returns
| AjPChar: | Pointer to an empty character array struct
of specified size. |
Description
Constructor given an initial reserved size.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default destructor for AJAX character arrays.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
void ajChararrDel (
AjPChar* thys
);
Output
| thys: | (Delete) | Pointer to the char array to be deleted.
The pointer is always deleted. |
Returns
Description
Default destructor for AJAX character arrays.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Retrieve an element from an AJAX character array.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
char ajChararrGet (
const AjPChar thys,
ajint elem
);
Input
| thys: | (Input) | Pointer to the char array. |
| elem: | (Input) | array element. |
Returns
| char: | contents of array element |
Description
Retrieve an element from an AJAX character array.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Load a character array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Synopsis
Prototype
AjBool ajChararrPut (
AjPChar* thys,
ajint elem,
char v
);
Input
| elem: | (Input) | array element. |
| v: | (Input) | value to load. |
Output
| thys: | (Output) | Pointer to the char array. |
Returns
| AjBool: | true if the array was extended. |
Description
Load a character array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Returns the current char* pointer. This will remain valid until
the array is resized or deleted.
Synopsis
Prototype
char* ajChararrChararr (
const AjPChar thys
);
Input
Returns
| char*: | Current array pointer, or a null string if undefined. |
Description
Returns the current char* pointer. This will remain valid until
the array is resized or deleted.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default constructor for empty AJAX integer arrays.
Synopsis
Prototype
AjPInt ajIntNew (
void
);
Returns
| AjPInt: | Pointer to an empty integer array structure |
Description
Default constructor for empty AJAX integer arrays.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Constructor given an initial reserved size.
Synopsis
Prototype
AjPInt ajIntNewL (
ajint size
);
Input
| size: | (Input) | Reserved size |
Returns
| AjPInt: | Pointer to an empty integer array struct of specified size. |
Description
Constructor given an initial reserved size.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default destructor for AJAX integer arrays.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
void ajIntDel (
AjPInt* thys
);
Output
| thys: | (Delete) | Pointer to the ajint array to be deleted.
The pointer is always deleted. |
Returns
Description
Default destructor for AJAX integer arrays.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Retrieve an element from an AJAX integer array.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
ajint ajIntGet (
const AjPInt thys,
ajint elem
);
Input
| thys: | (Input) | Pointer to the ajint array. |
| elem: | (Input) | array element. |
Returns
| ajint: | contents of array element |
Description
Retrieve an element from an AJAX integer array.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Load an integer array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Synopsis
Prototype
AjBool ajIntPut (
AjPInt* thys,
ajint elem,
ajint v
);
Input
| elem: | (Input) | array element. |
| v: | (Input) | value to load. |
Output
| thys: | (Output) | Pointer to the ajint array. |
Returns
| AjBool: | true if the array was extended. |
Description
Load an integer array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Increment an integer array element.
If the given array is a NULL pointer an error is generated.
Negative indices generate an error.
Synopsis
Prototype
void ajIntInc (
AjPInt* thys,
ajint elem
);
Input
| elem: | (Input) | array element. |
Output
| thys: | (Output) | Pointer to the ajint array. |
Returns
Description
Increment an integer array element.
If the given array is a NULL pointer an error is generated.
Negative indices generate an error.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Deccrement an integer array element.
If the given array is a NULL pointer an error is generated.
Negative indices generate an error.
Synopsis
Prototype
void ajIntDec (
AjPInt* thys,
ajint elem
);
Input
| elem: | (Input) | array element. |
Output
| thys: | (Output) | Pointer to the ajint array. |
Returns
Description
Deccrement an integer array element.
If the given array is a NULL pointer an error is generated.
Negative indices generate an error.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Returns the current ajint* pointer. This will remain valid until
the array is resized or deleted.
Synopsis
Prototype
ajint* ajIntInt (
const AjPInt thys
);
Input
Returns
| ajint*: | Current array pointer, or a null string if undefined. |
Description
Returns the current ajint* pointer. This will remain valid until
the array is resized or deleted.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Get length of dynamic 1d ajint array
Synopsis
Prototype
ajint ajIntLen (
const AjPInt thys
);
Input
Returns
Description
Get length of dynamic 1d ajint array
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default constructor for empty AJAX float arrays.
Synopsis
Prototype
AjPFloat ajFloatNew (
void
);
Returns
| AjPFloat: | Pointer to an empty float array structure |
Description
Default constructor for empty AJAX float arrays.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Constructor given an initial reserved size.
Synopsis
Prototype
AjPFloat ajFloatNewL (
ajint size
);
Input
| size: | (Input) | Reserved size |
Returns
| AjPFloat: | Pointer to an empty float array struct of specified size. |
Description
Constructor given an initial reserved size.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default destructor for AJAX float arrays.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
void ajFloatDel (
AjPFloat* thys
);
Output
| thys: | (Delete) | Pointer to the float array to be deleted.
The pointer is always deleted. |
Returns
Description
Default destructor for AJAX float arrays.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Retrieve an element from an AJAX float array.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
float ajFloatGet (
const AjPFloat thys,
ajint elem
);
Input
| thys: | (Input) | Pointer to the float array. |
| elem: | (Input) | array element. |
Returns
| float: | contents of array element |
Description
Retrieve an element from an AJAX float array.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Load a float array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Synopsis
Prototype
AjBool ajFloatPut (
AjPFloat* thys,
ajint elem,
float v
);
Input
| elem: | (Input) | array element. |
| v: | (Input) | value to load. |
Output
| thys: | (Output) | Pointer to the ajint array. |
Returns
| AjBool: | true if the array was extended. |
Description
Load a float array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Returns the current float* pointer. This will remain valid until
the array is resized or deleted.
Synopsis
Prototype
float* ajFloatFloat (
const AjPFloat thys
);
Input
Returns
| float*: | Current array pointer, or a null string if undefined. |
Description
Returns the current float* pointer. This will remain valid until
the array is resized or deleted.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Get length of dynamic 1d float array
Synopsis
Prototype
ajint ajFloatLen (
const AjPFloat thys
);
Input
Returns
Description
Get length of dynamic 1d float array
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default constructor for empty AJAX double arrays.
Synopsis
Prototype
AjPDouble ajDoubleNew (
void
);
Returns
| AjPDouble: | Pointer to an empty double array structure |
Description
Default constructor for empty AJAX double arrays.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Constructor given an initial reserved size.
Synopsis
Prototype
AjPDouble ajDoubleNewL (
ajint size
);
Input
| size: | (Input) | Reserved size |
Returns
| AjPDouble: | Pointer to an empty double array struct
of specified size. |
Description
Constructor given an initial reserved size.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default destructor for AJAX double arrays.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
void ajDoubleDel (
AjPDouble* thys
);
Output
| thys: | (Delete) | Pointer to the double array to be deleted.
The pointer is always deleted. |
Returns
Description
Default destructor for AJAX double arrays.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Retrieve an element from an AJAX double array.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
double ajDoubleGet (
const AjPDouble thys,
ajint elem
);
Input
| thys: | (Input) | Pointer to the double array. |
| elem: | (Input) | array element. |
Returns
| double: | contents of array element |
Description
Retrieve an element from an AJAX double array.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Load a double array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Synopsis
Prototype
AjBool ajDoublePut (
AjPDouble* thys,
ajint elem,
double v
);
Input
| elem: | (Input) | array element. |
| v: | (Input) | value to load. |
Output
| thys: | (Output) | Pointer to the ajint array. |
Returns
| AjBool: | true if the array was extended. |
Description
Load a double array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Returns the current double* pointer. This will remain valid until
the array is resized or deleted.
Synopsis
Prototype
double* ajDoubleDouble (
const AjPDouble thys
);
Input
Returns
| double*: | Current array pointer, or a null string if undefined. |
Description
Returns the current double* pointer. This will remain valid until
the array is resized or deleted.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Get length of dynamic 1d double array
Synopsis
Prototype
ajint ajDoubleLen (
const AjPDouble thys
);
Input
Returns
Description
Get length of dynamic 1d double array
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default constructor for empty AJAX short arrays.
Synopsis
Prototype
AjPShort ajShortNew (
void
);
Returns
| AjPShort: | Pointer to an empty short array structure |
Description
Default constructor for empty AJAX short arrays.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Constructor given an initial reserved size.
Synopsis
Prototype
AjPShort ajShortNewL (
ajint size
);
Input
| size: | (Input) | Reserved size |
Returns
| AjPShort: | Pointer to an empty short array struct of specified size. |
Description
Constructor given an initial reserved size.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default destructor for AJAX short arrays.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
void ajShortDel (
AjPShort* thys
);
Output
| thys: | (Delete) | Pointer to the short array to be deleted.
The pointer is always deleted. |
Returns
Description
Default destructor for AJAX short arrays.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Retrieve an element from an AJAX short array.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
short ajShortGet (
const AjPShort thys,
ajint elem
);
Input
| thys: | (Input) | Pointer to the short array. |
| elem: | (Input) | array element. |
Returns
| short: | contents of array element |
Description
Retrieve an element from an AJAX short array.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Load a short array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Synopsis
Prototype
AjBool ajShortPut (
AjPShort* thys,
ajint elem,
short v
);
Input
| elem: | (Input) | array element. |
| v: | (Input) | value to load. |
Output
| thys: | (Output) | Pointer to the ajint array. |
Returns
| AjBool: | true if the array was extended. |
Description
Load a short array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Returns the current short* pointer. This will remain valid until
the array is resized or deleted.
Synopsis
Prototype
short* ajShortShort (
const AjPShort thys
);
Input
Returns
| short*: | Current array pointer, or a null string if undefined. |
Description
Returns the current short* pointer. This will remain valid until
the array is resized or deleted.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Get length of dynamic 1d short array
Synopsis
Prototype
ajint ajShortLen (
const AjPShort thys
);
Input
Returns
Description
Get length of dynamic 1d short array
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default constructor for empty AJAX ajlong arrays.
Synopsis
Prototype
AjPLong ajLongNew (
void
);
Returns
| AjPLong: | Pointer to an empty ajlong array structure |
Description
Default constructor for empty AJAX ajlong arrays.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Constructor given an initial reserved size.
Synopsis
Prototype
AjPLong ajLongNewL (
ajint size
);
Input
| size: | (Input) | Reserved size |
Returns
| AjPLong: | Pointer to an empty ajlong array struct of specified size. |
Description
Constructor given an initial reserved size.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default destructor for AJAX ajlong arrays.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
void ajLongDel (
AjPLong* thys
);
Output
| thys: | (Delete) | Pointer to the ajlong array to be deleted.
The pointer is always deleted. |
Returns
Description
Default destructor for AJAX ajlong arrays.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Retrieve an element from an AJAX ajlong array.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
ajlong ajLongGet (
const AjPLong thys,
ajint elem
);
Input
| thys: | (Input) | Pointer to the ajlong array. |
| elem: | (Input) | array element. |
Returns
| ajlong: | contents of array element |
Description
Retrieve an element from an AJAX ajlong array.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Load a ajlong array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Synopsis
Prototype
AjBool ajLongPut (
AjPLong* thys,
ajint elem,
ajlong v
);
Input
| elem: | (Input) | array element. |
| v: | (Input) | value to load. |
Output
| thys: | (Output) | Pointer to the ajint array. |
Returns
| AjBool: | true if the array was extended. |
Description
Load a ajlong array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Returns the current ajlong* pointer. This will remain valid until
the array is resized or deleted.
Synopsis
Prototype
ajlong* ajLongLong (
const AjPLong thys
);
Input
Returns
| ajlong*: | Current array pointer, or a null string if undefined. |
Description
Returns the current ajlong* pointer. This will remain valid until
the array is resized or deleted.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Get length of dynamic 1d ajlong array
Synopsis
Prototype
ajlong ajLongLen (
const AjPLong thys
);
Input
Returns
Description
Get length of dynamic 1d ajlong array
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Parses a string into a floating point array.
The array size is already set.
Synopsis
Prototype
AjBool ajFloatParse (
const AjPStr str,
AjPFloat* array
);
Input
Output
Returns
| AjBool: | ajTrue on success. |
Description
Parses a string into a floating point array.
The array size is already set.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Writes a floating point array as a string
Synopsis
Prototype
void ajFloatStr (
const AjPFloat array,
ajint precision,
AjPStr* str
);
Input
| array: | (Input) | Array |
| precision: | (Input) | floating point precision |
Output
| str: | (Output) | Output string |
Returns
Description
Writes a floating point array as a string
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Writes a floating point array to the debug file
Synopsis
Prototype
void ajFloatTrace (
const AjPFloat array,
ajint precision,
const char* text
);
Input
| array: | (Input) | Array |
| precision: | (Input) | floating point precision |
| text: | (Input) | Report title |
Returns
Description
Writes a floating point array to the debug file
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Creates an AjPStr array from a string of comma separated tokens
Synopsis
Prototype
ajint ajArrCommaList (
const AjPStr s,
AjPStr** a
);
Input
| s: | (Input) | Line containing comma separated strings |
Output
| a: | (Output) | array pointer to create and load |
Returns
| ajint: | number of array elements created |
Description
Creates an AjPStr array from a string of comma separated tokens
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Creates a double array from a string of columns
Synopsis
Prototype
double* ajArrDoubleLine (
const AjPStr line,
const char* delim,
ajint cols,
ajint startcol,
ajint endcol
);
Input
| line: | (Input) | Line containing numbers |
| delim: | (Input) | Delimiter string for tokens |
| cols: | (Input) | Number of tokens in the string |
| startcol: | (Input) | Start token (1 to n) |
| endcol: | (Input) | End token (1 to n) |
Returns
| double*: | Allocated array of integers |
Description
Creates a double array from a string of columns
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Creates an Int array from a string of columns
Synopsis
Prototype
ajint* ajArrIntLine (
const AjPStr line,
const char* delim,
ajint cols,
ajint startcol,
ajint endcol
);
Input
| line: | (Input) | Line containing numbers |
| delim: | (Input) | Delimiter string for tokens |
| cols: | (Input) | Number of tokens in the string |
| startcol: | (Input) | Start token (1 to n) |
| endcol: | (Input) | End token (1 to n) |
Returns
| ajint*: | Allocated array of integers |
Description
Creates an Int array from a string of columns
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Creates a Float array from a string of columns
Synopsis
Prototype
float* ajArrFloatLine (
const AjPStr line,
const char* delim,
ajint cols,
ajint startcol,
ajint endcol
);
Input
| line: | (Input) | Line containing numbers |
| delim: | (Input) | Delimiter string for tokens |
| cols: | (Input) | Number of tokens in the string |
| startcol: | (Input) | Start token (1 to n) |
| endcol: | (Input) | End token (1 to n) |
Returns
| float*: | Allocated array of integers |
Description
Creates a Float array from a string of columns
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default constructor for empty AJAX 2D integer arrays.
Synopsis
Prototype
AjPInt2d ajInt2dNew (
void
);
Returns
| AjPInt2d: | Pointer to an empty integer array structure |
Description
Default constructor for empty AJAX 2D integer arrays.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Constructor given an initial reserved size.
Synopsis
Prototype
AjPInt2d ajInt2dNewL (
ajint size
);
Input
| size: | (Input) | Reserved size 1st dim |
Returns
| AjPInt2d: | Pointer to an empty integer 2d array struct of
specified size. |
Description
Constructor given an initial reserved size.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Constructor given an initial reserved size in both dimensions
Synopsis
Prototype
AjPInt2d ajInt2dNewLL (
ajint size,
ajint size2
);
Input
| size: | (Input) | Reserved size 1st dim |
| size2: | (Input) | Reserved size 2nd dim |
Returns
| AjPInt2d: | Pointer to an empty integer 2d array struct of
specified size. |
Description
Constructor given an initial reserved size in both dimensions
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default destructor for AJAX integer arrays.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
void ajInt2dDel (
AjPInt2d* thys
);
Output
| thys: | (Delete) | Pointer to the ajint array to be deleted.
The pointer is always deleted. |
Returns
Description
Default destructor for AJAX integer arrays.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Retrieve an element from an AJAX 2d integer array.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
ajint ajInt2dGet (
const AjPInt2d thys,
ajint elem1,
ajint elem2
);
Input
| thys: | (Input) | Pointer to the ajint array. |
| elem1: | (Input) | array element. |
| elem2: | (Input) | array element. |
Returns
| ajint: | contents of array element |
Description
Retrieve an element from an AJAX 2d integer array.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Load an integer 2d array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Synopsis
Prototype
AjBool ajInt2dPut (
AjPInt2d* thys,
ajint elem1,
ajint elem2,
ajint v
);
Input
| elem1: | (Input) | array element. |
| elem2: | (Input) | array element. |
| v: | (Input) | value to load. |
Output
| thys: | (Output) | Pointer to the ajint array. |
Returns
| AjBool: | true if any array was extended. |
Description
Load an integer 2d array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Get lengths of 2d ajint array
Synopsis
Prototype
void ajInt2dLen (
const AjPInt2d thys,
ajint* len1,
ajint* len2
);
Input
| thys: | (Input) | Pointer to the ajint array. |
Output
| len1: | (Output) | Length of 1st dim |
| len2: | (Output) | Length of 2nd dim |
Returns
Description
Get lengths of 2d ajint array
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Convert AjPInt2d to ajint
Synopsis
Prototype
ajint** ajInt2dInt (
const AjPInt2d thys
);
Input
| thys: | (Input) | Pointer to the ajint array. |
Returns
Description
Convert AjPInt2d to ajint
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default constructor for empty AJAX 3D integer arrays.
Synopsis
Prototype
AjPInt3d ajInt3dNew (
void
);
Returns
| AjPInt3d: | Pointer to an empty integer array structure |
Description
Default constructor for empty AJAX 3D integer arrays.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Constructor given an initial reserved size.
Synopsis
Prototype
AjPInt3d ajInt3dNewL (
ajint size
);
Input
| size: | (Input) | Reserved size 1st dim |
Returns
| AjPInt3d: | Pointer to an empty integer 3d array struct of
specified size. |
Description
Constructor given an initial reserved size.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default destructor for AJAX integer arrays.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
void ajInt3dDel (
AjPInt3d* thys
);
Output
| thys: | (Delete) | Pointer to the ajint array to be deleted.
The pointer is always deleted. |
Returns
Description
Default destructor for AJAX integer arrays.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Retrieve an element from an AJAX 3d integer array.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
ajint ajInt3dGet (
const AjPInt3d thys,
ajint elem1,
ajint elem2,
ajint elem3
);
Input
| thys: | (Input) | Pointer to the ajint array. |
| elem1: | (Input) | array element. |
| elem2: | (Input) | array element. |
| elem3: | (Input) | array element. |
Returns
| ajint: | contents of array element |
Description
Retrieve an element from an AJAX 3d integer array.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Load an integer 3d array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Synopsis
Prototype
AjBool ajInt3dPut (
AjPInt3d* thys,
ajint elem1,
ajint elem2,
ajint elem3,
ajint v
);
Input
| elem1: | (Input) | array element. |
| elem2: | (Input) | array element. |
| elem3: | (Input) | array element. |
| v: | (Input) | value to load. |
Output
| thys: | (Output) | Pointer to the ajint array. |
Returns
| AjBool: | true if any array was extended. |
Description
Load an integer 3d array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Get lengths of 3d ajint array
Synopsis
Prototype
void ajInt3dLen (
const AjPInt3d thys,
ajint* len1,
ajint* len2,
ajint* len3
);
Input
| thys: | (Input) | Pointer to the ajint array. |
Output
| len1: | (Output) | Length of 1st dim |
| len2: | (Output) | Length of 2nd dim |
| len3: | (Output) | Length of 3rd dim |
Returns
Description
Get lengths of 3d ajint array
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Convert AjPInt3d to ajint
Synopsis
Prototype
ajint*** ajInt3dInt (
const AjPInt3d thys
);
Input
| thys: | (Input) | Pointer to the ajint array. |
Returns
| ajint***: | converted values. |
Description
Convert AjPInt3d to ajint
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default constructor for empty AJAX 2D float arrays.
Synopsis
Prototype
AjPFloat2d ajFloat2dNew (
void
);
Returns
| AjPFloat2d: | Pointer to an empty float array structure |
Description
Default constructor for empty AJAX 2D float arrays.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Constructor given an initial reserved size.
Synopsis
Prototype
AjPFloat2d ajFloat2dNewL (
ajint size
);
Input
| size: | (Input) | Reserved size 1st dim |
Returns
| AjPFloat2d: | Pointer to an empty float 2d array struct of
specified size. |
Description
Constructor given an initial reserved size.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default destructor for AJAX float arrays.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
void ajFloat2dDel (
AjPFloat2d* thys
);
Output
| thys: | (Delete) | Pointer to the float array to be deleted.
The pointer is always deleted. |
Returns
Description
Default destructor for AJAX float arrays.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Retrieve an element from an AJAX 2d float array.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
float ajFloat2dGet (
const AjPFloat2d thys,
ajint elem1,
ajint elem2
);
Input
| thys: | (Input) | Pointer to the float array. |
| elem1: | (Input) | array element. |
| elem2: | (Input) | array element. |
Returns
| float: | contents of array element |
Description
Retrieve an element from an AJAX 2d float array.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Load a float 2d array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Synopsis
Prototype
AjBool ajFloat2dPut (
AjPFloat2d* thys,
ajint elem1,
ajint elem2,
float v
);
Input
| elem1: | (Input) | array element. |
| elem2: | (Input) | array element. |
| v: | (Input) | value to load. |
Output
| thys: | (Output) | Pointer to the float array. |
Returns
| AjBool: | true if any array was extended. |
Description
Load a float 2d array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Get lengths of 2d float array
Synopsis
Prototype
void ajFloat2dLen (
const AjPFloat2d thys,
ajint* len1,
ajint* len2
);
Input
| thys: | (Input) | Pointer to the float array. |
Output
| len1: | (Output) | Length of 1st dim |
| len2: | (Output) | Length of 2nd dim |
Returns
Description
Get lengths of 2d float array
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Convert AjPFloat2d to float
Synopsis
Prototype
float** ajFloat2dFloat (
const AjPFloat2d thys
);
Input
| thys: | (Input) | Pointer to the float array. |
Returns
| float**: | converted values. |
Description
Convert AjPFloat2d to float
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default constructor for empty AJAX 3D float arrays.
Synopsis
Prototype
AjPFloat3d ajFloat3dNew (
void
);
Returns
| AjPFloat3d: | Pointer to an empty float array structure |
Description
Default constructor for empty AJAX 3D float arrays.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Constructor given an initial reserved size.
Synopsis
Prototype
AjPFloat3d ajFloat3dNewL (
ajint size
);
Input
| size: | (Input) | Reserved size 1st dim |
Returns
| AjPFloat3d: | Pointer to an empty float 3d array struct of
specified size. |
Description
Constructor given an initial reserved size.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default destructor for AJAX float arrays.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
void ajFloat3dDel (
AjPFloat3d* thys
);
Output
| thys: | (Delete) | Pointer to the float array to be deleted.
The pointer is always deleted. |
Returns
Description
Default destructor for AJAX float arrays.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Retrieve an element from an AJAX 3d float array.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
float ajFloat3dGet (
const AjPFloat3d thys,
ajint elem1,
ajint elem2,
ajint elem3
);
Input
| thys: | (Input) | Pointer to the float array. |
| elem1: | (Input) | array element. |
| elem2: | (Input) | array element. |
| elem3: | (Input) | array element. |
Returns
| float: | contents of array element |
Description
Retrieve an element from an AJAX 3d float array.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Load a float 3d array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Synopsis
Prototype
AjBool ajFloat3dPut (
AjPFloat3d* thys,
ajint elem1,
ajint elem2,
ajint elem3,
float v
);
Input
| elem1: | (Input) | array element. |
| elem2: | (Input) | array element. |
| elem3: | (Input) | array element. |
| v: | (Input) | value to load. |
Output
| thys: | (Output) | Pointer to the float array. |
Returns
| AjBool: | true if any array was extended. |
Description
Load a float 3d array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Get lengths of 3d float array
Synopsis
Prototype
void ajFloat3dLen (
const AjPFloat3d thys,
ajint* len1,
ajint* len2,
ajint* len3
);
Input
| thys: | (Input) | Pointer to the float array. |
Output
| len1: | (Output) | Length of 1st dim |
| len2: | (Output) | Length of 2nd dim |
| len3: | (Output) | Length of 3rd dim |
Returns
Description
Get lengths of 3d float array
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Convert AjPFloat3d to float
Synopsis
Prototype
float*** ajFloat3dFloat (
const AjPFloat3d thys
);
Input
| thys: | (Input) | Pointer to the float array. |
Returns
| float***: | converted values. |
Description
Convert AjPFloat3d to float
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default constructor for empty AJAX 2D double arrays.
Synopsis
Prototype
AjPDouble2d ajDouble2dNew (
void
);
Returns
| AjPDouble2d: | Pointer to an empty double array structure |
Description
Default constructor for empty AJAX 2D double arrays.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Constructor given an initial reserved size.
Synopsis
Prototype
AjPDouble2d ajDouble2dNewL (
ajint size
);
Input
| size: | (Input) | Reserved size 1st dim |
Returns
| AjPDouble2d: | Pointer to an empty double 2d array struct of
specified size. |
Description
Constructor given an initial reserved size.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default destructor for AJAX double arrays.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
void ajDouble2dDel (
AjPDouble2d* thys
);
Output
| thys: | (Delete) | Pointer to the double array to be deleted.
The pointer is always deleted. |
Returns
Description
Default destructor for AJAX double arrays.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Retrieve an element from an AJAX 2d double array.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
double ajDouble2dGet (
const AjPDouble2d thys,
ajint elem1,
ajint elem2
);
Input
| thys: | (Input) | Pointer to the double array. |
| elem1: | (Input) | array element. |
| elem2: | (Input) | array element. |
Returns
| double: | contents of array element |
Description
Retrieve an element from an AJAX 2d double array.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Load a double 2d array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Synopsis
Prototype
AjBool ajDouble2dPut (
AjPDouble2d* thys,
ajint elem1,
ajint elem2,
double v
);
Input
| elem1: | (Input) | array element. |
| elem2: | (Input) | array element. |
| v: | (Input) | value to load. |
Output
| thys: | (Output) | Pointer to the double array. |
Returns
| AjBool: | true if any array was extended. |
Description
Load a double 2d array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Get lengths of 2d double array
Synopsis
Prototype
void ajDouble2dLen (
const AjPDouble2d thys,
ajint* len1,
ajint* len2
);
Input
| thys: | (Input) | Pointer to the double array. |
Output
| len1: | (Output) | Length of 1st dim |
| len2: | (Output) | Length of 2nd dim |
Returns
Description
Get lengths of 2d double array
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Convert AjPDouble2d to double
Synopsis
Prototype
double** ajDouble2dDouble (
const AjPDouble2d thys
);
Input
| thys: | (Input) | Pointer to the double array. |
Returns
| double**: | converted values. |
Description
Convert AjPDouble2d to double
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default constructor for empty AJAX 3D double arrays.
Synopsis
Prototype
AjPDouble3d ajDouble3dNew (
void
);
Returns
| AjPDouble3d: | Pointer to an empty double array structure |
Description
Default constructor for empty AJAX 3D double arrays.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Constructor given an initial reserved size.
Synopsis
Prototype
AjPDouble3d ajDouble3dNewL (
ajint size
);
Input
| size: | (Input) | Reserved size 1st dim |
Returns
| AjPDouble3d: | Pointer to an empty double 3d array struct of
specified size. |
Description
Constructor given an initial reserved size.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default destructor for AJAX double arrays.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
void ajDouble3dDel (
AjPDouble3d* thys
);
Output
| thys: | (Delete) | Pointer to the double array to be deleted.
The pointer is always deleted. |
Returns
Description
Default destructor for AJAX double arrays.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Retrieve an element from an AJAX 3d double array.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
double ajDouble3dGet (
const AjPDouble3d thys,
ajint elem1,
ajint elem2,
ajint elem3
);
Input
| thys: | (Input) | Pointer to the double array. |
| elem1: | (Input) | array element. |
| elem2: | (Input) | array element. |
| elem3: | (Input) | array element. |
Returns
| double: | contents of array element |
Description
Retrieve an element from an AJAX 3d double array.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Load a double 3d array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Synopsis
Prototype
AjBool ajDouble3dPut (
AjPDouble3d* thys,
ajint elem1,
ajint elem2,
ajint elem3,
double v
);
Input
| elem1: | (Input) | array element. |
| elem2: | (Input) | array element. |
| elem3: | (Input) | array element. |
| v: | (Input) | value to load. |
Output
| thys: | (Output) | Pointer to the double array. |
Returns
| AjBool: | true if any array was extended. |
Description
Load a double 3d array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Get lengths of 3d double array
Synopsis
Prototype
void ajDouble3dLen (
const AjPDouble3d thys,
ajint* len1,
ajint* len2,
ajint* len3
);
Input
| thys: | (Input) | Pointer to the double array. |
Output
| len1: | (Output) | Length of 1st dim |
| len2: | (Output) | Length of 2nd dim |
| len3: | (Output) | Length of 3rd dim |
Returns
Description
Get lengths of 3d double array
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Convert AjPDouble3d to double
Synopsis
Prototype
double*** ajDouble3dDouble (
const AjPDouble3d thys
);
Input
| thys: | (Input) | Pointer to the double array. |
Returns
| double***: | converted values. |
Description
Convert AjPDouble3d to double
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default constructor for empty AJAX 2D short arrays.
Synopsis
Prototype
AjPShort2d ajShort2dNew (
void
);
Returns
| AjPShort2d: | Pointer to an empty short array structure |
Description
Default constructor for empty AJAX 2D short arrays.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Constructor given an initial reserved size.
Synopsis
Prototype
AjPShort2d ajShort2dNewL (
ajint size
);
Input
| size: | (Input) | Reserved size 1st dim |
Returns
| AjPShort2d: | Pointer to an empty short 2d array struct of
specified size. |
Description
Constructor given an initial reserved size.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default destructor for AJAX short arrays.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
void ajShort2dDel (
AjPShort2d* thys
);
Output
| thys: | (Delete) | Pointer to the short array to be deleted.
The pointer is always deleted. |
Returns
Description
Default destructor for AJAX short arrays.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Retrieve an element from an AJAX 2d short array.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
short ajShort2dGet (
const AjPShort2d thys,
ajint elem1,
ajint elem2
);
Input
| thys: | (Input) | Pointer to the short array. |
| elem1: | (Input) | array element. |
| elem2: | (Input) | array element. |
Returns
| short: | contents of array element |
Description
Retrieve an element from an AJAX 2d short array.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Load a short 2d array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Synopsis
Prototype
AjBool ajShort2dPut (
AjPShort2d* thys,
ajint elem1,
ajint elem2,
short v
);
Input
| elem1: | (Input) | array element. |
| elem2: | (Input) | array element. |
| v: | (Input) | value to load. |
Output
| thys: | (Output) | Pointer to the short array. |
Returns
| AjBool: | true if any array was extended. |
Description
Load a short 2d array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Get lengths of 2d short array
Synopsis
Prototype
void ajShort2dLen (
const AjPShort2d thys,
ajint* len1,
ajint* len2
);
Input
| thys: | (Input) | Pointer to the short array. |
Output
| len1: | (Output) | Length of 1st dim |
| len2: | (Output) | Length of 2nd dim |
Returns
Description
Get lengths of 2d short array
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Convert AjPShort2d to short
Synopsis
Prototype
short** ajShort2dShort (
const AjPShort2d thys
);
Input
| thys: | (Input) | Pointer to the short array. |
Returns
Description
Convert AjPShort2d to short
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default constructor for empty AJAX 3D short arrays.
Synopsis
Prototype
AjPShort3d ajShort3dNew (
void
);
Returns
| AjPShort3d: | Pointer to an empty short array structure |
Description
Default constructor for empty AJAX 3D short arrays.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Constructor given an initial reserved size.
Synopsis
Prototype
AjPShort3d ajShort3dNewL (
ajint size
);
Input
| size: | (Input) | Reserved size 1st dim |
Returns
| AjPShort3d: | Pointer to an empty short 3d array struct of
specified size. |
Description
Constructor given an initial reserved size.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default destructor for AJAX short arrays.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
void ajShort3dDel (
AjPShort3d* thys
);
Output
| thys: | (Delete) | Pointer to the short array to be deleted.
The pointer is always deleted. |
Returns
Description
Default destructor for AJAX short arrays.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Retrieve an element from an AJAX 3d short array.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
short ajShort3dGet (
const AjPShort3d thys,
ajint elem1,
ajint elem2,
ajint elem3
);
Input
| thys: | (Input) | Pointer to the short array. |
| elem1: | (Input) | array element. |
| elem2: | (Input) | array element. |
| elem3: | (Input) | array element. |
Returns
| short: | contents of array element |
Description
Retrieve an element from an AJAX 3d short array.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Load a short 3d array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Synopsis
Prototype
AjBool ajShort3dPut (
AjPShort3d* thys,
ajint elem1,
ajint elem2,
ajint elem3,
short v
);
Input
| elem1: | (Input) | array element. |
| elem2: | (Input) | array element. |
| elem3: | (Input) | array element. |
| v: | (Input) | value to load. |
Output
| thys: | (Output) | Pointer to the short array. |
Returns
| AjBool: | true if any array was extended. |
Description
Load a short 3d array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Get lengths of 3d short array
Synopsis
Prototype
void ajShort3dLen (
const AjPShort3d thys,
ajint* len1,
ajint* len2,
ajint* len3
);
Input
| thys: | (Input) | Pointer to the short array. |
Output
| len1: | (Output) | Length of 1st dim |
| len2: | (Output) | Length of 2nd dim |
| len3: | (Output) | Length of 3rd dim |
Returns
Description
Get lengths of 3d short array
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Convert AjPShort3d to short
Synopsis
Prototype
short*** ajShort3dShort (
const AjPShort3d thys
);
Input
| thys: | (Input) | Pointer to the short array. |
Returns
| short***: | converted values. |
Description
Convert AjPShort3d to short
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default constructor for empty AJAX 2D ajlong arrays.
Synopsis
Prototype
AjPLong2d ajLong2dNew (
void
);
Returns
| AjPLong2d: | Pointer to an empty ajlong array structure |
Description
Default constructor for empty AJAX 2D ajlong arrays.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Constructor given an initial reserved size.
Synopsis
Prototype
AjPLong2d ajLong2dNewL (
ajint size
);
Input
| size: | (Input) | Reserved size 1st dim |
Returns
| AjPLong2d: | Pointer to an empty ajlong 2d array struct of
specified size. |
Description
Constructor given an initial reserved size.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default destructor for AJAX ajlong arrays.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
void ajLong2dDel (
AjPLong2d* thys
);
Output
| thys: | (Delete) | Pointer to the ajlong array to be deleted.
The pointer is always deleted. |
Returns
Description
Default destructor for AJAX ajlong arrays.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Retrieve an element from an AJAX 2d ajlong array.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
ajlong ajLong2dGet (
const AjPLong2d thys,
ajint elem1,
ajint elem2
);
Input
| thys: | (Input) | Pointer to the ajlong array. |
| elem1: | (Input) | array element. |
| elem2: | (Input) | array element. |
Returns
| ajlong: | contents of array element |
Description
Retrieve an element from an AJAX 2d ajlong array.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Load a ajlong 2d array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Synopsis
Prototype
AjBool ajLong2dPut (
AjPLong2d* thys,
ajint elem1,
ajint elem2,
ajlong v
);
Input
| elem1: | (Input) | array element. |
| elem2: | (Input) | array element. |
| v: | (Input) | value to load. |
Output
| thys: | (Output) | Pointer to the ajlong array. |
Returns
| AjBool: | true if any array was extended. |
Description
Load a ajlong 2d array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Get lengths of 2d ajlong array
Synopsis
Prototype
void ajLong2dLen (
const AjPLong2d thys,
ajint* len1,
ajint* len2
);
Input
| thys: | (Input) | Pointer to the ajlong array. |
Output
| len1: | (Output) | Length of 1st dim |
| len2: | (Output) | Length of 2nd dim |
Returns
Description
Get lengths of 2d ajlong array
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Convert AjPLong2d to ajlong
Synopsis
Prototype
ajlong** ajLong2dLong (
const AjPLong2d thys
);
Input
| thys: | (Input) | Pointer to the ajlong array. |
Returns
| ajlong**: | converted values. |
Description
Convert AjPLong2d to ajlong
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default constructor for empty AJAX 3D ajlong arrays.
Synopsis
Prototype
AjPLong3d ajLong3dNew (
void
);
Returns
| AjPLong3d: | Pointer to an empty ajlong array structure |
Description
Default constructor for empty AJAX 3D ajlong arrays.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Constructor given an initial reserved size.
Synopsis
Prototype
AjPLong3d ajLong3dNewL (
ajint size
);
Input
| size: | (Input) | Reserved size 1st dim |
Returns
| AjPLong3d: | Pointer to an empty ajlong 3d array struct of
specified size. |
Description
Constructor given an initial reserved size.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Default destructor for AJAX ajlong arrays.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
void ajLong3dDel (
AjPLong3d* thys
);
Output
| thys: | (Delete) | Pointer to the ajlong array to be deleted.
The pointer is always deleted. |
Returns
Description
Default destructor for AJAX ajlong arrays.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Retrieve an element from an AJAX 3d ajlong array.
If the given array is a NULL pointer, simply returns.
Synopsis
Prototype
ajlong ajLong3dGet (
const AjPLong3d thys,
ajint elem1,
ajint elem2,
ajint elem3
);
Input
| thys: | (Input) | Pointer to the ajlong array. |
| elem1: | (Input) | array element. |
| elem2: | (Input) | array element. |
| elem3: | (Input) | array element. |
Returns
| ajlong: | contents of array element |
Description
Retrieve an element from an AJAX 3d ajlong array.
If the given array is a NULL pointer, simply returns.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Load a ajlong 3d array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Synopsis
Prototype
AjBool ajLong3dPut (
AjPLong3d* thys,
ajint elem1,
ajint elem2,
ajint elem3,
ajlong v
);
Input
| elem1: | (Input) | array element. |
| elem2: | (Input) | array element. |
| elem3: | (Input) | array element. |
| v: | (Input) | value to load. |
Output
| thys: | (Output) | Pointer to the ajlong array. |
Returns
| AjBool: | true if any array was extended. |
Description
Load a ajlong 3d array element.
If the given array is a NULL pointer an error is generated.
If the array is of insufficient size then the array is extended.
Negative indices generate an error.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Get lengths of 3d ajlong array
Synopsis
Prototype
void ajLong3dLen (
const AjPLong3d thys,
ajint* len1,
ajint* len2,
ajint* len3
);
Input
| thys: | (Input) | Pointer to the ajlong array. |
Output
| len1: | (Output) | Length of 1st dim |
| len2: | (Output) | Length of 2nd dim |
| len3: | (Output) | Length of 3rd dim |
Returns
Description
Get lengths of 3d ajlong array
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Convert AjPLong3d to ajlong
Synopsis
Prototype
ajlong*** ajLong3dLong (
const AjPLong3d thys
);
Input
| thys: | (Input) | Pointer to the ajlong array. |
Returns
| ajlong***: | converted values. |
Description
Convert AjPLong3d to ajlong
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Cleanup of array handling internals, and debug report of memory use
Synopsis
Prototype
void ajArrExit (
void
);
Returns
Description
Cleanup of array handling internals, and debug report of memory use
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0