메소드 | 설명 | |
---|---|---|
AddRow ( int iTargetRow, int iSecondRow, |
The function adds two rows for current MatrixClass object It performs the following calculation: iTargetRow = iTargetRow + iMultiple*iSecondRow
|
|
Adjoint ( int b ) : |
The function returns the adjoint of the current MatrixClass
|
|
Concatenate ( |
The function concatenates the two given matrices column-wise it can be helpful in a equation solver class where the augmented MatrixClass is obtained by concatenation
|
|
Determinent ( ) : |
The function returns the determinent of the current MatrixClass object as Fraction It computes the determinent in the traditional way (i.e. using minors) It can be much slower(due to recursion) if the given MatrixClass has order greater than 6 Try using DeterminentFast() function if the order of MatrixClass is greater than 6
|
|
DeterminentFast ( ) : |
The function returns the determinent of the current MatrixClass object as Fraction It computes the determinent by reducing the MatrixClass to reduced echelon form using row operations The function is very fast and efficient but may raise overflow exceptions in some cases. In such cases use the Determinent() function which computes determinent in the traditional manner(by using minors)
|
|
Duplicate ( ) : |
The function duplicates the current MatrixClass object
|
|
EchelonForm ( ) : |
The function returns the Echelon form of the current MatrixClass
|
|
IdentityMatrixClass ( int iRows, int iCols ) : |
The function returns an identity MatrixClass of dimensions ( Row x Col )
|
|
InterchangeRow ( int iRow1, int iRow2 ) : void |
The function interchanges two rows of the current MatrixClass object
|
|
Inverse ( ) : |
The function returns the inverse of the current MatrixClass in the traditional way(by adjoint method) It can be much slower if the given MatrixClass has order greater than 6 Try using InverseFast() function if the order of MatrixClass is greater than 6
|
|
InverseFast ( ) : |
The function returns the inverse of the current MatrixClass using Reduced Echelon Form method The function is very fast and efficient but may raise overflow exceptions in some cases. In such cases use the Inverse() method which computes inverse in the traditional way(using adjoint).
|
|
MatrixClass ( |
Constructors
|
|
MatrixClass ( double elements ) : System | ||
MatrixClass ( int elements ) : System | ||
MatrixClass ( int iRows, int iCols ) : System | ||
Minor ( |
The function return the Minor of element[Row,Col] of a MatrixClass object
|
|
MultiplyRow ( int iRow, |
The function multiplies the given row of the current MatrixClass object by a Fraction
|
|
MultiplyRow ( int iRow, double dbl ) : void |
The function multiplies the given row of the current MatrixClass object by a double
|
|
MultiplyRow ( int iRow, int iNo ) : void |
The function multiplies the given row of the current MatrixClass object by an integer
|
|
NullMatrixClass ( int iRows, int iCols ) : |
The function returns a Null MatrixClass of dimension ( Row x Col )
|
|
ReducedEchelonForm ( ) : |
The function returns the reduced echelon form of the current MatrixClass
|
|
ScalarMatrixClass ( int iRows, int iCols, int K ) : |
The function returns a Scalar MatrixClass of dimension ( Row x Col ) and scalar K
|
|
ToString ( ) : string |
The function returns the current MatrixClass object as a string
|
|
Transpose ( ) : |
The function returns the transpose of the current MatrixClass
|
|
UnitMatrixClass ( int iRows, int iCols ) : |
The function returns a Unit MatrixClass of dimension ( Row x Col )
|
|
operator ( ) : |
||
this ( int iRow, int iCol ) : |
Indexer
|
메소드 | 설명 | |
---|---|---|
Add ( |
||
Determinent ( |
The helper function for the above Determinent() method it calls itself recursively and computes determinent using minors
|
|
FindB ( int Det ) : int | ||
GetElement ( int iRow, int iCol ) : |
Internal functions for getting/setting values
|
|
Multiply ( |
||
Multiply ( |
||
Multiply ( |
||
Negate ( |
Internal Fucntions for the above operators
|
|
SetElement ( int iRow, int iCol, |
public AddRow ( int iTargetRow, int iSecondRow, |
||
iTargetRow | int | |
iSecondRow | int | |
iMultiple | ||
리턴 | void |
public static Concatenate ( |
||
MatrixClass1 | ||
MatrixClass2 | ||
리턴 |
public static IdentityMatrixClass ( int iRows, int iCols ) : |
||
iRows | int | |
iCols | int | |
리턴 |
public InterchangeRow ( int iRow1, int iRow2 ) : void | ||
iRow1 | int | |
iRow2 | int | |
리턴 | void |
public MatrixClass ( int iRows, int iCols ) : System | ||
iRows | int | |
iCols | int | |
리턴 | System |
public static Minor ( |
||
MatrixClass | ||
iRow | int | |
iCol | int | |
리턴 |
public MultiplyRow ( int iRow, |
||
iRow | int | |
frac | ||
리턴 | void |
public static NullMatrixClass ( int iRows, int iCols ) : |
||
iRows | int | |
iCols | int | |
리턴 |
public static ScalarMatrixClass ( int iRows, int iCols, int K ) : |
||
iRows | int | |
iCols | int | |
K | int | |
리턴 |
public static UnitMatrixClass ( int iRows, int iCols ) : |
||
iRows | int | |
iCols | int | |
리턴 |