Table of Contents

Class CommonFormatter

Namespace
xFunc.Maths.Analyzers.Formatters
Assembly
xFunc.Maths.dll

Converts expressions into string.

public class CommonFormatter : IFormatter, IAnalyzer<string>
Inheritance
CommonFormatter
Implements
Inherited Members

Properties

Instance

Gets the instance of CommonFormatter.

public static CommonFormatter Instance { get; }

Property Value

CommonFormatter

Methods

Analyze(Abs)

Analyzes the specified expression.

public virtual string Analyze(Abs exp)

Parameters

exp Abs

The expression.

Returns

string

The result of analysis.

Analyze(Add)

Analyzes the specified expression.

public virtual string Analyze(Add exp)

Parameters

exp Add

The expression.

Returns

string

The result of analysis.

Analyze(Assign)

Analyzes the specified expression.

public virtual string Analyze(Assign exp)

Parameters

exp Assign

The expression.

Returns

string

The result of analysis.

Analyze(CallExpression)

Analyzes the specified expression.

public virtual string Analyze(CallExpression exp)

Parameters

exp CallExpression

The expression.

Returns

string

The result of analysis.

Analyze(Ceil)

Analyzes the specified expression.

public virtual string Analyze(Ceil exp)

Parameters

exp Ceil

The expression.

Returns

string

The result of analysis.

Analyze(ComplexNumber)

Analyzes the specified expression.

public virtual string Analyze(ComplexNumber exp)

Parameters

exp ComplexNumber

The expression.

Returns

string

The result of analysis.

Analyze(Conjugate)

Analyzes the specified expression.

public virtual string Analyze(Conjugate exp)

Parameters

exp Conjugate

The expression.

Returns

string

The result of analysis.

Analyze(Im)

Analyzes the specified expression.

public virtual string Analyze(Im exp)

Parameters

exp Im

The expression.

Returns

string

The result of analysis.

Analyze(Phase)

Analyzes the specified expression.

public virtual string Analyze(Phase exp)

Parameters

exp Phase

The expression.

Returns

string

The result of analysis.

Analyze(Re)

Analyzes the specified expression.

public virtual string Analyze(Re exp)

Parameters

exp Re

The expression.

Returns

string

The result of analysis.

Analyze(Reciprocal)

Analyzes the specified expression.

public virtual string Analyze(Reciprocal exp)

Parameters

exp Reciprocal

The expression.

Returns

string

The result of analysis.

Analyze(ToComplex)

Analyzes the specified expression.

public virtual string Analyze(ToComplex exp)

Parameters

exp ToComplex

The expression.

Returns

string

The result of analysis.

Analyze(Curry)

Analyzes the specified expression.

public virtual string Analyze(Curry exp)

Parameters

exp Curry

The expression.

Returns

string

The result of analysis.

Analyze(Del)

Analyzes the specified expression.

public virtual string Analyze(Del exp)

Parameters

exp Del

The expression.

Returns

string

The result of analysis.

Analyze(DelegateExpression)

Analyzes the specified expression.

public virtual string Analyze(DelegateExpression exp)

Parameters

exp DelegateExpression

The expression.

Returns

string

The result of analysis.

Analyze(Derivative)

Analyzes the specified expression.

public virtual string Analyze(Derivative exp)

Parameters

exp Derivative

The expression.

Returns

string

The result of analysis.

Analyze(Div)

Analyzes the specified expression.

public virtual string Analyze(Div exp)

Parameters

exp Div

The expression.

Returns

string

The result of analysis.

Analyze(Exp)

Analyzes the specified expression.

public virtual string Analyze(Exp exp)

Parameters

exp Exp

The expression.

Returns

string

The result of analysis.

Analyze(Fact)

Analyzes the specified expression.

public virtual string Analyze(Fact exp)

Parameters

exp Fact

The expression.

Returns

string

The result of analysis.

Analyze(Floor)

Analyzes the specified expression.

public virtual string Analyze(Floor exp)

Parameters

exp Floor

The expression.

Returns

string

The result of analysis.

Analyze(Frac)

