C# Класс GeometryClassLibrary.MatricesMatrix

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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