Class ScalarRoot
Returns the root at the nth degree of a radicand.
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitCategory("Math/Scalar")]
[UnitDisplay("Root")]
[Obsolete("Use Mathf.Sqrt, or Mathf.Pow with a fractional power instead")]
public sealed class ScalarRoot : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Properties
degree
The degree.
Declaration
[DoNotSerialize]
[UnitPortDisplay("n")]
public ValueInput degree { get; }
Property Value
Type | Description |
---|---|
ValueInput |
radicand
The radicand.
Declaration
[DoNotSerialize]
[UnitPortDisplay("x")]
public ValueInput radicand { get; }
Property Value
Type | Description |
---|---|
ValueInput |
root
The nth degree root of the radicand.
Declaration
[DoNotSerialize]
[UnitPortDisplay("ⁿ√x")]
public ValueOutput root { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()
Root(Flow)
Declaration
public float Root(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
Single |