DialectSoftware.Collections.Matrix
1.0.0
Provides matrix data structure suitable for storing elements in an n-dimensional cartesian coordinate system of positive integers.
example:
Axis x = new Axis("x", 0, 100, 1);
Axis y = new Axis("y", 0, 10, 1);
Matrix<long> matrix = new Matrix<long>(new []{x,y});
int i = 0;
for (; i < matrix.Axes[0].Points.Length; i++)
{
matrix.Axes[0].Points[i].Label = "x" + i.ToString();
}
i = 0;
for (; i < matrix.Axes[1].Points.Length; i++)
{
matrix.Axes[1].Points[i].Label = "y"+ i.ToString();
}
foreach (long[] c in matrix)
{
matrix[c] = c[0] + c[1];
}
foreach (long[] c in matrix)
{
Console.WriteLine("{0},{1} ({2},{3}) = {4}", matrix.Axes[0].Points[c[0]].Label, matrix.Axes[1].Points[c[1]].Label, c[0], c[1], matrix[c]);
}
Install-Package DialectSoftware.Collections.Matrix -Version 1.0.0
dotnet add package DialectSoftware.Collections.Matrix --version 1.0.0
<PackageReference Include="DialectSoftware.Collections.Matrix" Version="1.0.0" />
paket add DialectSoftware.Collections.Matrix --version 1.0.0
#r "nuget: DialectSoftware.Collections.Matrix, 1.0.0"
Release Notes
Currently this object does not support Matrix Mathematics only storage and retrieval of objects using an n-dimensional cartesian coordinate system of positive integers
Dependencies
This package has no dependencies.
Used By
NuGet packages (1)
Showing the top 1 NuGet packages that depend on DialectSoftware.Collections.Matrix:
Package | Downloads |
---|---|
DialectSoftware.LocationServices
Generalized and self-contained platform for providing basic geographic related services without the need for a database
|
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on DialectSoftware.Collections.Matrix:
Repository | Stars |
---|---|
markjprice/cs8dotnetcore3
Repository for the Packt Publishing book titled "C# 8.0 and .NET Core 3.0" by Mark J. Price
|
|
markjprice/cs9dotnet5
Repository for the Packt Publishing book titled "C# 9 and .NET 5 - Modern Cross-Platform Development" by Mark J. Price
|
Version History
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 2,305 | 1/13/2013 |