improve: move planned features auto registry to features

This commit is contained in:
h z
2024-12-12 12:19:24 +00:00
parent 9b9433fe36
commit 8666dc4703

View File

@@ -28,12 +28,12 @@ Other modules such as morphisms, groups, rings, and fields are under development
- Vector spaces and Affine space operations
- Analytic functions, Polynomials, and Bivariant functions
- Sampling of Special Matrices
- Auto-registration for custom fields and dimensions
## Planned Features
- Statistics: Hypothesis testing
- Algebra: Group and Ring operations
- Auto-registration for custom fields and dimensions
## Supported Matrix Types
@@ -123,6 +123,7 @@ public interface IDimX
#### Custom Field
To use a custom field, implement a FieldStructure class with the following required methods:
```csharp
[CustomFieldStructure]
class CustomFieldStructure : FieldStructure<TScalar>
{
abstract TScalar Addition(TScalar self, TScalar other);
@@ -158,10 +159,6 @@ virtual TScalar Subtraction(TScalar self, TScalar other);
```
Finally, register the custom field:
```csharp
ScalarFieldStructureProvider.Register(new CustomFieldStructure());
```
## License
[MIT][license] © [hzhang][author]