Back to Adaptive Vision Library website
You are here: Start » Function Reference » Math » Logarithm
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Computes the logarithm of a number in a given base.
Syntax
void avl::Logarithm ( const float inBase, const float inValue, float& outLogarithm )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inBase | const float | 0.0 - | 2.0f | ||
inValue | const float | 0.0 - | 1.0f | ||
outLogarithm | float& |
Errors
Error type | Description |
---|---|
DomainError | Nonpositive number in RealLogarithm |
DomainError | Nonpositive base in RealLogarithm |
DomainError | Base equal 1 in RealLogarithm |