Class Max
- Namespace
- xFunc.Maths.Expressions.Statistical
- Assembly
- xFunc.Maths.dll
Represent the Max function.
public class Max : StatisticalExpression, IExpression
- Inheritance
-
Max
- Implements
- Inherited Members
- Extension Methods
Constructors
Max(IEnumerable<IExpression>)
Initializes a new instance of the Max class.
public Max(IEnumerable<IExpression> arguments)
Parameters
arguments
IEnumerable<IExpression>The arguments.
Max(ImmutableArray<IExpression>)
Initializes a new instance of the Max class.
public Max(ImmutableArray<IExpression> arguments)
Parameters
arguments
ImmutableArray<IExpression>The arguments.
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
TContextThe context.
Returns
- TResult
The analysis result.
Type Parameters
TResult
The type of the result.
TContext
The type of additional parameter for analyzer.
Clone(ImmutableArray<IExpression>?)
Clones this instance of the IExpression.
public override IExpression Clone(ImmutableArray<IExpression>? arguments = null)
Parameters
arguments
ImmutableArray<IExpression>?The list of arguments.
Returns
- IExpression
Returns the new instance of IExpression that is a clone of this instance.
ExecuteInternal(VectorValue)
Executes this expression.
protected override object ExecuteInternal(VectorValue vector)
Parameters
vector
VectorValueThe array of numbers.
Returns
- object
A result of the execution.