a library for matrix operations
.Net 5.0.102 sdk or greater
https://www.nuget.org/packages/EMDD.KtMatrix/
<PackageReference Include="EMDD.KtMatrix" Version="*.*.*" />
I guess this library can be useful for you if you are working with matrices whose elements are:
- basic numeric values
- complex numbers
- basic polynomial equations
- basic math expressions
this can be represented as a light-weight matrix as
var matrix = new EMDD.KtMatrix.LightWeight.LWMatrix(new[,] {
{ 3, 2, 1},
{ 3, 3, 3},
{-4, 1, 0.4});
or
var matrix = new EMDD.KtMatrix.Matrix(new[,] {
{ 3, 2, 1},
{ 3, 3, 3},
{-4, 1, 0.4}
});
var matrix = new EMDD.KtMatrix.Matrix(new EMDD.KtNumerics.Number[,] {
{ 3, 2, 1},
{ 3, new KtComplex(3,1), 3},
{-4, 1, 0.4}
});
var eq = EMDD.KtPolynomials.KtPolynomial.Create(3, -2);
var lim = EMDD.KtExpressions.Limits.Limit.Create(3, 4);
var exp = new EMDD.KtExpressions.Expression((eq, lim));
var comp = new EMDD.KtNumerics.KtComplex(3, 1);
var matrix2 = new EMDD.KtMatrix.Matrix(new EMDD.KtExpressions.Expression[,] {
{ 3, 2, 1},
{ exp, comp, 3},
{-4, 1, 0.4}
});
- Addition, Subtraction, Scalar/Matrix multiplication and Matrix-Dot Product, Division with constant
- Square Matrix Inverse, Determinant
- Matrix Transpose
- Guassian Elimination
- Create proper examples