Analyzes the specified expression.

public virtual string Analyze(Frac exp)

Parameters

exp Frac

The expression.

Returns

string

The result of analysis.

Analyze(GCD)

Analyzes the specified expression.

public virtual string Analyze(GCD exp)

Parameters

exp GCD

The expression.

Returns

string

The result of analysis.

Analyze(Arcosh)

Analyzes the specified expression.

public virtual string Analyze(Arcosh exp)

Parameters

exp Arcosh

The expression.

Returns

string

The result of analysis.

Analyze(Arcoth)

Analyzes the specified expression.

public virtual string Analyze(Arcoth exp)

Parameters

exp Arcoth

The expression.

Returns

string

The result of analysis.

Analyze(Arcsch)

Analyzes the specified expression.

public virtual string Analyze(Arcsch exp)

Parameters

exp Arcsch

The expression.

Returns

string

The result of analysis.

Analyze(Arsech)

Analyzes the specified expression.

public virtual string Analyze(Arsech exp)

Parameters

exp Arsech

The expression.

Returns

string

The result of analysis.

Analyze(Arsinh)

Analyzes the specified expression.

public virtual string Analyze(Arsinh exp)

Parameters

exp Arsinh

The expression.

Returns

string

The result of analysis.

Analyze(Artanh)

Analyzes the specified expression.

public virtual string Analyze(Artanh exp)

Parameters

exp Artanh

The expression.

Returns

string

The result of analysis.

Analyze(Cosh)

Analyzes the specified expression.

public virtual string Analyze(Cosh exp)

Parameters

exp Cosh

The expression.

Returns

string

The result of analysis.

Analyze(Coth)

Analyzes the specified expression.

public virtual string Analyze(Coth exp)

Parameters

exp Coth

The expression.

Returns

string

The result of analysis.

Analyze(Csch)

Analyzes the specified expression.

public virtual string Analyze(Csch exp)

Parameters

exp Csch

The expression.

Returns

string

The result of analysis.

Analyze(Sech)

Analyzes the specified expression.

public virtual string Analyze(Sech exp)

Parameters

exp Sech

The expression.

Returns

string

The result of analysis.

Analyze(Sinh)

Analyzes the specified expression.

public virtual string Analyze(Sinh exp)

Parameters

exp Sinh

The expression.

Returns

string

The result of analysis.

Analyze(Tanh)

Analyzes the specified expression.

public virtual string Analyze(Tanh exp)

Parameters

exp Tanh

The expression.

Returns

string

The result of analysis.

Analyze(IExpression)

Analyzes the specified expression.

public virtual string Analyze(IExpression exp)

Parameters

exp IExpression

The expression.

Returns

string

The result of analysis.

Analyze(LCM)

Analyzes the specified expression.

public virtual string Analyze(LCM exp)

Parameters

exp LCM

The expression.

Returns

string

The result of analysis.

Analyze(LambdaExpression)

Analyzes the specified expression.

public virtual string Analyze(LambdaExpression exp)

Parameters

exp LambdaExpression

The expression.

Returns

string

The result of analysis.

Analyze(Lb)

Analyzes the specified expression.

public virtual string Analyze(Lb exp)

Parameters

exp Lb

The expression.

Returns

string

The result of analysis.

Analyze(Lg)

Analyzes the specified expression.

public virtual string Analyze(Lg exp)

Parameters

exp Lg

The expression.

Returns

string

The result of analysis.

Analyze(Ln)

Analyzes the specified expression.

public virtual string Analyze(Ln exp)

Parameters

exp Ln

The expression.

Returns

string

The result of analysis.

Analyze(Log)

Analyzes the specified expression.

public virtual string Analyze(Log exp)

Parameters

exp Log

The expression.

Returns

string

The result of analysis.

Analyze(And)

Analyzes the specified expression.

public virtual string Analyze(And exp)

Parameters

exp And

The expression.

Returns

string

The result of analysis.

Analyze(Bool)

Analyzes the specified expression.

public virtual string Analyze(Bool exp)

Parameters

exp Bool

The expression.

