Elsheimy.Components.Linears 1.0.0

Basic linear algebra functions.
* Matrix addition, subtraction, concatenation, shrinking, extraction, reduction, elimintation, determinant calculation, invertibility and inverses, mirrors, multiplication and powers, and transposes.
* Identity, transformation, projection, reflection, rotation, and shearing matrices.
* Vector addition, subtractions, angels, normalization, products, scaling and projection.

Install-Package Elsheimy.Components.Linears -Version 1.0.0
dotnet add package Elsheimy.Components.Linears --version 1.0.0
<PackageReference Include="Elsheimy.Components.Linears" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Elsheimy.Components.Linears --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Elsheimy.Components.Linears, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Elsheimy.Components.Linears as a Cake Addin
#addin nuget:?package=Elsheimy.Components.Linears&version=1.0.0

// Install Elsheimy.Components.Linears as a Cake Tool
#tool nuget:?package=Elsheimy.Components.Linears&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Elsheimy.Components.Linears

This is my implementation of the basic linear algebra problems. It covers:

Matrices:

  • Matrix addition / subtraction.
  • Matrix concatenation / shrinking / extraction.
  • Matrix reduction and elimination (Gauss and Gauss-Jordan).
  • Determinant calculation using Laplace Expansion method.
  • Invertibility and inverses.
  • Matrix mirrors.
  • Matrix multiplication and powers.
  • Transposes.
  • Identity matrices.
  • Transformation matrices.
  • Projection matrices.
  • Reflection matrices.
  • 2D and 3D rotation matrices.
  • 2D and 3D shearing matrices.
  • Cloning and equality comparers.

Vectors:

  • Vector addition / subtraction.
  • Angel between vectors.
  • Vector normalization and magnitude calculator.
  • Dot product and cross product.
  • Vector scaling.
  • Projection onto other vectors and subspaces.

I have created raw functions that operate on Array objects and wrapped those functions inside two class objects Matrix and Vector. I have overrided some operators to make it easier for users to perform various operations.

Please feel free to relay your comments, suggestions or corrections.

Elsheimy.Components.Linears

This is my implementation of the basic linear algebra problems. It covers:

Matrices:

  • Matrix addition / subtraction.
  • Matrix concatenation / shrinking / extraction.
  • Matrix reduction and elimination (Gauss and Gauss-Jordan).
  • Determinant calculation using Laplace Expansion method.
  • Invertibility and inverses.
  • Matrix mirrors.
  • Matrix multiplication and powers.
  • Transposes.
  • Identity matrices.
  • Transformation matrices.
  • Projection matrices.
  • Reflection matrices.
  • 2D and 3D rotation matrices.
  • 2D and 3D shearing matrices.
  • Cloning and equality comparers.

Vectors:

  • Vector addition / subtraction.
  • Angel between vectors.
  • Vector normalization and magnitude calculator.
  • Dot product and cross product.
  • Vector scaling.
  • Projection onto other vectors and subspaces.

I have created raw functions that operate on Array objects and wrapped those functions inside two class objects Matrix and Vector. I have overrided some operators to make it easier for users to perform various operations.

Please feel free to relay your comments, suggestions or corrections.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 64 2/6/2021