mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-10 20:27:21 +00:00
Added the Mathematics tools as a prototype (#1162)
This commit is contained in:
1 parent
ce846e540e
commit
9c98bdae86
49 files changed
+4373
-11
No files matched your search
@@ -0,0 +1,14 @@
|
||||
using AngouriMath;
|
||||
|
||||
namespace AIStudio.Tools.Mathematics;
|
||||
|
||||
/// <summary>
|
||||
/// The value of an expression without variables, with as many digits as the computation vouches for.
|
||||
/// </summary>
|
||||
/// <param name="Exact">The exact value when it is rational, or complex with rational parts; otherwise null.</param>
|
||||
/// <param name="Value">The value at the working precision, before it is rounded to its digits.</param>
|
||||
/// <param name="Digits">How many significant digits of the value are certain; zero when none is.</param>
|
||||
/// <param name="Approximate">Whether a part of the value was integrated numerically.</param>
|
||||
/// <param name="EstimatedError">The estimated absolute error of an approximate value; null for any other.</param>
|
||||
/// <param name="Issues">What the model has to know about the value.</param>
|
||||
public sealed record NumericValue(Entity.Number? Exact, Entity.Number.Complex Value, int Digits, bool Approximate, double? EstimatedError, IReadOnlyList<string> Issues);
|
||||
Reference in new issue
Block a user