Returns

string

The result of analysis.

Analyze(Equality)

Analyzes the specified expression.

public virtual string Analyze(Equality exp)

Parameters

exp Equality

The expression.

Returns

string

The result of analysis.

Analyze(Implication)

Analyzes the specified expression.

public virtual string Analyze(Implication exp)

Parameters

exp Implication

The expression.

Returns

string

The result of analysis.

Analyze(NAnd)

Analyzes the specified expression.

public virtual string Analyze(NAnd exp)

Parameters

exp NAnd

The expression.

Returns

string

The result of analysis.

Analyze(NOr)

Analyzes the specified expression.

public virtual string Analyze(NOr exp)

Parameters

exp NOr

The expression.

Returns

string

The result of analysis.

Analyze(Not)

Analyzes the specified expression.

public virtual string Analyze(Not exp)

Parameters

exp Not

The expression.

Returns

string

The result of analysis.

Analyze(Or)

Analyzes the specified expression.

public virtual string Analyze(Or exp)

Parameters

exp Or

The expression.

Returns

string

The result of analysis.

Analyze(XOr)

Analyzes the specified expression.

public virtual string Analyze(XOr exp)

Parameters

exp XOr

The expression.

Returns

string

The result of analysis.

Analyze(CrossProduct)

Analyzes the specified expression.

public virtual string Analyze(CrossProduct exp)

Parameters

exp CrossProduct

The expression.

Returns

string

The result of analysis.

Analyze(Determinant)

Analyzes the specified expression.

public virtual string Analyze(Determinant exp)

Parameters

exp Determinant

The expression.

Returns

string

The result of analysis.

Analyze(DotProduct)

Analyzes the specified expression.

public virtual string Analyze(DotProduct exp)

Parameters

exp DotProduct

The expression.

Returns

string

The result of analysis.

Analyze(Inverse)

Analyzes the specified expression.

public virtual string Analyze(Inverse exp)

Parameters

exp Inverse

The expression.

Returns

string

The result of analysis.

Analyze(Matrix)

Analyzes the specified expression.

public virtual string Analyze(Matrix exp)

Parameters

exp Matrix

The expression.

Returns

string

The result of analysis.

Analyze(Transpose)

Analyzes the specified expression.

public virtual string Analyze(Transpose exp)

Parameters

exp Transpose

The expression.

Returns

string

The result of analysis.

Analyze(Vector)

Analyzes the specified expression.

public virtual string Analyze(Vector exp)

Parameters

exp Vector

The expression.

Returns

string

The result of analysis.

Analyze(Mod)

Analyzes the specified expression.

public virtual string Analyze(Mod exp)

Parameters

exp Mod

The expression.

Returns

string

The result of analysis.

Analyze(Mul)

Analyzes the specified expression.

public virtual string Analyze(Mul exp)

Parameters

exp Mul

The expression.

Returns

string

The result of analysis.

Analyze(Number)

Analyzes the specified expression.

public virtual string Analyze(Number exp)

Parameters

exp Number

The expression.

Returns

string

The result of analysis.

Analyze(Pow)

Analyzes the specified expression.

public virtual string Analyze(Pow exp)

Parameters

exp Pow

The expression.

Returns

string

The result of analysis.

Analyze(AddAssign)

Analyzes the specified expression.

public virtual string Analyze(AddAssign exp)

Parameters

exp AddAssign

The expression.

Returns

string

The result of analysis.

Analyze(ConditionalAnd)

Analyzes the specified expression.

public virtual string Analyze(ConditionalAnd exp)

Parameters

exp ConditionalAnd

The expression.

Returns

string

The result of analysis.

Analyze(ConditionalOr)

Analyzes the specified expression.

public virtual string Analyze(ConditionalOr exp)

Parameters

exp ConditionalOr

The expression.

Returns

string

The result of analysis.

Analyze(Dec)

Analyzes the specified expression.

public virtual string Analyze(Dec exp)

Parameters

exp Dec

The expression.

Returns

string

The result of analysis.

Analyze(DivAssign)

Analyzes the specified expression.

