private void Find_c() { TridiagonalMatrix SOLE_Matrix = InitializeMatrixForSOLE(); Vector SOLE_RightVector = InitializeRightVectorForSOLE(); c = (new SystemOfLinearEquations(SOLE_Matrix, SOLE_RightVector)).Solve(); }
public SystemOfLinearEquations(TridiagonalMatrix matrix, Vector v) { if (matrix.Size != v.Size) { throw new ArgumentOutOfRangeException(); } Matrix = matrix.Clone(); f = v.Clone(); N = f.Size; }