Class CrossProduct
- Namespace
 - xFunc.Maths.Expressions.Matrices
 
- Assembly
 - xFunc.Maths.dll
 
Represents a cross product of vectors.
public class CrossProduct : BinaryExpression, IExpression
  - Inheritance
 - 
      
      
      CrossProduct
 
- Implements
 
- Inherited Members
 
- Extension Methods
 
Constructors
CrossProduct(ImmutableArray<IExpression>)
Initializes a new instance of the CrossProduct class.
public CrossProduct(ImmutableArray<IExpression> arguments)
  Parameters
argumentsImmutableArray<IExpression>The list of arguments.
- See Also
 
CrossProduct(IExpression, IExpression)
Initializes a new instance of the CrossProduct class.
public CrossProduct(IExpression left, IExpression right)
  Parameters
leftIExpressionThe left (first) operand.
rightIExpressionThe right (second) operand.
Methods
AnalyzeInternal<TResult>(IAnalyzer<TResult>)
Analyzes the current expression.
protected override TResult AnalyzeInternal<TResult>(IAnalyzer<TResult> analyzer)
  Parameters
analyzerIAnalyzer<TResult>The analyzer.
Returns
- TResult
 The analysis result.
Type Parameters
TResultThe type of the result.
AnalyzeInternal<TResult, TContext>(IAnalyzer<TResult, TContext>, TContext)
Analyzes the current expression.
[ExcludeFromCodeCoverage]
protected override TResult AnalyzeInternal<TResult, TContext>(IAnalyzer<TResult, TContext> analyzer, TContext context)
  Parameters
analyzerIAnalyzer<TResult, TContext>The analyzer.
contextTContextThe context.
Returns
- TResult
 The analysis result.
Type Parameters
TResultThe type of the result.
TContextThe 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
leftIExpressionThe left argument of new expression.
rightIExpressionThe 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
parametersExpressionParametersAn 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