Class Power
- Namespace
- xFunc.Maths.Expressions.Units.PowerUnits
- Assembly
- xFunc.Maths.dll
Represents a power number.
public class Power : Unit<PowerValue>, IExpression, IEquatable<Unit<PowerValue>>
- Inheritance
-
Power
- Implements
- Inherited Members
- Extension Methods
Constructors
Power(PowerValue)
Initializes a new instance of the Power class.
public Power(PowerValue value)
Parameters
value
PowerValueA power number.
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.