| CMATHrLogZ Method |
Given a Z value and the Log style and Log Minimum this
function will return the log value.
Available since Oasis montaj version: 6.0.1
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
Mode = 0 (regular log mode)
Returns:
Log10(Z) for Z > minimum
Log10(minimum) for Z <= minimum
Mode = 1 (log / linear / negative log mode)
Returns:
minimum * ( log10( |Z| / minimum) + 1 ) for Z > minimum
Z for |Z| <= minimum (the linear part of the range)
-minimum * ( log10( |Z| / minimum) + 1 ) for Z < -minimum
Syntax public static double rLogZ(
double d1,
int i2,
double d3
)
Public Shared Function rLogZ (
d1 As Double,
i2 As Integer,
d3 As Double
) As Double
public:
static double rLogZ(
double d1,
int i2,
double d3
)
static member rLogZ :
d1 : float *
i2 : int *
d3 : float -> float
Parameters
- d1
- Type: SystemDouble
Z Value - i2
- Type: SystemInt32
Log Mode (0 - Log, 1 - LogLinearLog) - d3
- Type: SystemDouble
Log Minimum (must be greater than 0)
Return Value
Type:
DoubleThe Log Value.
See Also