public virtual string Analyze(DivAssign exp)

Parameters

exp DivAssign

The expression.

Returns

string

The result of analysis.

Analyze(Equal)

Analyzes the specified expression.

public virtual string Analyze(Equal exp)

Parameters

exp Equal

The expression.

Returns

string

The result of analysis.

Analyze(For)

Analyzes the specified expression.

public virtual string Analyze(For exp)

Parameters

exp For

The expression.

Returns

string

The result of analysis.

Analyze(GreaterOrEqual)

Analyzes the specified expression.

public virtual string Analyze(GreaterOrEqual exp)

Parameters

exp GreaterOrEqual

The expression.

Returns

string

The result of analysis.

Analyze(GreaterThan)

Analyzes the specified expression.

public virtual string Analyze(GreaterThan exp)

Parameters

exp GreaterThan

The expression.

Returns

string

The result of analysis.

Analyze(If)

Analyzes the specified expression.

public virtual string Analyze(If exp)

Parameters

exp If

The expression.

Returns

string

The result of analysis.

Analyze(Inc)

Analyzes the specified expression.

public virtual string Analyze(Inc exp)

Parameters

exp Inc

The expression.

Returns

string

The result of analysis.

Analyze(LeftShift)

Analyzes the specified expression.

public virtual string Analyze(LeftShift exp)

Parameters

exp LeftShift

The expression.

Returns

string

The result of analysis.

Analyze(LeftShiftAssign)

Analyzes the specified expression.

public virtual string Analyze(LeftShiftAssign exp)

Parameters

exp LeftShiftAssign

The expression.

Returns

string

The result of analysis.

Analyze(LessOrEqual)

Analyzes the specified expression.

public virtual string Analyze(LessOrEqual exp)

Parameters

exp LessOrEqual

The expression.

Returns

string

The result of analysis.

Analyze(LessThan)

Analyzes the specified expression.

public virtual string Analyze(LessThan exp)

Parameters

exp LessThan

The expression.

Returns

string

The result of analysis.

Analyze(MulAssign)

Analyzes the specified expression.

public virtual string Analyze(MulAssign exp)

Parameters

exp MulAssign

The expression.

Returns

string

The result of analysis.

Analyze(NotEqual)

Analyzes the specified expression.

public virtual string Analyze(NotEqual exp)

Parameters

exp NotEqual

The expression.

Returns

string

The result of analysis.

Analyze(RightShift)

Analyzes the specified expression.

public virtual string Analyze(RightShift exp)

Parameters

exp RightShift

The expression.

Returns

string

The result of analysis.

Analyze(RightShiftAssign)

Analyzes the specified expression.

public virtual string Analyze(RightShiftAssign exp)

Parameters

exp RightShiftAssign

The expression.

Returns

string

The result of analysis.

Analyze(SubAssign)

Analyzes the specified expression.

public virtual string Analyze(SubAssign exp)

Parameters

exp SubAssign

The expression.

Returns

string

The result of analysis.

Analyze(While)

Analyzes the specified expression.

public virtual string Analyze(While exp)

Parameters

exp While

The expression.

Returns

string

The result of analysis.

Analyze(Rational)

Analyzes the specified expression.

public virtual string Analyze(Rational exp)

Parameters

exp Rational

The expression.

Returns

string

The result of analysis.

Analyze(Root)

Analyzes the specified expression.

public virtual string Analyze(Root exp)

Parameters

exp Root

The expression.

Returns

string

The result of analysis.

Analyze(Round)

Analyzes the specified expression.

public virtual string Analyze(Round exp)

Parameters

exp Round

The expression.

Returns

string

The result of analysis.

Analyze(Sign)

Analyzes the specified expression.

public virtual string Analyze(Sign exp)

Parameters

exp Sign

The expression.

Returns

string

The result of analysis.

Analyze(Simplify)

Analyzes the specified expression.

public virtual string Analyze(Simplify exp)

Parameters

exp Simplify

The expression.

Returns

string

The result of analysis.

Analyze(Sqrt)

Analyzes the specified expression.

