Class DotProduct<T>
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[Obsolete("Use Vector Dot instead")]
public abstract class DotProduct<T> : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Type Parameters
Name | Description |
---|---|
T |
Properties
a
The first vector.
Declaration
[DoNotSerialize]
[UnitPortDisplay(primary = true)]
public ValueInput a { get; }
Property Value
Type | Description |
---|---|
ValueInput |
b
The second vector.
Declaration
[DoNotSerialize]
[UnitPortDisplay(primary = true)]
public ValueInput b { get; }
Property Value
Type | Description |
---|---|
ValueInput |
dotProduct
The dot product of A and B.
Declaration
[DoNotSerialize]
[UnitPortDisplay("A∙B", primary = true)]
public ValueOutput dotProduct { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()
Operation(T, T)
Declaration
public abstract float Operation(T a, T b)
Parameters
Type | Name | Description |
---|---|---|
T | a | |
T | b |
Returns
Type | Description |
---|---|
Single |