AngouriMath

Navigation

← Back to list of members

Abs​(AngouriMath.​Entity)

 Method (no overloads)

Summary

https://en.wikipedia.org/wiki/Absolute_value

Parameter "a"

Argument node of which Abs function will be taken

Returns

Abs node

Example

using System;
using static AngouriMath.MathS;
Console.WriteLine(Abs(-5));
Console.WriteLine(Abs(-5).Evaled);
Console.WriteLine(Abs(0));
Console.WriteLine(Abs(0).Evaled);
Console.WriteLine(Abs(5));
Console.WriteLine(Abs(5).Evaled);
Console.WriteLine(Abs(4 + 3 * i));
Console.WriteLine(Abs(4 + 3 * i).Evaled);

Prints
abs(-5)
5
abs(0)
0
abs(5)
5
abs(4 + 3i)
5

























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