Math
Functions
Math functions are accessible through the general class called HecMath.
HecMath objects hold data sets and allow you to perform mathematical operations on
them. They can also be passed to plots and tables to display the data. A HecMath
object is either a TimeSeriesMath object or a PairedDataMath object, which handle time
series and paired data sets, respectively.
Before using PairedDataMath methods, be sure to read the description for the setCurve Method. Paired data sets may contain multiple curves. The setCurve method provides user control over which paired data curve is operated upon by subsequent function calls.
More:
Arccosine Trigonometric Function
Apply Multiple Linear Regression Equation
Arcsine
Trigonometric Function
Arctangent Trigonometric Function
Centered Moving Average Smoothing
Conic Interpolation from Elevation/Area
Table
Convert
Values to English Units
Convert
Values to Metric (SI) Units
Decaying Basin Wetness Parameter
Estimate Values for Missing Precipitation
Data
Estimate Values for Missing Data
Exponentiation Timeseries Function
Extract Time Series Data at
Unique Time Specification
Flow Accumulator Gage (Compute Period
Average Flows)
Modulo Function with both
arguments are greater than zero
Forward
Moving Average Smoothing
Forward Moving Average Smoothing of time
series
Generate Data Pairs from Two Time Series
Generate a Regular Interval Time Series
Get
Data Type for Time Series Data Set
Interpolate Time Series Data at
Regular Intervals
Determine if Data is in English Units
Determine if Data is in Metric Units
Determine if Computation Stable for Given Muskingum Routing Parameters
Last
Valid Value's Date and Time
Last
Valid Value in a Time Series
Natural
Log, Base "e" Function
Maximum
Value in a Time Series
Maximum
Value in a Time Series
Merge
Two Time Series Data Sets
Minimum
Value in a Time Series
Minimum
Value in a Time Series
Modified Puls or Working R&D Routing Function
Multiple Linear Regression Coefficients
Muskingum Hydrologic Routing Function
Number of Invalid Values in a Time Series
Number of Missing Values in a Time Series
Number of Questioned Values in a Time Series
Number of Rejected Values in a Time Series
Number
of Valid Values in a Time Series
Polynomial Transformation with Integral
Reverse
Rating Table Interpolation
Round
Off to Specified Precision
Screen for Erroneous Values Based on
Constant Value
Screen for Erroneous Values
Based on Duration Magnitude
Screen for Erroneous Values
Based on Forward Moving Average
Screen for Erroneous Values
Based on Forward Moving Average
Screen for Erroneous Values
Based on Maximum/Minimum Range
Screen for Erroneous Values
Based on Maximum/Minimum Range
Screen for Erroneous Values
Based on Maximum/Minimum Range
Screen for Erroneous Values
Based on Maximum/Minimum Range
Screen for Erroneous Values Based on
Rate of Change
Select a Paired Data Curve by Curve Label
Select a Paired Data Curve by Curve Number
Set
Location Name for Data Set
Set
Time Interval for Data Set
Set
Data Type for Time Series Data Set
Set
Watershed Name for Data Set
Shift
Adjustment of Time Series Data
Snap Irregular Times to Nearest Regular
Period
Standard Deviation of Time Series
Standard Deviation of Time Series
Straddle Stagger Hydrologic Routing
Successive Differences for Time Series
Tangent
Trigonometric Function
Time Derivative (Difference Per Unit Time)
Transform Time Series to Regular Interval
Transform Time Series to Irregular Interval