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
Methods
Analyze(Abs)
Analyzes the specified expression.
public virtual string Analyze(Abs exp)
Parameters
exp
AbsThe expression.
Returns
- string
The result of analysis.
Analyze(Add)
Analyzes the specified expression.
public virtual string Analyze(Add exp)
Parameters
exp
AddThe expression.
Returns
- string
The result of analysis.
Analyze(Assign)
Analyzes the specified expression.
public virtual string Analyze(Assign exp)
Parameters
exp
AssignThe expression.
Returns
- string
The result of analysis.
Analyze(CallExpression)
Analyzes the specified expression.
public virtual string Analyze(CallExpression exp)
Parameters
exp
CallExpressionThe expression.
Returns
- string
The result of analysis.
Analyze(Ceil)
Analyzes the specified expression.
public virtual string Analyze(Ceil exp)
Parameters
exp
CeilThe expression.
Returns
- string
The result of analysis.
Analyze(ComplexNumber)
Analyzes the specified expression.
public virtual string Analyze(ComplexNumber exp)
Parameters
exp
ComplexNumberThe expression.
Returns
- string
The result of analysis.
Analyze(Conjugate)
Analyzes the specified expression.
public virtual string Analyze(Conjugate exp)
Parameters
exp
ConjugateThe expression.
Returns
- string
The result of analysis.
Analyze(Im)
Analyzes the specified expression.
public virtual string Analyze(Im exp)
Parameters
exp
ImThe expression.
Returns
- string
The result of analysis.
Analyze(Phase)
Analyzes the specified expression.
public virtual string Analyze(Phase exp)
Parameters
exp
PhaseThe expression.
Returns
- string
The result of analysis.
Analyze(Re)
Analyzes the specified expression.
public virtual string Analyze(Re exp)
Parameters
exp
ReThe expression.
Returns
- string
The result of analysis.
Analyze(Reciprocal)
Analyzes the specified expression.
public virtual string Analyze(Reciprocal exp)
Parameters
exp
ReciprocalThe expression.
Returns
- string
The result of analysis.
Analyze(ToComplex)
Analyzes the specified expression.
public virtual string Analyze(ToComplex exp)
Parameters
exp
ToComplexThe expression.
Returns
- string
The result of analysis.
Analyze(Curry)
Analyzes the specified expression.
public virtual string Analyze(Curry exp)
Parameters
exp
CurryThe expression.
Returns
- string
The result of analysis.
Analyze(Del)
Analyzes the specified expression.
public virtual string Analyze(Del exp)
Parameters
exp
DelThe expression.
Returns
- string
The result of analysis.
Analyze(DelegateExpression)
Analyzes the specified expression.
public virtual string Analyze(DelegateExpression exp)
Parameters
exp
DelegateExpressionThe expression.
Returns
- string
The result of analysis.
Analyze(Derivative)
Analyzes the specified expression.
public virtual string Analyze(Derivative exp)
Parameters
exp
DerivativeThe expression.
Returns
- string
The result of analysis.
Analyze(Div)
Analyzes the specified expression.
public virtual string Analyze(Div exp)
Parameters
exp
DivThe expression.
Returns
- string
The result of analysis.
Analyze(Exp)
Analyzes the specified expression.
public virtual string Analyze(Exp exp)
Parameters
exp
ExpThe expression.
Returns
- string
The result of analysis.
Analyze(Fact)
Analyzes the specified expression.
public virtual string Analyze(Fact exp)
Parameters
exp
FactThe expression.
Returns
- string
The result of analysis.
Analyze(Floor)
Analyzes the specified expression.
public virtual string Analyze(Floor exp)
Parameters
exp
FloorThe expression.
Returns
- string
The result of analysis.
Analyze(Frac)
Analyzes the specified expression.
public virtual string Analyze(Frac exp)
Parameters
exp
FracThe expression.
Returns
- string
The result of analysis.
Analyze(GCD)
Analyzes the specified expression.
public virtual string Analyze(GCD exp)
Parameters
exp
GCDThe expression.
Returns
- string
The result of analysis.
Analyze(Arcosh)
Analyzes the specified expression.
public virtual string Analyze(Arcosh exp)
Parameters
exp
ArcoshThe expression.
Returns
- string
The result of analysis.
Analyze(Arcoth)
Analyzes the specified expression.
public virtual string Analyze(Arcoth exp)
Parameters
exp
ArcothThe expression.
Returns
- string
The result of analysis.
Analyze(Arcsch)
Analyzes the specified expression.
public virtual string Analyze(Arcsch exp)
Parameters
exp
ArcschThe expression.
Returns
- string
The result of analysis.
Analyze(Arsech)
Analyzes the specified expression.
public virtual string Analyze(Arsech exp)
Parameters
exp
ArsechThe expression.
Returns
- string
The result of analysis.
Analyze(Arsinh)
Analyzes the specified expression.
public virtual string Analyze(Arsinh exp)
Parameters
exp
ArsinhThe expression.
Returns
- string
The result of analysis.
Analyze(Artanh)
Analyzes the specified expression.
public virtual string Analyze(Artanh exp)
Parameters
exp
ArtanhThe expression.
Returns
- string
The result of analysis.
Analyze(Cosh)
Analyzes the specified expression.
public virtual string Analyze(Cosh exp)
Parameters
exp
CoshThe expression.
Returns
- string
The result of analysis.
Analyze(Coth)
Analyzes the specified expression.
public virtual string Analyze(Coth exp)
Parameters
exp
CothThe expression.
Returns
- string
The result of analysis.
Analyze(Csch)
Analyzes the specified expression.
public virtual string Analyze(Csch exp)
Parameters
exp
CschThe expression.
Returns
- string
The result of analysis.
Analyze(Sech)
Analyzes the specified expression.
public virtual string Analyze(Sech exp)
Parameters
exp
SechThe expression.
Returns
- string
The result of analysis.
Analyze(Sinh)
Analyzes the specified expression.
public virtual string Analyze(Sinh exp)
Parameters
exp
SinhThe expression.
Returns
- string
The result of analysis.
Analyze(Tanh)
Analyzes the specified expression.
public virtual string Analyze(Tanh exp)
Parameters
exp
TanhThe expression.
Returns
- string
The result of analysis.
Analyze(IExpression)
Analyzes the specified expression.
public virtual string Analyze(IExpression exp)
Parameters
exp
IExpressionThe expression.
Returns
- string
The result of analysis.
Analyze(LCM)
Analyzes the specified expression.
public virtual string Analyze(LCM exp)
Parameters
exp
LCMThe expression.
Returns
- string
The result of analysis.
Analyze(LambdaExpression)
Analyzes the specified expression.
public virtual string Analyze(LambdaExpression exp)
Parameters
exp
LambdaExpressionThe expression.
Returns
- string
The result of analysis.
Analyze(Lb)
Analyzes the specified expression.
public virtual string Analyze(Lb exp)
Parameters
exp
LbThe expression.
Returns
- string
The result of analysis.
Analyze(Lg)
Analyzes the specified expression.
public virtual string Analyze(Lg exp)
Parameters
exp
LgThe expression.
Returns
- string
The result of analysis.
Analyze(Ln)
Analyzes the specified expression.
public virtual string Analyze(Ln exp)
Parameters
exp
LnThe expression.
Returns
- string
The result of analysis.
Analyze(Log)
Analyzes the specified expression.
public virtual string Analyze(Log exp)
Parameters
exp
LogThe expression.
Returns
- string
The result of analysis.
Analyze(And)
Analyzes the specified expression.
public virtual string Analyze(And exp)
Parameters
exp
AndThe expression.
Returns
- string
The result of analysis.
Analyze(Bool)
Analyzes the specified expression.
public virtual string Analyze(Bool exp)
Parameters
exp
BoolThe expression.
Returns
- string
The result of analysis.
Analyze(Equality)
Analyzes the specified expression.
public virtual string Analyze(Equality exp)
Parameters
exp
EqualityThe expression.
Returns
- string
The result of analysis.
Analyze(Implication)
Analyzes the specified expression.
public virtual string Analyze(Implication exp)
Parameters
exp
ImplicationThe expression.
Returns
- string
The result of analysis.
Analyze(NAnd)
Analyzes the specified expression.
public virtual string Analyze(NAnd exp)
Parameters
exp
NAndThe expression.
Returns
- string
The result of analysis.
Analyze(NOr)
Analyzes the specified expression.
public virtual string Analyze(NOr exp)
Parameters
exp
NOrThe expression.
Returns
- string
The result of analysis.
Analyze(Not)
Analyzes the specified expression.
public virtual string Analyze(Not exp)
Parameters
exp
NotThe expression.
Returns
- string
The result of analysis.
Analyze(Or)
Analyzes the specified expression.
public virtual string Analyze(Or exp)
Parameters
exp
OrThe expression.
Returns
- string
The result of analysis.
Analyze(XOr)
Analyzes the specified expression.
public virtual string Analyze(XOr exp)
Parameters
exp
XOrThe expression.
Returns
- string
The result of analysis.
Analyze(CrossProduct)
Analyzes the specified expression.
public virtual string Analyze(CrossProduct exp)
Parameters
exp
CrossProductThe expression.
Returns
- string
The result of analysis.
Analyze(Determinant)
Analyzes the specified expression.
public virtual string Analyze(Determinant exp)
Parameters
exp
DeterminantThe expression.
Returns
- string
The result of analysis.
Analyze(DotProduct)
Analyzes the specified expression.
public virtual string Analyze(DotProduct exp)
Parameters
exp
DotProductThe expression.
Returns
- string
The result of analysis.
Analyze(Inverse)
Analyzes the specified expression.
public virtual string Analyze(Inverse exp)
Parameters
exp
InverseThe expression.
Returns
- string
The result of analysis.
Analyze(Matrix)
Analyzes the specified expression.
public virtual string Analyze(Matrix exp)
Parameters
exp
MatrixThe expression.
Returns
- string
The result of analysis.
Analyze(Transpose)
Analyzes the specified expression.
public virtual string Analyze(Transpose exp)
Parameters
exp
TransposeThe expression.
Returns
- string
The result of analysis.
Analyze(Vector)
Analyzes the specified expression.
public virtual string Analyze(Vector exp)
Parameters
exp
VectorThe expression.
Returns
- string
The result of analysis.
Analyze(Mod)
Analyzes the specified expression.
public virtual string Analyze(Mod exp)
Parameters
exp
ModThe expression.
Returns
- string
The result of analysis.
Analyze(Mul)
Analyzes the specified expression.
public virtual string Analyze(Mul exp)
Parameters
exp
MulThe expression.
Returns
- string
The result of analysis.
Analyze(Number)
Analyzes the specified expression.
public virtual string Analyze(Number exp)
Parameters
exp
NumberThe expression.
Returns
- string
The result of analysis.
Analyze(Pow)
Analyzes the specified expression.
public virtual string Analyze(Pow exp)
Parameters
exp
PowThe expression.
Returns
- string
The result of analysis.
Analyze(AddAssign)
Analyzes the specified expression.
public virtual string Analyze(AddAssign exp)
Parameters
exp
AddAssignThe expression.
Returns
- string
The result of analysis.
Analyze(ConditionalAnd)
Analyzes the specified expression.
public virtual string Analyze(ConditionalAnd exp)
Parameters
exp
ConditionalAndThe expression.
Returns
- string
The result of analysis.
Analyze(ConditionalOr)
Analyzes the specified expression.
public virtual string Analyze(ConditionalOr exp)
Parameters
exp
ConditionalOrThe expression.
Returns
- string
The result of analysis.
Analyze(Dec)
Analyzes the specified expression.
public virtual string Analyze(Dec exp)
Parameters
exp
DecThe expression.
Returns
- string
The result of analysis.
Analyze(DivAssign)
Analyzes the specified expression.
public virtual string Analyze(DivAssign exp)
Parameters
exp
DivAssignThe expression.
Returns
- string
The result of analysis.
Analyze(Equal)
Analyzes the specified expression.
public virtual string Analyze(Equal exp)
Parameters
exp
EqualThe expression.
Returns
- string
The result of analysis.
Analyze(For)
Analyzes the specified expression.
public virtual string Analyze(For exp)
Parameters
exp
ForThe expression.
Returns
- string
The result of analysis.
Analyze(GreaterOrEqual)
Analyzes the specified expression.
public virtual string Analyze(GreaterOrEqual exp)
Parameters
exp
GreaterOrEqualThe expression.
Returns
- string
The result of analysis.
Analyze(GreaterThan)
Analyzes the specified expression.
public virtual string Analyze(GreaterThan exp)
Parameters
exp
GreaterThanThe expression.
Returns
- string
The result of analysis.
Analyze(If)
Analyzes the specified expression.
public virtual string Analyze(If exp)
Parameters
exp
IfThe expression.
Returns
- string
The result of analysis.
Analyze(Inc)
Analyzes the specified expression.
public virtual string Analyze(Inc exp)
Parameters
exp
IncThe expression.
Returns
- string
The result of analysis.
Analyze(LeftShift)
Analyzes the specified expression.
public virtual string Analyze(LeftShift exp)
Parameters
exp
LeftShiftThe expression.
Returns
- string
The result of analysis.
Analyze(LeftShiftAssign)
Analyzes the specified expression.
public virtual string Analyze(LeftShiftAssign exp)
Parameters
exp
LeftShiftAssignThe expression.
Returns
- string
The result of analysis.
Analyze(LessOrEqual)
Analyzes the specified expression.
public virtual string Analyze(LessOrEqual exp)
Parameters
exp
LessOrEqualThe expression.
Returns
- string
The result of analysis.
Analyze(LessThan)
Analyzes the specified expression.
public virtual string Analyze(LessThan exp)
Parameters
exp
LessThanThe expression.
Returns
- string
The result of analysis.
Analyze(MulAssign)
Analyzes the specified expression.
public virtual string Analyze(MulAssign exp)
Parameters
exp
MulAssignThe expression.
Returns
- string
The result of analysis.
Analyze(NotEqual)
Analyzes the specified expression.
public virtual string Analyze(NotEqual exp)
Parameters
exp
NotEqualThe expression.
Returns
- string
The result of analysis.
Analyze(RightShift)
Analyzes the specified expression.
public virtual string Analyze(RightShift exp)
Parameters
exp
RightShiftThe expression.
Returns
- string
The result of analysis.
Analyze(RightShiftAssign)
Analyzes the specified expression.
public virtual string Analyze(RightShiftAssign exp)
Parameters
exp
RightShiftAssignThe expression.
Returns
- string
The result of analysis.
Analyze(SubAssign)
Analyzes the specified expression.
public virtual string Analyze(SubAssign exp)
Parameters
exp
SubAssignThe expression.
Returns
- string
The result of analysis.
Analyze(While)
Analyzes the specified expression.
public virtual string Analyze(While exp)
Parameters
exp
WhileThe expression.
Returns
- string
The result of analysis.
Analyze(Rational)
Analyzes the specified expression.
public virtual string Analyze(Rational exp)
Parameters
exp
RationalThe expression.
Returns
- string
The result of analysis.
Analyze(Root)
Analyzes the specified expression.
public virtual string Analyze(Root exp)
Parameters
exp
RootThe expression.
Returns
- string
The result of analysis.
Analyze(Round)
Analyzes the specified expression.
public virtual string Analyze(Round exp)
Parameters
exp
RoundThe expression.
Returns
- string
The result of analysis.
Analyze(Sign)
Analyzes the specified expression.
public virtual string Analyze(Sign exp)
Parameters
exp
SignThe expression.
Returns
- string
The result of analysis.
Analyze(Simplify)
Analyzes the specified expression.
public virtual string Analyze(Simplify exp)
Parameters
exp
SimplifyThe expression.
Returns
- string
The result of analysis.
Analyze(Sqrt)
Analyzes the specified expression.
public virtual string Analyze(Sqrt exp)
Parameters
exp
SqrtThe expression.
Returns
- string
The result of analysis.
Analyze(Avg)
Analyzes the specified expression.
public virtual string Analyze(Avg exp)
Parameters
exp
AvgThe expression.
Returns
- string
The result of analysis.
Analyze(Count)
Analyzes the specified expression.
public virtual string Analyze(Count exp)
Parameters
exp
CountThe expresion.
Returns
- string
The result of analysis.
Analyze(Max)
Analyzes the specified expression.
public virtual string Analyze(Max exp)
Parameters
exp
MaxThe expression.
Returns
- string
The result of analysis.
Analyze(Min)
Analyzes the specified expression.
public virtual string Analyze(Min exp)
Parameters
exp
MinThe expression.
Returns
- string
The result of analysis.
Analyze(Product)
Analyzes the specified expression.
public virtual string Analyze(Product exp)
Parameters
exp
ProductThe expression.
Returns
- string
The result of analysis.
Analyze(Stdev)
Analyzes the specified expression.
public virtual string Analyze(Stdev exp)
Parameters
exp
StdevThe expression.
Returns
- string
The result of analysis.
Analyze(Stdevp)
Analyzes the specified expression.
public virtual string Analyze(Stdevp exp)
Parameters
exp
StdevpThe expression.
Returns
- string
The result of analysis.
Analyze(Sum)
Analyzes the specified expression.
public virtual string Analyze(Sum exp)
Parameters
exp
SumThe expression.
Returns
- string
The result of analysis.
Analyze(Var)
Analyzes the specified expression.
public virtual string Analyze(Var exp)
Parameters
exp
VarThe expression.
Returns
- string
The result of analysis.
Analyze(Varp)
Analyzes the specified expression.
public virtual string Analyze(Varp exp)
Parameters
exp
VarpThe expression.
Returns
- string
The result of analysis.
Analyze(StringExpression)
Analyzes the specified expression.
public virtual string Analyze(StringExpression exp)
Parameters
exp
StringExpressionThe expression.
Returns
- string
The result of analysis.
Analyze(Sub)
Analyzes the specified expression.
public virtual string Analyze(Sub exp)
Parameters
exp
SubThe expression.
Returns
- string
The result of analysis.
Analyze(ToBin)
Analyzes the specified expression.
public virtual string Analyze(ToBin exp)
Parameters
exp
ToBinThe expression.
Returns
- string
The result of analysis.
Analyze(ToHex)
Analyzes the specified expression.
public virtual string Analyze(ToHex exp)
Parameters
exp
ToHexThe expression.
Returns
- string
The result of analysis.
Analyze(ToNumber)
Analyzes the specified expression.
public virtual string Analyze(ToNumber exp)
Parameters
exp
ToNumberThe expression.
Returns
- string
The result of analysis.
Analyze(ToOct)
Analyzes the specified expression.
public virtual string Analyze(ToOct exp)
Parameters
exp
ToOctThe expression.
Returns
- string
The result of analysis.
Analyze(ToRational)
Analyzes the specified expression.
public virtual string Analyze(ToRational exp)
Parameters
exp
ToRationalThe expression.
Returns
- string
The result of analysis.
Analyze(Arccos)
Analyzes the specified expression.
public virtual string Analyze(Arccos exp)
Parameters
exp
ArccosThe expression.
Returns
- string
The result of analysis.
Analyze(Arccot)
Analyzes the specified expression.
public virtual string Analyze(Arccot exp)
Parameters
exp
ArccotThe expression.
Returns
- string
The result of analysis.
Analyze(Arccsc)
Analyzes the specified expression.
public virtual string Analyze(Arccsc exp)
Parameters
exp
ArccscThe expression.
Returns
- string
The result of analysis.
Analyze(Arcsec)
Analyzes the specified expression.
public virtual string Analyze(Arcsec exp)
Parameters
exp
ArcsecThe expression.
Returns
- string
The result of analysis.
Analyze(Arcsin)
Analyzes the specified expression.
public virtual string Analyze(Arcsin exp)
Parameters
exp
ArcsinThe expression.
Returns
- string
The result of analysis.
Analyze(Arctan)
Analyzes the specified expression.
public virtual string Analyze(Arctan exp)
Parameters
exp
ArctanThe expression.
Returns
- string
The result of analysis.
Analyze(Cos)
Analyzes the specified expression.
public virtual string Analyze(Cos exp)
Parameters
exp
CosThe expression.
Returns
- string
The result of analysis.
Analyze(Cot)
Analyzes the specified expression.
public virtual string Analyze(Cot exp)
Parameters
exp
CotThe expression.
Returns
- string
The result of analysis.
Analyze(Csc)
Analyzes the specified expression.
public virtual string Analyze(Csc exp)
Parameters
exp
CscThe expression.
Returns
- string
The result of analysis.
Analyze(Sec)
Analyzes the specified expression.
public virtual string Analyze(Sec exp)
Parameters
exp
SecThe expression.
Returns
- string
The result of analysis.
Analyze(Sin)
Analyzes the specified expression.
public virtual string Analyze(Sin exp)
Parameters
exp
SinThe expression.
Returns
- string
The result of analysis.
Analyze(Tan)
Analyzes the specified expression.
public virtual string Analyze(Tan exp)
Parameters
exp
TanThe expression.
Returns
- string
The result of analysis.
Analyze(Trunc)
Analyzes the specified expression.
public virtual string Analyze(Trunc exp)
Parameters
exp
TruncThe expression.
Returns
- string
The result of analysis.
Analyze(UnaryMinus)
Analyzes the specified expression.
public virtual string Analyze(UnaryMinus exp)
Parameters
exp
UnaryMinusThe expression.
Returns
- string
The result of analysis.
Analyze(Unassign)
Analyzes the specified expression.
public virtual string Analyze(Unassign exp)
Parameters
exp
UnassignThe expression.
Returns
- string
The result of analysis.
Analyze(Angle)
Analyzes the specified expression.
public virtual string Analyze(Angle exp)
Parameters
exp
AngleThe expression.
Returns
- string
The result of analysis.
Analyze(ToDegree)
Analyzes the specified expression.
public virtual string Analyze(ToDegree exp)
Parameters
exp
ToDegreeThe expression.
Returns
- string
The result of analysis.
Analyze(ToGradian)
Analyzes the specified expression.
public virtual string Analyze(ToGradian exp)
Parameters
exp
ToGradianThe expression.
Returns
- string
The result of analysis.
Analyze(ToRadian)
Analyzes the specified expression.
public virtual string Analyze(ToRadian exp)
Parameters
exp
ToRadianThe expression.
Returns
- string
The result of analysis.
Analyze(Area)
Analyzes the specified expression.
public virtual string Analyze(Area exp)
Parameters
exp
AreaThe expression.
Returns
- string
The result of analysis.
Analyze(Convert)
Analyzes the specified expression.
public virtual string Analyze(Convert exp)
Parameters
exp
ConvertThe expression.
Returns
- string
The result of analysis.
Analyze(Length)
Analyzes the specified expression.
public virtual string Analyze(Length exp)
Parameters
exp
LengthThe expression.
Returns
- string
The result of analysis.
Analyze(Mass)
Analyzes the specified expression.
public virtual string Analyze(Mass exp)
Parameters
exp
MassThe expression.
Returns
- string
The result of analysis.
Analyze(Power)
Analyzes the specified expression.
public virtual string Analyze(Power exp)
Parameters
exp
PowerThe expression.
Returns
- string
The result of analysis.
Analyze(Temperature)
Analyzes the specified expression.
public virtual string Analyze(Temperature exp)
Parameters
exp
TemperatureThe expression.
Returns
- string
The result of analysis.
Analyze(Time)
Analyzes the specified expression.
public virtual string Analyze(Time exp)
Parameters
exp
TimeThe expression.
Returns
- string
The result of analysis.
Analyze(Volume)
Analyzes the specified expression.
public virtual string Analyze(Volume exp)
Parameters
exp
VolumeThe expression.
Returns
- string
The result of analysis.
Analyze(Variable)
Analyzes the specified expression.
public virtual string Analyze(Variable exp)
Parameters
exp
VariableThe expression.
Returns
- string
The result of analysis.