Class Divide<T>
Syntax
[UnitOrder(104)]
public abstract class Divide<T> : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Type Parameters
Properties
defaultDividend
Declaration
[DoNotSerialize]
protected virtual T defaultDividend { get; }
Property Value
defaultDivisor
Declaration
[DoNotSerialize]
protected virtual T defaultDivisor { get; }
Property Value
dividend
The dividend (or numerator).
Declaration
[DoNotSerialize]
[PortLabel("A")]
public ValueInput dividend { get; }
Property Value
divisor
The divisor (or denominator).
Declaration
[DoNotSerialize]
[PortLabel("B")]
public ValueInput divisor { get; }
Property Value
quotient
The quotient of the dividend and divisor (numerator / denominator).
Declaration
[DoNotSerialize]
[PortLabel("A ÷ B")]
public ValueOutput quotient { get; }
Property Value
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Operation(T, T)
Declaration
public abstract T Operation(T divident, T divisor)
Parameters
Type |
Name |
Description |
T |
divident |
|
T |
divisor |
|
Returns
Operation(Flow)
Declaration
public T Operation(Flow flow)
Parameters
Type |
Name |
Description |
Flow |
flow |
|
Returns
Extension Methods