Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SparseLinearSystem{T}"/> class.
 /// </summary>
 protected SparseLinearSystem()
 {
     Matrix = new SparseMatrix <T>();
     Rhs    = new SparseVector <T>();
 }