Table of Contents

Class Log

Namespace
xFunc.Maths.Expressions
Assembly
xFunc.Maths.dll

Represents the Logarithm function.

public class Log : BinaryExpression, IExpression
Inheritance
Log
Implements
Inherited Members
Extension Methods

Constructors

Log(ImmutableArray<IExpression>)

Initializes a new instance of the Log class.

public Log(ImmutableArray<IExpression> arguments)

Parameters

arguments ImmutableArray<IExpression>

The list of arguments.

See Also

Log(IExpression, IExpression)

Initializes a new instance of the Log class.

public Log(IExpression @base, IExpression arg)

Parameters

base IExpression

The right operand.

arg IExpression

The left operand.

See Also

Methods

AnalyzeInternal<TResult>(IAnalyzer<TResult>)

Analyzes the current expression.

protected override TResult AnalyzeInternal<TResult>(IAnalyzer<TResult> analyzer)

Parameters

analyzer IAnalyzer<TResult>

The analyzer.

Returns

TResult

The analysis result.

Type Parameters

TResult

The type of the result.

AnalyzeInternal<TResult, TContext>(IAnalyzer<TResult, TContext>, TContext)

Analyzes the current expression.

protected override TResult AnalyzeInternal<TResult, TContext>(IAnalyzer<TResult, TContext> analyzer, TContext context)

Parameters

analyzer IAnalyzer<TResult, TContext>

The analyzer.

context TContext

The context.

Returns

TResult

The analysis result.

Type Parameters

TResult

The type of the result.

TContext

The type of additional parameter for analyzer.

Clone(IExpression?, IExpression?)

Clones this instance of the IExpression.

public override IExpression Clone(IExpression? left = null, IExpression? right = null)

Parameters

left IExpression

The left argument of new expression.

right IExpression

The right argument of new expression.

Returns

IExpression

Returns the new instance of IExpression that is a clone of this instance.

Execute(ExpressionParameters?)

Executes this expression.

public override object Execute(ExpressionParameters? parameters)

Parameters

parameters ExpressionParameters

An object that contains all parameters and functions for expressions.

Returns

object

A result of the execution.

Exceptions

ExecutionException

The result of Left or Right operand evaluation is not supported by this expression.

See Also