mirror of
https://github.com/rumata-ap/MatrixExtension_SMathStudio.git
synced 2026-01-12 03:49:47 +03:00
edit
This commit is contained in:
@@ -491,7 +491,7 @@ namespace MatrixExtensions
|
|||||||
MatrixL<TNumber> matrixL = Utilites.TMatrixToMatrixL(tmp1);
|
MatrixL<TNumber> matrixL = Utilites.TMatrixToMatrixL(tmp1);
|
||||||
matrixL.InsertRow(tmp2.ToInt32()-1);
|
matrixL.InsertRow(tmp2.ToInt32()-1);
|
||||||
TMatrix m = Utilites.MatrixLToTMatrix(matrixL);
|
TMatrix m = Utilites.MatrixLToTMatrix(matrixL);
|
||||||
//MatrixL<TNumber> vectorL = Utilites.TMatrixToMatrixL(tmp2);
|
|
||||||
result = Entry.Create(m.ToTerms());
|
result = Entry.Create(m.ToTerms());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -510,7 +510,7 @@ namespace MatrixExtensions
|
|||||||
List<TNumber> vectorL = Utilites.TMatrixToMatrixL(tmp3).ToList();
|
List<TNumber> vectorL = Utilites.TMatrixToMatrixL(tmp3).ToList();
|
||||||
matrixL.InsertRow(tmp2.ToInt32() - 1, vectorL);
|
matrixL.InsertRow(tmp2.ToInt32() - 1, vectorL);
|
||||||
TMatrix m = Utilites.MatrixLToTMatrix(matrixL);
|
TMatrix m = Utilites.MatrixLToTMatrix(matrixL);
|
||||||
//MatrixL<TNumber> vectorL = Utilites.TMatrixToMatrixL(tmp2);
|
|
||||||
result = Entry.Create(m.ToTerms());
|
result = Entry.Create(m.ToTerms());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -526,7 +526,7 @@ namespace MatrixExtensions
|
|||||||
MatrixL<TNumber> matrixL = Utilites.TMatrixToMatrixL(tmp1);
|
MatrixL<TNumber> matrixL = Utilites.TMatrixToMatrixL(tmp1);
|
||||||
matrixL.InsertCol(tmp2.ToInt32()-1);
|
matrixL.InsertCol(tmp2.ToInt32()-1);
|
||||||
TMatrix m = Utilites.MatrixLToTMatrix(matrixL);
|
TMatrix m = Utilites.MatrixLToTMatrix(matrixL);
|
||||||
//MatrixL<TNumber> vectorL = Utilites.TMatrixToMatrixL(tmp2);
|
|
||||||
result = Entry.Create(m.ToTerms());
|
result = Entry.Create(m.ToTerms());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -545,7 +545,7 @@ namespace MatrixExtensions
|
|||||||
List<TNumber> vectorL = Utilites.TMatrixToMatrixL(tmp3).ToList();
|
List<TNumber> vectorL = Utilites.TMatrixToMatrixL(tmp3).ToList();
|
||||||
matrixL.InsertCol(tmp2.ToInt32() - 1, vectorL);
|
matrixL.InsertCol(tmp2.ToInt32() - 1, vectorL);
|
||||||
TMatrix m = Utilites.MatrixLToTMatrix(matrixL);
|
TMatrix m = Utilites.MatrixLToTMatrix(matrixL);
|
||||||
//MatrixL<TNumber> vectorL = Utilites.TMatrixToMatrixL(tmp2);
|
|
||||||
result = Entry.Create(m.ToTerms());
|
result = Entry.Create(m.ToTerms());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -166,12 +166,8 @@ namespace MatrixExtensions
|
|||||||
for (int j = 0; j < r; j++)
|
for (int j = 0; j < r; j++)
|
||||||
{
|
{
|
||||||
//src[j].Insert(idxC, col[i]);
|
//src[j].Insert(idxC, col[i]);
|
||||||
|
if (j >= n) continue;
|
||||||
src[j][idxC] = col[i];
|
src[j][idxC] = col[i];
|
||||||
if (col.Count < r)
|
|
||||||
{
|
|
||||||
//src[j].Insert(idxC, init);
|
|
||||||
src[j][idxC] = col[i];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user