CalcTree Help Pages
  • What is CalcTree?
  • Getting started
    • CalcTree Pages
    • Create a CalcTree Page
    • Add a calculation
    • Collaborate with a colleague
  • Calculations
    • Parameters
      • Math formulas
        • Parameter Data Types
        • Native Functions
          • Arithmetic Functions
          • Trigonometric Functions
          • Logical & Comparison Functions
          • Matrix & Vector Functions
          • Probability & Combinatorics Functions
          • Statistical Functions
          • String Functions
          • Utility Functions
          • Other Native Functions
        • Valid Expression Syntax
      • Supported Units
      • Dropdown List Parameters
        • Linking CSV Data to Dependent Dropdowns in CalcTree
      • Parameter Settings
    • Integrations
      • Python in CalcTree
        • Adding a Python Source
        • Defining Parameters in Python
        • Referencing Other Parameters in Python
        • Working with Units in Python
        • Creating Tables and Visuals in Python
        • Consuming Files in Python
        • Using Pre-installed Python Libraries
      • Spreadsheets [Coming Soon!]
      • File Upload
        • CSV files
      • 3rd Party Software Plugins
        • Excel
        • Grasshopper
        • ETABS [v20 & v21]
        • ETABS [v22]
        • SAP 2000
        • CSI Bridge [v26]
    • Templates [Coming Soon!]
    • Optimising your calculations
  • Pages & Reports
    • CalcTree Documents
    • Static content
    • Parametric content
      • Parametric equation
      • Inputs
      • Outputs
  • Export to PDF
  • API
    • GraphQL API
      • Generating an API key
      • Queries
        • GetCalculation
        • Calculate
      • Examples
        • Bulk calculations with Python
  • Collaborate
    • Add members
    • Review and approval
    • Add stakeholders
  • Administrate
    • CalcTree Workspace
    • Versioning and Audit trail
  • CalcTree for System Administrators
Powered by GitBook
On this page
  • Using These Functions
  • Full Function Reference
  1. Calculations
  2. Parameters
  3. Math formulas
  4. Native Functions

Other Native Functions

PreviousUtility FunctionsNextValid Expression Syntax

Last updated 1 day ago

In addition to the core function categories listed in this help guide (e.g. Arithmetic, Matrix, Trigonometry), CalcTree also supports a range of less commonly used but still powerful functions from the that powers all page calculations.

These include:

  • (e.g. simplify(), derivative())

  • (e.g. re(x), im(x), conj(x))

  • (e.g. distance(), intersect())

  • (e.g. setUnion(), setIntersect())

  • (e.g. freqz(), zpk2tf())

  • (e.g. erf(), zeta())

These functions are available within CalcTree’s MathJS-based expression engine, but have not been explicitly tested or verified in our environment. You may encounter unexpected behavior or partial support in some cases.

Need help or find an issue? Reach out to contact@calctree.com — we’re happy to assist or log any unsupported behavior for future improvements.

Using These Functions

You can use them just like any other native function. For example:

re(3 + 4i)      // → 3
setUnion([1, 2], [2, 3])  // → [1, 2, 3]

Note: Even though the underlying engine uses math.functionName() syntax, you should just use functionName() directly in CalcTree (e.g., abs(x), not math.abs(x)).

Full Function Reference

For a complete list of available functions, see the . Nearly all functions listed there are available in CalcTree unless noted otherwise in this guide.

📘 Looking for more functions? CalcTree’s expression engine is powered by . For a full list of available functions, visit the . Most functions listed there are supported in CalcTree unless otherwise noted.

MathJS engine
Algebraic functions
Complex number functions
Geometry functions
Set operations
Signal processing
Special math functions
MathJS function reference
MathJS
MathJS Function Reference