|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IM > IMathOp Interface > IMathOp.Ln Method (ArcObjects .NET 10.4 SDK) | 
Calculates the natural logarithm (base e) of cells in a raster.
[Visual Basic .NET] Public Function Ln ( _ ByVal geoDataset As IGeoDataset _ ) As IGeoDataset
[C#] public IGeoDataset Ln ( IGeoDataset geoDataset );
[C++]
HRESULT Ln(
  IGeoDataset* geoDataset,
  IGeoDataset** outGeodataset
);
[C++]
Parameters geoDataset [in]
geoDataset is a parameter of type IGeoDataset outGeodataset [out, retval]
outGeodataset is a parameter of type IGeoDataset
| geoDataset | an input Raster, RasterDataset, RasterBand, or RasterDescriptor |