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


IMathOp.Power Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (SpatialAnalyst)  

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,
  IGeoDataset** outGeodataset
);
[C++]

Parameters geoDataset [in]
geoDataset is a parameter of type IGeoDataset Power [in] Power is a parameter of type double outGeodataset [out, retval]
outGeodataset is a parameter of type IGeoDataset

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