/// <summary> /// Initializes a new instance of the <see cref="SparseLinearSystem{T}"/> class. /// </summary> /// <param name="size">The number of equations and variables.</param> protected SparseLinearSystem(int size) { Matrix = new SparseMatrix <T>(size); Rhs = new SparseVector <T>(size); }
/// <summary> /// Initializes a new instance of the <see cref="SparseLinearSystem{T}"/> class. /// </summary> protected SparseLinearSystem() { Matrix = new SparseMatrix <T>(); Rhs = new SparseVector <T>(); }