nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Math.Lambda / MakeSimplify

MakeSimplify

Full name Microsoft.VisualBasic.Math.Lambda.Symbolic.MakeSimplify Assembly Microsoft.VisualBasic.Math.Lambda Members 3

01 Syntax

Microsoft.VisualBasic.Math.Lambda.Symbolic.MakeSimplify

02 Methods

NameOverloadsSummary
simplifyExpr 1 Entry point used by the public Symbolic API.
simplifyRaw 1 Pure algebraic simplification without any (auto) factorisation.
foldSpecialSquare 1 If baseExpr is sqrt(y) raised to an even integer power n, return the simplified factor y ^ (n / 2).

03 Members

method simplifyExpr #
simplifyExpr(Expression)

Entry point used by the public Symbolic API. Returns a simplified copy of the expression.

method simplifyRaw #
simplifyRaw(Expression)

Pure algebraic simplification without any (auto) factorisation. Used by the rationalisation and polynomial modules so that a factorisation step inside Symbolic.Simplify() cannot recurse back into Polynomial.Factor() and cause an infinite loop.

method foldSpecialSquare #
foldSpecialSquare(Expression, Double)

If baseExpr is sqrt(y) raised to an even integer power n, return the simplified factor y ^ (n / 2). If it is the imaginary unit i squared, return -1. Otherwise return Nothing. These folds let the rationalisation step clear radicals and the imaginary unit from denominators.