Package hec.hecmath
Class TextMath
java.lang.Object
hec.hecmath.HecMath
hec.hecmath.TextMath
- All Implemented Interfaces:
Constants
-
Field Summary
Fields inherited from class hec.hecmath.HecMath
_curveNumber, _dc, _dssPath, ABS, ADD, COS, DIVIDE, EXPONENTIATION, INVERSE, LOG, LOG10, MULTIPLY, ROUND, SIN, SQRT, SUBTRACT, TAN, TRUNCATEFields inherited from interface hec.script.Constants
FALSE, ITS_DELETE_INSERT, ITS_MERGE, RTS_REPLACE_ALL, RTS_REPLACE_ALL_CREATE, RTS_REPLACE_ALL_DELETE, RTS_REPLACE_MISSING_VALUES_ONLY, RTS_REPLACE_WITH_NON_MISSING, TRUE, UNDEFINED, UNDEFINED_DOUBLE, UNDEFINED_FLOAT, UNDEFINED_INT, UNDEFINED_LONG, UNDEFINED_TIME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancopy()getData()Copy the current DataContainer data in the HecMath object intocontainer.voidgetData(DataContainer container) Copy the current DataContainer data in the HecMath object intocontainer.getText()booleanbooleanisMetric()voidsetData(DataContainer container) Set the DataContainer data for the current HecMath object.voidvoidtoString()Methods inherited from class hec.hecmath.HecMath
abs, accumulation, add, add, applyMultipleLinearRegression, bisearch, bisearch, centeredMovingAverage, checkContainer, conicInterpolation, convertToIrregular, correlationCoefficients, cos, createInstance, createInstance, cyclicAnalysis, decayingBasinWetnessParameter, divide, divide, durationAnalysis, durationAnalysis, durationAnalysis, durationAnalysis, estimateForMissingPrecipValues, estimateForMissingValues, exponentiation, extractTimeSeriesDataForTimeSpecification, flowAccumulatorGageProcessor, forwardMovingAverage, generateDataPairs, generateDataPairs, generatePairedData, generateRegularIntervalTimeSeries, generateRegularIntervalTimeSeries, generateRegularIntervalTimeSeries, getFunctionName, getPath, getSelectedCurve, getStandardUnits, getUnits, hunt, interpolateDataAtRegularInterval, inverse, isMissing, isValid, isValid, kurtosisCoefficient, lastValidDate, lastValidValue, log, log10, max, maxDate, mean, med, mergePairedDataSets, mergeTimeSeries, min, minDate, mode, modifiedPulsRouting, multipleLinearRegression, multipleRegression, multiply, multiply, muskingumRouting, numberMissingValues, numberValidValues, olympicSmoothing, p1, p10, p2, p20, p25, p5, p75, p80, p90, p95, p98, p99, periodConstants, polynomialTransformation, polynomialTransformationWithIntegral, ratingTableInterpolation, replaceSpecificValues, replaceValuesInRange, reverseRatingTableInterpolation, round, roundOff, roundOffValue, screenWithForwardMovingAverage, screenWithMaxMin, screenWithMaxMin, setCurve, setCurve, setDPart, setEPart, setLocation, setParameterPart, setPathname, setTimeInterval, setVersion, setWatershed, shiftAdjustment, shiftInTime, sin, skewCoefficient, snapToRegularInterval, sqrt, standardDeviation, standardNormalDeviate, straddleStaggerRouting, subtract, subtract, successiveDifferences, sum, tan, timeDerivative, transformTimeSeries, transformTimeSeries, transformTimeSeries, transformTimeSeries, transformWithFunction, truncate, twoVariableRatingTableInterpolation
-
Constructor Details
-
TextMath
public TextMath() -
TextMath
- Throws:
HecMathException
-
-
Method Details
-
setText
- Throws:
HecMathException
-
getText
-
setData
Description copied from class:HecMathSet the DataContainer data for the current HecMath object. The current HecMath will use a copy ofcontainer.- Specified by:
setDatain classHecMath- Parameters:
container- The DataContainer data to be used by this HecMath object.- Throws:
HecMathException- ifcontaineris null or not the correct type of DataContainer.
-
getData
Description copied from class:HecMathCopy the current DataContainer data in the HecMath object intocontainer.- Specified by:
getDatain classHecMath- Parameters:
container- The TimeSeriesContainer to receive the copy of data from this time series.- Throws:
HecMathException
-
getData
Description copied from class:HecMathCopy the current DataContainer data in the HecMath object intocontainer.- Specified by:
getDatain classHecMath- Returns:
- a copy of the DataContainer held in the current HecMath object.
- Throws:
HecMathException
-
getContainer
-
toString
-
convertToEnglishUnits
- Specified by:
convertToEnglishUnitsin classHecMath- Throws:
HecMathException
-
convertToMetricUnits
- Specified by:
convertToMetricUnitsin classHecMath- Throws:
HecMathException
-
isMetric
- Specified by:
isMetricin classHecMath- Throws:
HecMathException
-
isEnglish
- Specified by:
isEnglishin classHecMath- Throws:
HecMathException
-
canDetermineUnitSystem
public boolean canDetermineUnitSystem()- Specified by:
canDetermineUnitSystemin classHecMath
-
setUnits
-
copy
- Specified by:
copyin classHecMath- Throws:
HecMathException
-