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


IMathOp.Power Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IM > IMathOp Interface > IMathOp.Power Method
ArcGIS Developer Help

IMathOp.Power Method

Raises the cells in a raster to the Nth power.

[Visual Basic .NET]
Public Function Power ( _
    ByVal geoDataset As IGeoDataset, _
    ByVal Power As Double _
) As IGeoDataset
[C#]
public IGeoDataset Power (
    IGeoDataset geoDataset,
    double Power
);
[C++]
HRESULT Power(
  IGeoDataset* geoDataset,
  double Power
);
[C++]
Parameters
geoDataset [in]

geoDataset is a parameter of type IGeoDataset* Power [in]
Power is a parameter of type double

Product Availability

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

Remarks

geoDataset

an input Raster, RasterDataset, RasterBand, or RasterDescriptor

Power

defines the power to which to raise the input

 

See Also

IMathOp Interface