C# 클래스 GeometryClassLibrary.MatricesMatrix

파일 보기 프로젝트 열기: ParagonTruss/GeometryClassLibrary 1 사용 예제들

공개 메소드들

메소드 설명
ConvertToMatrix ( ) : Matrix

Strips out all the elements from each submatrix and creates an equivalent matrix. For a more detailed explanation, see http://stackoverflow.com/questions/24678305/converting-a-2d-array-of-2d-arrays-into-a-single-2d-array

Equals ( object obj ) : bool

does the same thing as == if the passed-in object is an identical Matrices

GetColumnWidth ( int col ) : int

Returns the number of columns of the matrix with the largest number of columns in the specified column of the MatricesMatrix

GetElement ( int rowIndex, int columnIndex ) : Matrix

Returns the matrix at row "rowIndex" and column "columnIndex"

GetHashCode ( ) : int
GetRowHeight ( int row ) : int

Returns the number of rows of the matrix with the largest number of rows in the specified row of the MatricesMatrix

MatricesMatrix ( int numRowsAndColumns ) : System

Creates a square matrix with the specified number of rows and columns the constructor that is called when you say new MatricesMatrix(numberOfRows, numberOfColumns)

MatricesMatrix ( int numRows, int numCols ) : System
SetElement ( int rowIndex, int columnIndex, Matrix element ) : void

Sets an element to a specific location.

SetNullEntriesToZero ( ) : void
TotalColumns ( ) : int

Returns the total number of columns required to contain all of the columns from the inner matrices

TotalRows ( ) : int

Returns the total number of rows required to contain all of the rows from the inner matrices

operator ( ) : bool

Returns true if each matricesMatrix is the same as the other

메소드 상세

ConvertToMatrix() 공개 메소드

Strips out all the elements from each submatrix and creates an equivalent matrix. For a more detailed explanation, see http://stackoverflow.com/questions/24678305/converting-a-2d-array-of-2d-arrays-into-a-single-2d-array
public ConvertToMatrix ( ) : Matrix
리턴 Matrix

Equals() 공개 메소드

does the same thing as == if the passed-in object is an identical Matrices
public Equals ( object obj ) : bool
obj object
리턴 bool

GetColumnWidth() 공개 메소드

Returns the number of columns of the matrix with the largest number of columns in the specified column of the MatricesMatrix
public GetColumnWidth ( int col ) : int
col int
리턴 int

GetElement() 공개 메소드

Returns the matrix at row "rowIndex" and column "columnIndex"
public GetElement ( int rowIndex, int columnIndex ) : Matrix
rowIndex int
columnIndex int
리턴 Matrix

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetRowHeight() 공개 메소드

Returns the number of rows of the matrix with the largest number of rows in the specified row of the MatricesMatrix
public GetRowHeight ( int row ) : int
row int
리턴 int

MatricesMatrix() 공개 메소드

Creates a square matrix with the specified number of rows and columns the constructor that is called when you say new MatricesMatrix(numberOfRows, numberOfColumns)
public MatricesMatrix ( int numRowsAndColumns ) : System
numRowsAndColumns int
리턴 System

MatricesMatrix() 공개 메소드

public MatricesMatrix ( int numRows, int numCols ) : System
numRows int
numCols int
리턴 System

SetElement() 공개 메소드

Sets an element to a specific location.
public SetElement ( int rowIndex, int columnIndex, Matrix element ) : void
rowIndex int
columnIndex int
element Matrix
리턴 void

SetNullEntriesToZero() 공개 메소드

public SetNullEntriesToZero ( ) : void
리턴 void

TotalColumns() 공개 메소드

Returns the total number of columns required to contain all of the columns from the inner matrices
public TotalColumns ( ) : int
리턴 int

TotalRows() 공개 메소드

Returns the total number of rows required to contain all of the rows from the inner matrices
public TotalRows ( ) : int
리턴 int

operator() 공개 정적인 메소드

Returns true if each matricesMatrix is the same as the other
public static operator ( ) : bool
리턴 bool