Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
VectorSpace.cs
1using System;
3
5{
9 public abstract class VectorSpace : Module, IVectorSpace
10 {
14 public VectorSpace()
15 : base()
16 {
17 }
18
22 public override IRing ScalarRing => this.ScalarField;
23
27 public abstract IField ScalarField
28 {
29 get;
30 }
31
39 {
40 return ModuleElement.MultiplyScalar(Scalar);
41 }
42
50 {
52 }
53
54 }
55}
Base class for all types of module elements.
abstract IModuleElement MultiplyScalar(IRingElement Scalar)
Tries to multiply a scalar to the current element.
Base class for all types of vector space elements (vectors).
override IModuleElement MultiplyScalar(IRingElement Scalar)
Tries to multiply a scalar to the current element.
Base class for all types of modules.
Definition: Module.cs:10
Base class for all types of vector spaces.
Definition: VectorSpace.cs:10
VectorSpace()
Base class for all types of vector spaces.
Definition: VectorSpace.cs:14
override IModuleElement MultiplyScalar(IRingElement Scalar, IModuleElement ModuleElement)
Performs a scalar multiplication, if possible.
Definition: VectorSpace.cs:38
virtual IVectorSpaceElement MultiplyScalar(IFieldElement Scalar, IVectorSpaceElement VectorSpaceElement)
Performs a scalar multiplication, if possible.
Definition: VectorSpace.cs:49
abstract IField ScalarField
Scalar field.
Definition: VectorSpace.cs:28
override IRing ScalarRing
Scalar ring.
Definition: VectorSpace.cs:22
Basic interface for all types of field elements.
Basic interface for all types of module elements.
Basic interface for all types of ring elements.
Definition: IRingElement.cs:10
Basic interface for all types of module elements.
Basic interface for all types of fields.
Definition: IField.cs:9
Basic interface for all types of rings.
Definition: IRing.cs:10
Basic interface for all types of modules.
Definition: IVectorSpace.cs:10