AngouriMath

Navigation

← Back to list of members

Ln​(AngouriMath.​Entity)

 Method (no overloads)

Summary

Is a special case of logarithm where the base equals
e:
https://en.wikipedia.org/wiki/Natural_logarithm

Parameter "a"

Argument node of which natural logarithm will be taken

Returns

Logarithm node with base equal to e

Example

using System;
using static AngouriMath.MathS;
Console.WriteLine(Log(2, 16));
Console.WriteLine(Log(2, 16).Evaled);
Console.WriteLine(Log(3, 81));
Console.WriteLine(Log(3, 81).Evaled);
Console.WriteLine(Log(10, 1000));
Console.WriteLine(Log(10, 1000).Evaled);
Console.WriteLine(Log(1000));
Console.WriteLine(Log(1000).Evaled);
Console.WriteLine(Ln(e.Pow(16)));
Console.WriteLine(Ln(e.Pow(16)).Evaled);

Prints
log(2, 16)
4
log(3, 81)
4
log(10, 1000)
3
log(10, 1000)
3
ln(e ^ 16)
16

























Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 1534 pages online