#region Copyright © 2009, De Santiago-Castillo JA. All rights reserved. //Copyright © 2009 Jose Antonio De Santiago-Castillo //E-mail:JAntonioDeSantiago@gmail.com //Web: www.DotNumerics.com // #endregion using System; using System.Collections.Generic; using System.Text; namespace DotNumerics.LinearAlgebra { /// /// Interface for a Matrix /// public interface IMatrix { /// /// Returns the number of rows. /// int RowCount { get; } /// /// Returns the number of columns. /// int ColumnCount { get; } /// /// Gets or set the value of a element of this Matrix. /// /// The row value (zero-based). /// The column value (zero-based). /// The Matrix element at (row, column). T this[int row, int column] { get; set; } /// /// Copy the elements of this matrix to a rectangular array. /// /// A rectangular array. T[,] CopyToArray(); /// /// Copy the elements of this matrix to a jagged array. /// /// A jagged array T[][] CopyToJaggedArray(); } }