This document is archived and information here might be outdated.  Recommended version.


IMathOp Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (SpatialAnalyst)  

IMathOp Interface

Provides access to members that control the mathematical operations.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Spatial Analyst Extension.

Members

Description
Method Abs Calculates the absolute value of cells in a raster.
Method Divide Divides the values of two inputs.
Method Exp Calculates the base e exponential of cells in a raster.
Method Exp10 Calculates the base 10 exponential of cells in a raster.
Method Exp2 Calculates the base 2 exponential of cells in a raster.
Method Float Converts a raster into floating point representation.
Method Int Converts a raster to integer by truncation.
Method Ln Calculates the natural logarithm (base e) of cells in a raster.
Method Log10 Calculates the base 10 logarithm of cells in a raster.
Method Log2 Calculates the base 2 logarithm of cells in a raster.
Method Minus Subtracts the values of two inputs.
Method Mod Finds the remainder of the first input when divided by the second.
Method Negate Changes the sign of the input raster (multiplies by -1).
Method Plus Adds the values of two inputs.
Method Power Raises the cells in a raster to the Nth power.
Method PowerByCellValue Raises the cells in a raster to the power of values found in another raster.
Method RoundDown Returns the next lower whole number for each cell in a raster.
Method RoundUp Returns the next higher whole number for each cell in a raster.
Method Square Calculates the square of cells in a raster.
Method SquareRoot Calculates the square root of cells in a raster.
Method Times Multiplies the values of two inputs.

CoClasses that implement IMathOp

CoClasses and Classes Description
RasterMathOps A mechanism for performing mathematical operations on rasters.

Remarks