public bool calculateWithNewComponent(double alpha, double beta) { alphaComponent = alpha; betaComponent = beta; matrix.nullMatrix(); for (int i = 0; i < f.Length; i++) { f[i] = 0; } MatrixFilling(); los = new LOS(); result = los.makeSLAU(matrix, f); return(true); }
public bool Make(string filePath) { if (grid.inputSpline(filePath)) { Array.Resize(ref f, 4 * grid.getXSize() * grid.getYSize()); matrix = new Matrix(4 * grid.getXSize() * grid.getYSize()); matrix.profileDefining(grid); MatrixFilling(); los = new LOS(); result = los.makeSLAU(matrix, f); return(true); } return(false); }