Метод | Описание | |
---|---|---|
Abs ( ) : |
Computes the L2-Norm of the matrix (seen as a vector).
|
|
AddColumn ( |
Adds a column specified by the type of the value to add-in. If it is a scalar value, then it is quite simple. For a matrix the geometry is important.
|
|
AddMM ( |
Matrix + Matrix
|
|
AddMS ( |
Matrix + Scalar
|
|
AddRow ( |
Creates a new matrix with another row. The row is either simply a number (in this case the value is just inserted) or a matrix (then the geometry is important).
|
|
AddSM ( |
Scalar + Matrix
|
|
Adjungate ( ) : |
Computes the adjungated (transposed + c.c.) matrix.
|
|
Clear ( ) : void |
Clears all entries.
|
|
Clone ( ) : |
Creates a deep copy of the matrix.
|
|
ComplexDot ( |
Produces a complex dot (this operand is c.c.) product of the given instance (seen as a vector) with another vector.
|
|
ComputeLargestStringContent ( |
Gets the maximum length of any cell of the matrix by considering the given context.
|
|
Copy ( ) : |
Creates a deep copy of the matrix.
|
|
Create ( |
Creates a new matrix with the help of a specified value.
|
|
DeleteColumns ( int index, int count = 1 ) : void |
Deletes the specified number of columns of the matrix.
|
|
DeleteRows ( int index, int count = 1 ) : void |
Deletes the specified number of rows of the matrix.
|
|
Deserialize ( Byte content ) : |
Creates a new matrix instance from the given content.
|
|
Det ( ) : |
Computes the determinant of the matrix.
|
|
DivideMM ( |
Matrix / Matrix
|
|
DivideMS ( |
Matrix / Scalar
|
|
DivideSM ( |
Scalar / Matrix
|
|
Dot ( |
Produces a dot product of the given instance (seen as a vector) with another vector.
|
|
Equals ( object obj ) : bool |
Takes a close look if two matrices are equivalent.
|
|
ForEach ( ScalarValue>.Func |
Performs the operation f on each element of the matrix, creating a new matrix B where each entry is given by B_jk = f(A_jk).
|
|
FrobeniusNorm ( ) : double |
Computes the Frobenius-norm of the matrix. The Frobenius-norm of a matrix the square root of the sum of the squares of all the elements. In the case of a row or column vector, this reduces to the Euclidean vector norm. |
|
GetColumnVector ( int i ) : |
Gets the i-th column vector, i.e. a vector which is spanned over all rows of one column.
|
|
GetComplexMatrix ( ) : YAMP.ScalarValue[][] |
Gets a real matrix of the complete matrix.
|
|
GetHashCode ( ) : int |
Gives a first hint if two matrices can be equivalent.
|
|
GetRealMatrix ( ) : double[][] |
Gets a real matrix of the complete matrix.
|
|
GetRealVector ( ) : double[] |
Gets a real vector of the complete matrix.
|
|
GetRealVector ( int yoffset, int ylength, int xoffset, int xlength ) : double[] |
Gets a real vector of a submatrix.
|
|
GetRowVector ( int j ) : |
Gets the j-th row vector, i.e. a vector which is spanned over all columns of one row.
|
|
GetSubMatrix ( int y, int xoffset, int xfinal ) : |
Creates a sub matrix of the given instance.
|
|
GetSubMatrix ( int yoffset, int yfinal, int xoffset, int xfinal ) : |
Creates a sub matrix of the given instance.
|
|
InfinityNorm ( ) : double |
Computes the ∞-norm of the matrix. The ∞-norm of a matrix is the largest row sum. |
|
Inverse ( ) : |
Computes the inverse (if it exists).
|
|
MatrixValue ( ) : System |
Constructs a new matrix.
|
|
MatrixValue ( ScalarValue>.Dictionary |
Constructs a new matrix with the provided values and dimension.
|
|
MatrixValue ( Double values ) : System |
Constructs a new matrix based on the given two dimensional array.
|
|
MatrixValue ( Double values, |
Constructs a new matrix based on the jagged double array.
|
|
MatrixValue ( |
Constructs a new matrix with the given dimension.
|
|
MatrixValue ( |
Constructs a new matrix with the given dimension and sets each entry to the given value.
|
|
MatrixValue ( |
Constructs a new matrix based on the jagged double array.
|
|
Max ( ) : |
Gets the index for the maximum entry in the matrix.
|
|
Min ( ) : |
Gets the index for the minimum entry in the matrix.
|
|
ModuloMS ( |
Matrix % Scalar
|
|
ModuloSM ( |
Scalar % Matrix
|
|
MultiplyMM ( |
Matrix * Matrix
|
|
MultiplyMS ( |
Matrix * Scalar
|
|
MultiplySM ( |
Scalar * Matrix
|
|
One ( int dimension ) : |
Creates a new identity matrix of the given dimension.
|
|
One ( int rows, int columns ) : |
Creates a new identity matrix of the given dimension.
|
|
OneNorm ( ) : double |
Computes the 1-norm of the matrix. The 1-norm of a matrix is the largest column sum. |
|
Ones ( int rows, int cols ) : |
Creates a matrix containing only ones.
|
|
Perform ( |
The method used by YAMP to get values from a matrix.
|
|
Perform ( |
Method used by YAMP to set values in a matrix.
|
|
PowMS ( |
Matrix ^ Scalar
|
|
PowSM ( |
Scalar ^ Matrix
|
|
Randomize ( ) : void |
Goes over all rows and columns and randomizes the values.
|
|
Serialize ( ) : Byte[] |
Serializes the current instance.
|
|
SetColumnVector ( int i, |
Sets the i-th column vector to be of the given matrix.
|
|
SetRowVector ( int j, |
Sets the j-th row vector to be of the given matrix.
|
|
SubtractMM ( |
Matrix - Matrix
|
|
SubtractMS ( |
Matrix - Scalar
|
|
SubtractSM ( |
Scalar - Matrix
|
|
Sum ( ) : |
Computes the sum of all entries.
|
|
ToArray ( ) : YAMP.ScalarValue[] |
Copies the internal scalar values to a 1-dim. complex array.
|
|
ToString ( |
Creates a standard string representation of the matrix.
|
|
ToString ( |
Creates a standard string representation of the matrix.
|
|
Trace ( ) : |
Computes the trace (sum over all elements on the diagonal) of the matrix.
|
|
Transpose ( ) : |
Computes the transposed matrix.
|
|
VectorSort ( ) : |
Sorts the values of the matrix and outputs the values in a new vector.
|
|
operator ( ) : System.Boolean |
Inequality.
|
|
operator ( ) : |
Multiplication.
|
|
this ( int i ) : |
Gets or sets the i-th element of the matrix (counted rows-first).
|
|
this ( int j, int i ) : |
Gets the element of the j-th row and i-th column.
|
Метод | Описание | |
---|---|---|
ContainsIndex ( |
Does the matrix contain this index? If not then the value is zero.
|
|
GetIndex ( int i ) : |
Gets the matrix-index (row, column) of the 1-based 1-dim. index i.
|
|
GetIndex ( |
Gets the entry of the specified matrix-index entry in the dictionary. Please check if the element is in the dictionary anyway (ContainsIndex).
|
|
RegisterOperators ( ) : void |
Registers all operators that are associated with the matrix.
|
Метод | Описание | |
---|---|---|
DeleteFullColumns ( List |
||
DeleteFullRows ( List |
||
LogicalSubscripting ( |
||
LogicalSubscripting ( |
public AddColumn ( |
||
value | The value to add in another column. | |
Результат |
public static AddMM ( |
||
left | Must be a matrix. | |
right | Must be a matrix. | |
Результат |
public static AddMS ( |
||
left | Must be a matr. | |
right | Must be a scalar. | |
Результат |
public AddRow ( |
||
value | The value to append as a row. | |
Результат |
public static AddSM ( |
||
left | Must be a scalar. | |
right | Must be a matrix. | |
Результат |
public ComplexDot ( |
||
w | The second operand of the complex dot-product. | |
Результат |
public ComputeLargestStringContent ( |
||
context | The parse context which holds the state information. | |
Результат |
protected ContainsIndex ( |
||
index | The matrix-index (row, column). | |
Результат | bool |
public static Create ( |
||
value | The value to initialize the matrix with. | |
Результат |
public DeleteColumns ( int index, int count = 1 ) : void | ||
index | int | The column index to start (1-based). |
count | int | The number of columns to remove. |
Результат | void |
public DeleteRows ( int index, int count = 1 ) : void | ||
index | int | The row index to start (1-based). |
count | int | The number of rows to remove. |
Результат | void |
public Deserialize ( Byte content ) : |
||
content | Byte | The binary content. |
Результат |
public static DivideMM ( |
||
left | Must be a matrix. | |
right | Must be a matrix. | |
Результат |
public static DivideMS ( |
||
left | Must be a matr. | |
right | Must be a scalar. | |
Результат |
public static DivideSM ( |
||
left | Must be a scalar. | |
right | Must be a matrix. | |
Результат |
public Dot ( |
||
w | The second operand of the dot-product. | |
Результат |
public Equals ( object obj ) : bool | ||
obj | object | The other matrix (otherwise it is false). |
Результат | bool |
public ForEach ( ScalarValue>.Func |
||
f | ScalarValue>.Func | The function to use. |
Результат |
public GetColumnVector ( int i ) : |
||
i | int | The index of the column to get the vector from. |
Результат |
public GetComplexMatrix ( ) : YAMP.ScalarValue[][] | ||
Результат | YAMP.ScalarValue[][] |
protected GetIndex ( int i ) : |
||
i | int | The 1-based index. The i-th element is requested. |
Результат |
protected GetIndex ( |
||
index | The matrix-index (row, column). | |
Результат |
public GetRealVector ( int yoffset, int ylength, int xoffset, int xlength ) : double[] | ||
yoffset | int | The offset in rows. |
ylength | int | The length in rows. |
xoffset | int | The offset in columns. |
xlength | int | The length in columns. |
Результат | double[] |
public GetRowVector ( int j ) : |
||
j | int | The index of the row to get the vector from. |
Результат |
public GetSubMatrix ( int y, int xoffset, int xfinal ) : |
||
y | int | Row-indices to consider. |
xoffset | int | Horizontal offset in columns. |
xfinal | int | Final column-index. |
Результат |
public GetSubMatrix ( int yoffset, int yfinal, int xoffset, int xfinal ) : |
||
yoffset | int | Vertical offset in rows. |
yfinal | int | Final row-index. |
xoffset | int | Horizontal offset in columns. |
xfinal | int | Final column-index. |
Результат |
public MatrixValue ( ScalarValue>.Dictionary |
||
values | ScalarValue>.Dictionary | The values to assign. |
rows | The number of rows in the new matrix. | |
cols | The number of columns in the matrix. | |
Результат | System |
public MatrixValue ( Double values ) : System | ||
values | Double | The values which set the dimensions and starting values of the matrix. |
Результат | System |
public MatrixValue ( Double values, |
||
values | Double | The values to use. |
rows | The number of rows in the new matrix. | |
cols | The number of columns in the matrix. | |
Результат | System |
public MatrixValue ( |
||
rows | The number of rows. | |
cols | The number of columns. | |
Результат | System |
public MatrixValue ( |
||
rows | ||
cols | ||
filling | ||
Результат | System |
public MatrixValue ( |
||
values | The values to use. | |
rows | The number of rows in the new matrix. | |
cols | The number of columns in the matrix. | |
Результат | System |
public static ModuloMS ( |
||
left | Must be a matr. | |
right | Must be a scalar. | |
Результат |
public static ModuloSM ( |
||
left | Must be a scalar. | |
right | Must be a matrix. | |
Результат |
public static MultiplyMM ( |
||
left | Must be a matrix. | |
right | Must be a matrix. | |
Результат |
public static MultiplyMS ( |
||
left | Must be a matr. | |
right | Must be a scalar. | |
Результат |
public static MultiplySM ( |
||
left | Must be a scalar. | |
right | Must be a matrix. | |
Результат |
public static One ( int dimension ) : |
||
dimension | int | The rank of the identity matrix. |
Результат |
public static One ( int rows, int columns ) : |
||
rows | int | The number of rows of the identity matrix. |
columns | int | The number of columns of the identity matrix. |
Результат |
public static Ones ( int rows, int cols ) : |
||
rows | int | The number of rows in the new matrix. |
cols | int | The number of columns in the new matrix. |
Результат |
public Perform ( |
||
context | The context where this is happening. | |
argument | The 1-dim or 2-dim indices. | |
Результат |
public Perform ( |
||
context | The context where this is happening. | |
argument | The indices (1-dim or 2-dim). | |
values | The value(s) to set. | |
Результат |
public static PowMS ( |
||
basis | Must be a matr. | |
exponent | Must be a scalar. | |
Результат |
public static PowSM ( |
||
basis | Must be a scalar. | |
exponent | Must be a matrix. | |
Результат |
public SetColumnVector ( int i, |
||
i | int | The index of the column to set the vector to. |
m | The matrix with values to set the i-th column to. | |
Результат |
public SetRowVector ( int j, |
||
j | int | The index of the row to set the vector to. |
m | The matrix with values to set the j-th row to. | |
Результат |
public static SubtractMM ( |
||
left | Must be a matrix. | |
right | Must be a matrix. | |
Результат |
public static SubtractMS ( |
||
left | Must be a matrix. | |
right | Must be a scalar. | |
Результат |
public static SubtractSM ( |
||
left | Must be a scalar. | |
right | Must be a matrix. | |
Результат |
public ToString ( |
||
context | The parse content. | |
Результат | String |
public ToString ( |
||
context | The parse content. | |
exponent | The global exponent that is in use. | |
Результат | String |
public static operator ( ) : System.Boolean | ||
Результат | System.Boolean |
public static operator ( ) : |
||
Результат |
public this ( int i ) : |
||
i | int | The 1-based index. |
Результат |
public this ( int j, int i ) : |
||
j | int | The 1-based row index. |
i | int | The 1-based column index. |
Результат |