public virtual string Analyze(Sqrt exp)

Parameters

exp Sqrt

The expression.

Returns

string

The result of analysis.

Analyze(Avg)

Analyzes the specified expression.

public virtual string Analyze(Avg exp)

Parameters

exp Avg

The expression.

Returns

string

The result of analysis.

Analyze(Count)

Analyzes the specified expression.

public virtual string Analyze(Count exp)

Parameters

exp Count

The expresion.

Returns

string

The result of analysis.

Analyze(Max)

Analyzes the specified expression.

public virtual string Analyze(Max exp)

Parameters

exp Max

The expression.

Returns

string

The result of analysis.

Analyze(Min)

Analyzes the specified expression.

public virtual string Analyze(Min exp)

Parameters

exp Min

The expression.

Returns

string

The result of analysis.

Analyze(Product)

Analyzes the specified expression.

public virtual string Analyze(Product exp)

Parameters

exp Product

The expression.

Returns

string

The result of analysis.

Analyze(Stdev)

Analyzes the specified expression.

public virtual string Analyze(Stdev exp)

Parameters

exp Stdev

The expression.

Returns

string

The result of analysis.

Analyze(Stdevp)

Analyzes the specified expression.

public virtual string Analyze(Stdevp exp)

Parameters

exp Stdevp

The expression.

Returns

string

The result of analysis.

Analyze(Sum)

Analyzes the specified expression.

public virtual string Analyze(Sum exp)

Parameters

exp Sum

The expression.

Returns

string

The result of analysis.

Analyze(Var)

Analyzes the specified expression.

public virtual string Analyze(Var exp)

Parameters

exp Var

The expression.

Returns

string

The result of analysis.

Analyze(Varp)

Analyzes the specified expression.

public virtual string Analyze(Varp exp)

Parameters

exp Varp

The expression.

Returns

string

The result of analysis.

Analyze(StringExpression)

Analyzes the specified expression.

public virtual string Analyze(StringExpression exp)

Parameters

exp StringExpression

The expression.

Returns

string

The result of analysis.

Analyze(Sub)

Analyzes the specified expression.

public virtual string Analyze(Sub exp)

Parameters

exp Sub

The expression.

Returns

string

The result of analysis.

Analyze(ToBin)

Analyzes the specified expression.

public virtual string Analyze(ToBin exp)

Parameters

exp ToBin

The expression.

Returns

string

The result of analysis.

Analyze(ToHex)

Analyzes the specified expression.

public virtual string Analyze(ToHex exp)

Parameters

exp ToHex

The expression.

Returns

string

The result of analysis.

Analyze(ToNumber)

Analyzes the specified expression.

public virtual string Analyze(ToNumber exp)

Parameters

exp ToNumber

The expression.

Returns

string

The result of analysis.

Analyze(ToOct)

Analyzes the specified expression.

public virtual string Analyze(ToOct exp)

Parameters

exp ToOct

The expression.

Returns

string

The result of analysis.

Analyze(ToRational)

Analyzes the specified expression.

public virtual string Analyze(ToRational exp)

Parameters

exp ToRational

The expression.

Returns

string

The result of analysis.

Analyze(Arccos)

Analyzes the specified expression.

public virtual string Analyze(Arccos exp)

Parameters

exp Arccos

The expression.

Returns

string

The result of analysis.

Analyze(Arccot)

Analyzes the specified expression.

public virtual string Analyze(Arccot exp)

Parameters

exp Arccot

The expression.

Returns

string

The result of analysis.

Analyze(Arccsc)

Analyzes the specified expression.

public virtual string Analyze(Arccsc exp)

Parameters

exp Arccsc

The expression.

Returns

string

The result of analysis.

Analyze(Arcsec)

Analyzes the specified expression.

public virtual string Analyze(Arcsec exp)

Parameters

exp Arcsec

The expression.

Returns

string

The result of analysis.

Analyze(Arcsin)

Analyzes the specified expression.

public virtual string Analyze(Arcsin exp)

Parameters

exp Arcsin

The expression.

Returns

string

The result of analysis.

Analyze(Arctan)

