Class Element<T>
A description of a matrix element.
Inheritance
Element<T>
Inherited Members
Namespace: SpiceSharp.Algebra
Assembly: SpiceSharp.dll
Syntax
public class Element<T>
Type Parameters
| Name | Description |
|---|---|
| T | The base type. |
Properties
Addition
Generic addition.
Declaration
public static Func<T, T, T> Addition { get; set; }
Property Value
| Type | Description |
|---|---|
| Func<T, T, T> |
Subtraction
Generic subtraction.
Declaration
public static Func<T, T, T> Subtraction { get; set; }
Property Value
| Type | Description |
|---|---|
| Func<T, T, T> |
Value
Gets or sets the value of the matrix element.
Declaration
public T Value { get; set; }
Property Value
| Type | Description |
|---|---|
| T | The value. |
Methods
Add(T)
Adds the specified value to the element.
Declaration
public void Add(T value)
Parameters
| Type | Name | Description |
|---|---|---|
| T | value | The value. |
Subtract(T)
Subtracts the specified value from the element.
Declaration
public void Subtract(T value)
Parameters
| Type | Name | Description |
|---|---|---|
| T | value | The value. |
ToString()
Converts to string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |