MGH_ARR_ISHOM
ROUTINE NAME:
MGH_ARR_ISHOM Purpose
Determine whether an array is homogeneous along a specified dimension.
Category
Array manipulation.
Calling Sequence
result = MGH_ARR_ISHOM(arr, dim)
Positional Parameters
a (input, array)
The arr to be tested.
d (input, integer scalar, optional)
The 1-based dimension along which homogeneity is to be
tested. Default is 1. Keyword Parameters
TOLERANCE (input, numeric scalar)
If this parameter is defined, we test for equality to within the
specified tolerance; if it is not we test for exact equality.
Return Value
The function returns a logical value (byte scalar) indicating
whether the array is homogeneous along the specified dimension.
###########################################################################
This software is provided subject to the following conditions:
1. NIWA makes no representations or warranties regarding the
accuracy of the software, the use to which the software may
be put or the results to be obtained from the use of the
software. Accordingly NIWA accepts no liability for any loss
or damage (whether direct of indirect) incurred by any person
through the use of or reliance on the software.
2. NIWA is to be acknowledged as the original author of the
software where the software is used or presented in any form.
###########################################################################
Modification History
Mark Hadfield, 2006-02:
Written.