Core Utility
Complex Mathematics Engine icon

Complex Mathematics Engine

Available ActionsEach successful request consumes credits as outlined below.

calculate5cr

Description

A universal math engine that intelligently executes mathematical and scientific expressions. An agent can submit a single expression string to solve a wide range of problems without needing to select a specific engine, ranging from simple arithmetic to advanced symbolic mathematics, numerical array operations, and scientific computing. It integrates three powerful computation backends: SymPy for symbolic mathematics including differentiation, integration, limits, series expansions, equation solving, and algebraic simplification; NumPy for numerical operations on arrays and matrices including linear algebra, element-wise operations, and statistical aggregations; and SciPy for scientific computing including probability distributions, optimization, curve fitting, special functions, and numerical integration. The engine automatically detects the appropriate back end based on expression syntax, or users can specify a preferred engine explicitly. Expressions support intuitive syntax including Unicode math symbols like π, ∞, and √ which are automatically converted, as well as caret notation for exponentiation. Symbolic results preserve variables and can be further manipulated, while numerical results are returned as JSON-serializable values with full precision. Built-in security validation prevents code injection while allowing access to a comprehensive library of mathematical functions. Results include execution timing, the engine used, and metadata about the computation including detected variables for symbolic expressions.