Analyzes the specified expression.

public virtual string Analyze(Arctan exp)

Parameters

exp Arctan

The expression.

Returns

string

The result of analysis.

Analyze(Cos)

Analyzes the specified expression.

public virtual string Analyze(Cos exp)

Parameters

exp Cos

The expression.

Returns

string

The result of analysis.

Analyze(Cot)

Analyzes the specified expression.

public virtual string Analyze(Cot exp)

Parameters

exp Cot

The expression.

Returns

string

The result of analysis.

Analyze(Csc)

Analyzes the specified expression.

public virtual string Analyze(Csc exp)

Parameters

exp Csc

The expression.

Returns

string

The result of analysis.

Analyze(Sec)

Analyzes the specified expression.

public virtual string Analyze(Sec exp)

Parameters

exp Sec

The expression.

Returns

string

The result of analysis.

Analyze(Sin)

Analyzes the specified expression.

public virtual string Analyze(Sin exp)

Parameters

exp Sin

The expression.

Returns

string

The result of analysis.

Analyze(Tan)

Analyzes the specified expression.

public virtual string Analyze(Tan exp)

Parameters

exp Tan

The expression.

Returns

string

The result of analysis.

Analyze(Trunc)

Analyzes the specified expression.

public virtual string Analyze(Trunc exp)

Parameters

exp Trunc

The expression.

Returns

string

The result of analysis.

Analyze(UnaryMinus)

Analyzes the specified expression.

public virtual string Analyze(UnaryMinus exp)

Parameters

exp UnaryMinus

The expression.

Returns

string

The result of analysis.

Analyze(Unassign)

Analyzes the specified expression.

public virtual string Analyze(Unassign exp)

Parameters

exp Unassign

The expression.

Returns

string

The result of analysis.

Analyze(Angle)

Analyzes the specified expression.

public virtual string Analyze(Angle exp)

Parameters

exp Angle

The expression.

Returns

string

The result of analysis.

Analyze(ToDegree)

Analyzes the specified expression.

public virtual string Analyze(ToDegree exp)

Parameters

exp ToDegree

The expression.

Returns

string

The result of analysis.

Analyze(ToGradian)

Analyzes the specified expression.

public virtual string Analyze(ToGradian exp)

Parameters

exp ToGradian

The expression.

Returns

string

The result of analysis.

Analyze(ToRadian)

Analyzes the specified expression.

public virtual string Analyze(ToRadian exp)

Parameters

exp ToRadian

The expression.

Returns

string

The result of analysis.

Analyze(Area)

Analyzes the specified expression.

public virtual string Analyze(Area exp)

Parameters

exp Area

The expression.

Returns

string

The result of analysis.

Analyze(Convert)

Analyzes the specified expression.

public virtual string Analyze(Convert exp)

Parameters

exp Convert

The expression.

Returns

string

The result of analysis.

Analyze(Length)

Analyzes the specified expression.

public virtual string Analyze(Length exp)

Parameters

exp Length

The expression.

Returns

string

The result of analysis.

Analyze(Mass)

Analyzes the specified expression.

public virtual string Analyze(Mass exp)

Parameters

exp Mass

The expression.

Returns

string

The result of analysis.

Analyze(Power)

Analyzes the specified expression.

public virtual string Analyze(Power exp)

Parameters

exp Power

The expression.

Returns

string

The result of analysis.

Analyze(Temperature)

Analyzes the specified expression.

public virtual string Analyze(Temperature exp)

Parameters

exp Temperature

The expression.

Returns

string

The result of analysis.

Analyze(Time)

Analyzes the specified expression.

public virtual string Analyze(Time exp)

Parameters

exp Time

The expression.

Returns

string

The result of analysis.

Analyze(Volume)

Analyzes the specified expression.

public virtual string Analyze(Volume exp)

Parameters

exp Volume

The expression.

Returns

string

The result of analysis.

Analyze(Variable)

Analyzes the specified expression.

public virtual string Analyze(Variable exp)

Parameters

exp Variable

The expression.

Returns

string

The result of analysis.