AIMA.Core.Util.Math.Matrix.Matrix C# (CSharp) Method

Matrix() public method

public Matrix ( double A ) : System
A double
return System
	public Matrix(double[][] A) {
		m = A.Length;
		n = A[0].Length;
		for (int i = 0; i < m; i++) {
			if (A[i].Length != n) {
				throw new ArgumentOutOfRangeException(
						"All rows must have the same length.");
			}
		}
		this.A = A;
	}

Same methods

Matrix::Matrix ( double vals, int m ) : System
Matrix::Matrix ( double A, int m, int n ) : System
Matrix::Matrix ( int m, int n ) : System
Matrix::Matrix ( int m, int n, double s ) : System