MathTools
Namespace: Wisej.AI.Tools
Assembly: Wisej.AI
Provides mathematical tools and utilities for evaluating expressions.
- C#
- VB.NET
public class MathTools : ToolsContainer
Public Class MathTools
Inherits ToolsContainer
This class is part of the ToolsContainer and offers methods to perform mathematical operations.
Constructors
MathTools()
Initializes a new instance of the MathTools class.
Methods
evaluate_expression(expression)
Evaluates a mathematical expression asynchronously.
| Parameter | Type | Description |
|---|---|---|
| expression | String | The mathematical expression to evaluate. |
Returns: Task<Object>. A task that represents the asynchronous operation. The task result contains the evaluated result of the expression.
This method uses the browser's evaluation engine to compute the result of the given expression.
Implements
| Name | Description |
|---|---|
| IToolsContainer | Represents a container for tools, providing access to a hub, adapter, and a collection of parameters. |