>  Docs Center  >  Libraries  >  Motley  >  MGH_RECIPROCAL_POSITIVE

MGH_RECIPROCAL_POSITIVE

MGH_RECIPROCAL_POSITIVE

Name


  MGH_RECIPROCAL_POSITIVE

Purpose


  A function like MGH_RECIPROCAL, intended for use with the
  DATA_TRANSFORMATION keyword of various graphics routines to produce
  plots of the reciprocal of a variable, but intended specifically
  to handle (ie. ignore) zeroes or negative values in data
  that should be positive definite.

Calling Sequence


  result = mgh_reciprocal_positive(value)

Positional Parameters


  value (input, numeric scalar or array)
    The number(s) whose reciprocal is to be determined.

Return Value


  The reciprocal of the input, with the input clipped at the floating point
  EPS value.
###########################################################################
  Copyright (c) 2014 NIWA:
  http://www.niwa.co.nz/
  Licensed under the MIT open source license:
  http://www.opensource.org/licenses/mit-license.php
###########################################################################

Modification History


  Mark Hadfield, 2014-07:
    Written.



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