Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  Libraries  >  Daithi  >  INTERVAL_CALC

INTERVAL_CALC

INTERVAL_CALC

Name


INTERVAL_CALC

Purpose


This function calculates a convenient maximum value for a data
set.

Category


Array

Calling Sequence


Result = INTERVAL_CALC( Data )

Inputs


Data: The input data array.

Keyword Parameters


ABSOLUTE: If set, the function returns the convenient maximum
absolute value for Data. The default is the maximum
value.
EVEN: If set, the function returns the an even maximum value
(or the highest significant digit is even if < 1). The
default is to return a convenient maximum value.

Output


Result: The convenient maximum value of the values in Data.

Uses


ODD.pro
VAR_TYPE.pro

Procedure


This function works recursively to find a convenient maximum
value for the data set.

Example


Create a vector.
x = [12,13,8]
Calculate a convenient maximum value (20).
result = interval_calc( x )

Modification History


  Written by: Daithi A. Stone, 2000-08-23.
Modified: DAS, 2001-01-11 (fixed EVEN keyword bug).



© 2018 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us