Skip to main content

MathTools

Namespace: Wisej.AI.Tools

Assembly: Wisej.AI

Provides mathematical tools and utilities for evaluating expressions.

public class MathTools : 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.

ParameterTypeDescription
expressionStringThe 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​

NameDescription
IToolsContainerRepresents a container for tools, providing access to a hub, adapter, and a collection of parameters.