It is simple matrix calculation package. It provides matrix and vector and more like hand calculation.
using System;
// My package
using Tremendous1192.SelfEmployed.MatrixSharp;
namespace YourApp
{
internal class Program
{
static void Main(string[] args)
{
double[,] array1 = new double[2, 3]{{1, 2, 3}, {4, 5, 6}};
Matrix m = new Matrix(array1);
double[] array2 = new double[2]{1, 2};
ColumnVector c = new ColumnVector(array2);
RowVector r = new RowVector(array2);
}
}
}
Modified internal function of matrix multiply. If left matrix's column number is multiples of 2, 3, or 4, your calculation will be faster than previous version.
Cleaned comment out code.
Don't worry any user does NOT need to modify your code.
Modified the connection between public multiply method and internal function.
Modified the algorithm to solve homogeneous equation.
Don't worry any user does NOT need to modify your code.
Modify README
Append internal function of faster matrix subtract.
If your matrix element number (row x column) is multiples of 2, 3, or 4, 5, your calculation will be faster than usual.
3/Feb./2023
Modify Clone Method of Matrix and Vector classes.
Append internal function faster matrix addition.
If your matrix element number (row x column) is multiples of 2, 3, or 4, 5, you are able to calculate matrix addition quickly.