Interface IAddable<T>
Interface defining a method for the addition of two operands (i.e. an internal binary operation).
Namespace: BRIDGES.Algebra.Fundamentals
Assembly: BRIDGES.dll
Syntax
public interface IAddable<T>
where T : IAddable<T>
Type Parameters
Name | Description |
---|---|
T | Type of the elements of the additive set. |
Methods
| Improve this Doc View SourceAdd(T)
Computes the addition of the current element with another element on the right.
Declaration
T Add(T right)
Parameters
Type | Name | Description |
---|---|---|
T | right | Element to add with on the right. |
Returns
Type | Description |
---|---|
T | The new element resulting from the addition. |