C# Class GeometryClassLibrary.MatricesMatrix

Afficher le fichier Open project: ParagonTruss/GeometryClassLibrary Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

ConvertToMatrix() public méthode

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
Résultat Matrix

Equals() public méthode

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

GetColumnWidth() public méthode

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
Résultat int

GetElement() public méthode

Returns the matrix at row "rowIndex" and column "columnIndex"
public GetElement ( int rowIndex, int columnIndex ) : Matrix
rowIndex int
columnIndex int
Résultat Matrix

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetRowHeight() public méthode

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
Résultat int

MatricesMatrix() public méthode

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
Résultat System

MatricesMatrix() public méthode

public MatricesMatrix ( int numRows, int numCols ) : System
numRows int
numCols int
Résultat System

SetElement() public méthode

Sets an element to a specific location.
public SetElement ( int rowIndex, int columnIndex, Matrix element ) : void
rowIndex int
columnIndex int
element Matrix
Résultat void

SetNullEntriesToZero() public méthode

public SetNullEntriesToZero ( ) : void
Résultat void

TotalColumns() public méthode

Returns the total number of columns required to contain all of the columns from the inner matrices
public TotalColumns ( ) : int
Résultat int

TotalRows() public méthode

Returns the total number of rows required to contain all of the rows from the inner matrices
public TotalRows ( ) : int
Résultat int

operator() public static méthode

Returns true if each matricesMatrix is the same as the other
public static operator ( ) : bool
Résultat bool