IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
.NET GeneralMatrix class. More...
Public Member Functions | |
GeneralMatrix (int m, int n) | |
Construct an m-by-n matrix of zeros. More... | |
GeneralMatrix (int m, int n, double s) | |
Construct an m-by-n constant matrix. More... | |
GeneralMatrix (double[][] A) | |
Construct a matrix from a 2-D array. More... | |
GeneralMatrix (double[][] A, int m, int n) | |
Construct a matrix quickly without checking arguments. More... | |
GeneralMatrix (double[] vals, int m) | |
Construct a matrix from a one-dimensional packed array More... | |
virtual GeneralMatrix | Copy () |
Make a deep copy of a matrix More... | |
virtual double | GetElement (int i, int j) |
Get a single element. More... | |
virtual GeneralMatrix | GetMatrix (int i0, int i1, int j0, int j1) |
Get a submatrix. More... | |
virtual GeneralMatrix | GetMatrix (int[] r, int[] c) |
Get a submatrix. More... | |
virtual GeneralMatrix | GetMatrix (int i0, int i1, int[] c) |
Get a submatrix. More... | |
virtual GeneralMatrix | GetMatrix (int[] r, int j0, int j1) |
Get a submatrix. More... | |
virtual void | SetElement (int i, int j, double s) |
Set a single element. More... | |
virtual void | SetMatrix (int i0, int i1, int j0, int j1, GeneralMatrix X) |
Set a submatrix. More... | |
virtual void | SetMatrix (int[] r, int[] c, GeneralMatrix X) |
Set a submatrix. More... | |
virtual void | SetMatrix (int[] r, int j0, int j1, GeneralMatrix X) |
Set a submatrix. More... | |
virtual void | SetMatrix (int i0, int i1, int[] c, GeneralMatrix X) |
Set a submatrix. More... | |
virtual GeneralMatrix | Transpose () |
Matrix transpose. More... | |
virtual double | Norm1 () |
One norm More... | |
virtual double | Norm2 () |
Two norm More... | |
virtual double | NormInf () |
Infinity norm More... | |
virtual double | NormF () |
Frobenius norm More... | |
virtual GeneralMatrix | UnaryMinus () |
Unary minus More... | |
virtual GeneralMatrix | Add (GeneralMatrix B) |
C = A + B More... | |
virtual GeneralMatrix | AddEquals (GeneralMatrix B) |
A = A + B More... | |
virtual GeneralMatrix | Subtract (GeneralMatrix B) |
C = A - B More... | |
virtual GeneralMatrix | SubtractEquals (GeneralMatrix B) |
A = A - B More... | |
virtual GeneralMatrix | ArrayMultiply (GeneralMatrix B) |
Element-by-element multiplication, C = A.*B More... | |
virtual GeneralMatrix | ArrayMultiplyEquals (GeneralMatrix B) |
Element-by-element multiplication in place, A = A.*B More... | |
virtual GeneralMatrix | ArrayRightDivide (GeneralMatrix B) |
Element-by-element right division, C = A./B More... | |
virtual GeneralMatrix | ArrayRightDivideEquals (GeneralMatrix B) |
Element-by-element right division in place, A = A./B More... | |
virtual GeneralMatrix | ArrayLeftDivide (GeneralMatrix B) |
Element-by-element left division, C = A. More... | |
virtual GeneralMatrix | ArrayLeftDivideEquals (GeneralMatrix B) |
Element-by-element left division in place, A = A. More... | |
virtual GeneralMatrix | Multiply (double s) |
Multiply a matrix by a scalar, C = s*A More... | |
virtual GeneralMatrix | MultiplyEquals (double s) |
Multiply a matrix by a scalar in place, A = s*A More... | |
virtual GeneralMatrix | Multiply (GeneralMatrix B) |
Linear algebraic matrix multiplication, A * B More... | |
virtual LUDecomposition | LUD () |
LU Decomposition More... | |
virtual QRDecomposition | QRD () |
QR Decomposition More... | |
virtual CholeskyDecomposition | chol () |
Cholesky Decomposition More... | |
virtual SingularValueDecomposition | SVD () |
Singular Value Decomposition More... | |
virtual EigenvalueDecomposition | Eigen () |
Eigenvalue Decomposition More... | |
virtual GeneralMatrix | Solve (GeneralMatrix B) |
Solve A*X = B More... | |
virtual GeneralMatrix | SolveTranspose (GeneralMatrix B) |
Solve X*A = B, which is also A'*X' = B' More... | |
virtual GeneralMatrix | Inverse () |
Matrix inverse or pseudoinverse More... | |
virtual double | Determinant () |
GeneralMatrix determinant More... | |
virtual int | Rank () |
GeneralMatrix rank More... | |
virtual double | Condition () |
Matrix condition (2 norm) More... | |
virtual double | Trace () |
Matrix trace. More... | |
void | Dispose () |
Do not make this method virtual. A derived class should not be able to override this method. More... | |
System.Object | Clone () |
Clone the GeneralMatrix object. More... | |
GeneralMatrix (int m, int n) | |
Construct an m-by-n matrix of zeros. More... | |
GeneralMatrix (int m, int n, double s) | |
Construct an m-by-n constant matrix. More... | |
GeneralMatrix (double[][] A) | |
Construct a matrix from a 2-D array. More... | |
GeneralMatrix (double[][] A, int m, int n) | |
Construct a matrix quickly without checking arguments. More... | |
GeneralMatrix (double[] vals, int m) | |
Construct a matrix from a one-dimensional packed array More... | |
virtual GeneralMatrix | Copy () |
Make a deep copy of a matrix More... | |
virtual double | GetElement (int i, int j) |
Get a single element. More... | |
virtual GeneralMatrix | GetMatrix (int i0, int i1, int j0, int j1) |
Get a submatrix. More... | |
virtual GeneralMatrix | GetMatrix (int[] r, int[] c) |
Get a submatrix. More... | |
virtual GeneralMatrix | GetMatrix (int i0, int i1, int[] c) |
Get a submatrix. More... | |
virtual GeneralMatrix | GetMatrix (int[] r, int j0, int j1) |
Get a submatrix. More... | |
virtual void | SetElement (int i, int j, double s) |
Set a single element. More... | |
virtual void | SetMatrix (int i0, int i1, int j0, int j1, GeneralMatrix X) |
Set a submatrix. More... | |
virtual void | SetMatrix (int[] r, int[] c, GeneralMatrix X) |
Set a submatrix. More... | |
virtual void | SetMatrix (int[] r, int j0, int j1, GeneralMatrix X) |
Set a submatrix. More... | |
virtual void | SetMatrix (int i0, int i1, int[] c, GeneralMatrix X) |
Set a submatrix. More... | |
virtual GeneralMatrix | Transpose () |
Matrix transpose. More... | |
virtual double | Norm1 () |
One norm More... | |
virtual double | Norm2 () |
Two norm More... | |
virtual double | NormInf () |
Infinity norm More... | |
virtual double | NormF () |
Frobenius norm More... | |
virtual GeneralMatrix | UnaryMinus () |
Unary minus More... | |
virtual GeneralMatrix | Add (GeneralMatrix B) |
C = A + B More... | |
virtual GeneralMatrix | AddEquals (GeneralMatrix B) |
A = A + B More... | |
virtual GeneralMatrix | Subtract (GeneralMatrix B) |
C = A - B More... | |
virtual GeneralMatrix | SubtractEquals (GeneralMatrix B) |
A = A - B More... | |
virtual GeneralMatrix | ArrayMultiply (GeneralMatrix B) |
Element-by-element multiplication, C = A.*B More... | |
virtual GeneralMatrix | ArrayMultiplyEquals (GeneralMatrix B) |
Element-by-element multiplication in place, A = A.*B More... | |
virtual GeneralMatrix | ArrayRightDivide (GeneralMatrix B) |
Element-by-element right division, C = A./B More... | |
virtual GeneralMatrix | ArrayRightDivideEquals (GeneralMatrix B) |
Element-by-element right division in place, A = A./B More... | |
virtual GeneralMatrix | ArrayLeftDivide (GeneralMatrix B) |
Element-by-element left division, C = A. More... | |
virtual GeneralMatrix | ArrayLeftDivideEquals (GeneralMatrix B) |
Element-by-element left division in place, A = A. More... | |
virtual GeneralMatrix | Multiply (double s) |
Multiply a matrix by a scalar, C = s*A More... | |
virtual GeneralMatrix | MultiplyEquals (double s) |
Multiply a matrix by a scalar in place, A = s*A More... | |
virtual GeneralMatrix | Multiply (GeneralMatrix B) |
Linear algebraic matrix multiplication, A * B More... | |
virtual LUDecomposition | LUD () |
LU Decomposition More... | |
virtual QRDecomposition | QRD () |
QR Decomposition More... | |
virtual CholeskyDecomposition | chol () |
Cholesky Decomposition More... | |
virtual SingularValueDecomposition | SVD () |
Singular Value Decomposition More... | |
virtual EigenvalueDecomposition | Eigen () |
Eigenvalue Decomposition More... | |
virtual GeneralMatrix | Solve (GeneralMatrix B) |
Solve A*X = B More... | |
virtual GeneralMatrix | SolveTranspose (GeneralMatrix B) |
Solve X*A = B, which is also A'*X' = B' More... | |
virtual GeneralMatrix | Inverse () |
Matrix inverse or pseudoinverse More... | |
virtual double | Determinant () |
GeneralMatrix determinant More... | |
virtual int | Rank () |
GeneralMatrix rank More... | |
virtual double | Condition () |
Matrix condition (2 norm) More... | |
virtual double | Trace () |
Matrix trace. More... | |
void | Dispose () |
Do not make this method virtual. A derived class should not be able to override this method. More... | |
System.Object | Clone () |
Clone the GeneralMatrix object. More... | |
Static Public Member Functions | |
static GeneralMatrix | Create (double[][] A) |
Construct a matrix from a copy of a 2-D array. More... | |
static GeneralMatrix | operator+ (GeneralMatrix m1, GeneralMatrix m2) |
Addition of matrices More... | |
static GeneralMatrix | operator- (GeneralMatrix m1, GeneralMatrix m2) |
Subtraction of matrices More... | |
static GeneralMatrix | operator* (GeneralMatrix m1, GeneralMatrix m2) |
Multiplication of matrices More... | |
static GeneralMatrix | Random (int m, int n) |
Generate matrix with random elements More... | |
static GeneralMatrix | Identity (int m, int n) |
Generate identity matrix More... | |
static GeneralMatrix | Create (double[][] A) |
Construct a matrix from a copy of a 2-D array. More... | |
static GeneralMatrix | operator+ (GeneralMatrix m1, GeneralMatrix m2) |
Addition of matrices More... | |
static GeneralMatrix | operator- (GeneralMatrix m1, GeneralMatrix m2) |
Subtraction of matrices More... | |
static GeneralMatrix | operator* (GeneralMatrix m1, GeneralMatrix m2) |
Multiplication of matrices More... | |
static GeneralMatrix | Random (int m, int n) |
Generate matrix with random elements More... | |
static GeneralMatrix | Identity (int m, int n) |
Generate identity matrix More... | |
Properties | |
virtual double[][] | Array [get] |
Access the internal two-dimensional array. More... | |
virtual double[][] | ArrayCopy [get] |
Copy the internal two-dimensional array. More... | |
virtual double[] | ColumnPackedCopy [get] |
Make a one-dimensional column packed copy of the internal array. More... | |
virtual double[] | RowPackedCopy [get] |
Make a one-dimensional row packed copy of the internal array. More... | |
virtual int | RowDimension [get] |
Get row dimension. More... | |
virtual int | ColumnDimension [get] |
Get column dimension. More... | |
Private Member Functions | |
void | CheckMatrixDimensions (GeneralMatrix B) |
Check if size(A) == size(B) * More... | |
void | Dispose (bool disposing) |
Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed. More... | |
~GeneralMatrix () | |
This destructor will run only if the Dispose method does not get called. It gives your base class the opportunity to finalize. Do not provide destructors in types derived from this class. More... | |
void ISerializable. | GetObjectData (SerializationInfo info, StreamingContext context) |
A method called when serializing this class More... | |
void | CheckMatrixDimensions (GeneralMatrix B) |
Check if size(A) == size(B) * More... | |
void | Dispose (bool disposing) |
Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed. More... | |
~GeneralMatrix () | |
This destructor will run only if the Dispose method does not get called. It gives your base class the opportunity to finalize. Do not provide destructors in types derived from this class. More... | |
void ISerializable. | GetObjectData (SerializationInfo info, StreamingContext context) |
A method called when serializing this class More... | |
Private Attributes | |
double[][] | A |
Array for internal storage of elements. internal array storage. More... | |
int | m |
Row and column dimensions. row dimension. column dimension. More... | |
int | n |
.NET GeneralMatrix class.
The .NET GeneralMatrix Class provides the fundamental operations of numerical linear algebra. Various constructors create Matrices from two dimensional arrays of double precision floating point numbers. Various "gets" and "sets" provide access to submatrices and matrix elements. Several methods implement basic matrix arithmetic, including matrix addition and multiplication, matrix norms, and element-by-element array operations. Methods for reading and printing matrices are also included. All the operations in this version of the GeneralMatrix Class involve real matrices. Complex matrices may be handled in a future version.
Five fundamental matrix decompositions, which consist of pairs or triples of matrices, permutation vectors, and the like, produce results in five decomposition classes. These decompositions are accessed by the GeneralMatrix class to compute solutions of simultaneous linear equations, determinants, inverses and other matrix functions. The five decompositions are:
Solve a linear system A x = b and compute the residual norm, ||b - A x||.
double[][] vals = {{1.,2.,3},{4.,5.,6.},{7.,8.,10.}}; GeneralMatrix A = new GeneralMatrix(vals); GeneralMatrix b = GeneralMatrix.Random(3,1); GeneralMatrix x = A.Solve(b); GeneralMatrix r = A.Multiply(x).Subtract(b); double rnorm = r.NormInf();
<author> The MathWorks, Inc. and the National Institute of Standards and Technology. </author> <version> 5 August 1998 </version>
|
inline |
Construct an m-by-n matrix of zeros.
m | Number of rows. |
n | Number of colums. |
References DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
Referenced by DotNetMatrix.GeneralMatrix.Add(), DotNetMatrix.GeneralMatrix.ArrayLeftDivide(), DotNetMatrix.GeneralMatrix.ArrayMultiply(), DotNetMatrix.GeneralMatrix.ArrayRightDivide(), DotNetMatrix.GeneralMatrix.Copy(), DotNetMatrix.GeneralMatrix.Create(), DotNetMatrix.GeneralMatrix.GetMatrix(), DotNetMatrix.GeneralMatrix.Identity(), DotNetMatrix.GeneralMatrix.Multiply(), DotNetMatrix.GeneralMatrix.Random(), DotNetMatrix.GeneralMatrix.Subtract(), DotNetMatrix.GeneralMatrix.Transpose(), and DotNetMatrix.GeneralMatrix.UnaryMinus().
|
inline |
Construct an m-by-n constant matrix.
m | Number of rows. |
n | Number of colums. |
s | Fill the matrix with this scalar value. |
References DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inline |
Construct a matrix from a 2-D array.
A | Two-dimensional array of doubles. |
System.ArgumentException | All rows must have the same length |
References DotNetMatrix.GeneralMatrix.A, and DotNetMatrix.GeneralMatrix.m.
|
inline |
Construct a matrix quickly without checking arguments.
A | Two-dimensional array of doubles. |
m | Number of rows. |
n | Number of colums. |
References DotNetMatrix.GeneralMatrix.A, DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inline |
Construct a matrix from a one-dimensional packed array
vals | One-dimensional array of doubles, packed by columns (ala Fortran). |
m | Number of rows. |
System.ArgumentException | Array length must be a multiple of m. |
References DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlineprivate |
This destructor will run only if the Dispose method does not get called. It gives your base class the opportunity to finalize. Do not provide destructors in types derived from this class.
References DotNetMatrix.GeneralMatrix.Dispose().
|
inline |
Construct an m-by-n matrix of zeros.
m | Number of rows. |
n | Number of colums. |
References DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inline |
Construct an m-by-n constant matrix.
m | Number of rows. |
n | Number of colums. |
s | Fill the matrix with this scalar value. |
References DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inline |
Construct a matrix from a 2-D array.
A | Two-dimensional array of doubles. |
System.ArgumentException | All rows must have the same length |
References DotNetMatrix.GeneralMatrix.A, and DotNetMatrix.GeneralMatrix.m.
|
inline |
Construct a matrix quickly without checking arguments.
A | Two-dimensional array of doubles. |
m | Number of rows. |
n | Number of colums. |
References DotNetMatrix.GeneralMatrix.A, DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inline |
Construct a matrix from a one-dimensional packed array
vals | One-dimensional array of doubles, packed by columns (ala Fortran). |
m | Number of rows. |
System.ArgumentException | Array length must be a multiple of m. |
References DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlineprivate |
This destructor will run only if the Dispose method does not get called. It gives your base class the opportunity to finalize. Do not provide destructors in types derived from this class.
References DotNetMatrix.GeneralMatrix.Dispose().
|
inlinestatic |
Construct a matrix from a copy of a 2-D array.
A | Two-dimensional array of doubles. |
System.ArgumentException | All rows must have the same length |
References DotNetMatrix.GeneralMatrix.Array, DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
inlinevirtual |
Make a deep copy of a matrix
References DotNetMatrix.GeneralMatrix.Array, DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
Referenced by DotNetMatrix.GeneralMatrix.Clone(), and DotNetMatrix.test.TestMatrix.Main().
|
inlinevirtual |
Get a single element.
i | Row index. |
j | Column index. |
System.IndexOutOfRangeException |
Referenced by DotNetMatrix.examples.MagicSquareExample.magic(), DotNetMatrix.test.TestMatrix.Main(), and DotNetMatrix.GeneralMatrix.SetMatrix().
|
inlinevirtual |
Get a submatrix.
i0 | Initial row index |
i1 | Final row index |
j0 | Initial column index |
j1 | Final column index |
System.IndexOutOfRangeException | Submatrix indices |
References DotNetMatrix.GeneralMatrix.Array, and DotNetMatrix.GeneralMatrix.GeneralMatrix().
Referenced by DotNetMatrix.test.TestMatrix.Main(), DotNetMatrix.examples.MagicSquareExample.Main(), DotNetMatrix.QRDecomposition.Solve(), and DotNetMatrix.LUDecomposition.Solve().
|
inlinevirtual |
Get a submatrix.
r | Array of row indices. |
c | Array of column indices. |
System.IndexOutOfRangeException | Submatrix indices |
References DotNetMatrix.GeneralMatrix.Array, and DotNetMatrix.GeneralMatrix.GeneralMatrix().
|
inlinevirtual |
Get a submatrix.
i0 | Initial row index |
i1 | Final row index |
c | Array of column indices. |
System.IndexOutOfRangeException | Submatrix indices |
References DotNetMatrix.GeneralMatrix.Array, and DotNetMatrix.GeneralMatrix.GeneralMatrix().
|
inlinevirtual |
Get a submatrix.
r | Array of row indices. |
j0 | Initial column index |
j1 | Final column index |
System.IndexOutOfRangeException | Submatrix indices |
References DotNetMatrix.GeneralMatrix.Array, and DotNetMatrix.GeneralMatrix.GeneralMatrix().
|
inlinevirtual |
Set a single element.
i | Row index. |
j | Column index. |
s | A(i,j). |
System.IndexOutOfRangeException |
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
inlinevirtual |
Set a submatrix.
i0 | Initial row index |
i1 | Final row index |
j0 | Initial column index |
j1 | Final column index |
X | A(i0:i1,j0:j1) |
System.IndexOutOfRangeException | Submatrix indices |
References DotNetMatrix.GeneralMatrix.GetElement().
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
inlinevirtual |
Set a submatrix.
r | Array of row indices. |
c | Array of column indices. |
X | A(r(:),c(:)) |
System.IndexOutOfRangeException | Submatrix indices |
References DotNetMatrix.GeneralMatrix.GetElement().
|
inlinevirtual |
Set a submatrix.
r | Array of row indices. |
j0 | Initial column index |
j1 | Final column index |
X | A(r(:),j0:j1) |
System.IndexOutOfRangeException | Submatrix indices |
References DotNetMatrix.GeneralMatrix.GetElement().
|
inlinevirtual |
Set a submatrix.
i0 | Initial row index |
i1 | Final row index |
c | Array of column indices. |
X | A(i0:i1,c(:)) |
System.IndexOutOfRangeException | Submatrix indices |
References DotNetMatrix.GeneralMatrix.GetElement().
|
inlinevirtual |
Matrix transpose.
References DotNetMatrix.GeneralMatrix.Array, DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
Referenced by DotNetMatrix.test.TestMatrix.Main(), DotNetMatrix.examples.MagicSquareExample.Main(), and DotNetMatrix.GeneralMatrix.SolveTranspose().
|
inlinevirtual |
One norm
References DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
Referenced by DotNetMatrix.test.TestMatrix.check(), DotNetMatrix.test.TestMatrix.Main(), and DotNetMatrix.examples.MagicSquareExample.Main().
|
inlinevirtual |
|
inlinevirtual |
Infinity norm
References DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
inlinevirtual |
Frobenius norm
References DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
inlinevirtual |
Unary minus
References DotNetMatrix.GeneralMatrix.Array, DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
inlinevirtual |
C = A + B
B | another matrix |
References DotNetMatrix.GeneralMatrix.A, DotNetMatrix.GeneralMatrix.Array, DotNetMatrix.GeneralMatrix.CheckMatrixDimensions(), DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
Referenced by DotNetMatrix.test.TestMatrix.Main(), DotNetMatrix.examples.MagicSquareExample.Main(), and DotNetMatrix.GeneralMatrix.operator+().
|
inlinevirtual |
A = A + B
B | another matrix |
References DotNetMatrix.GeneralMatrix.A, DotNetMatrix.GeneralMatrix.CheckMatrixDimensions(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
inlinevirtual |
C = A - B
B | another matrix |
References DotNetMatrix.GeneralMatrix.A, DotNetMatrix.GeneralMatrix.Array, DotNetMatrix.GeneralMatrix.CheckMatrixDimensions(), DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
Referenced by DotNetMatrix.test.TestMatrix.check(), DotNetMatrix.test.TestMatrix.Main(), DotNetMatrix.examples.MagicSquareExample.Main(), and DotNetMatrix.GeneralMatrix.operator-().
|
inlinevirtual |
A = A - B
B | another matrix |
References DotNetMatrix.GeneralMatrix.A, DotNetMatrix.GeneralMatrix.CheckMatrixDimensions(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
inlinevirtual |
Element-by-element multiplication, C = A.*B
B | another matrix |
References DotNetMatrix.GeneralMatrix.A, DotNetMatrix.GeneralMatrix.Array, DotNetMatrix.GeneralMatrix.CheckMatrixDimensions(), DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
inlinevirtual |
Element-by-element multiplication in place, A = A.*B
B | another matrix |
References DotNetMatrix.GeneralMatrix.A, DotNetMatrix.GeneralMatrix.CheckMatrixDimensions(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
inlinevirtual |
Element-by-element right division, C = A./B
B | another matrix |
References DotNetMatrix.GeneralMatrix.A, DotNetMatrix.GeneralMatrix.Array, DotNetMatrix.GeneralMatrix.CheckMatrixDimensions(), DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
inlinevirtual |
Element-by-element right division in place, A = A./B
B | another matrix |
References DotNetMatrix.GeneralMatrix.A, DotNetMatrix.GeneralMatrix.CheckMatrixDimensions(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
inlinevirtual |
Element-by-element left division, C = A.
B | another matrix |
References DotNetMatrix.GeneralMatrix.A, DotNetMatrix.GeneralMatrix.Array, DotNetMatrix.GeneralMatrix.CheckMatrixDimensions(), DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
inlinevirtual |
Element-by-element left division in place, A = A.
B | another matrix |
References DotNetMatrix.GeneralMatrix.A, DotNetMatrix.GeneralMatrix.CheckMatrixDimensions(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
inlinevirtual |
Multiply a matrix by a scalar, C = s*A
s | scalar |
References DotNetMatrix.GeneralMatrix.Array, DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
Referenced by DotNetMatrix.test.TestMatrix.Main(), DotNetMatrix.examples.MagicSquareExample.Main(), and DotNetMatrix.GeneralMatrix.operator*().
|
inlinevirtual |
Multiply a matrix by a scalar in place, A = s*A
s | scalar |
References DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinevirtual |
Linear algebraic matrix multiplication, A * B
B | another matrix |
System.ArgumentException | Matrix inner dimensions must agree. |
References DotNetMatrix.GeneralMatrix.A, DotNetMatrix.GeneralMatrix.Array, DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Multiplication of matrices
m1 | |
m2 |
References DotNetMatrix.GeneralMatrix.Multiply().
|
inlinevirtual |
LU Decomposition
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
inlinevirtual |
QR Decomposition
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
inlinevirtual |
Cholesky Decomposition
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
inlinevirtual |
Singular Value Decomposition
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
inlinevirtual |
Eigenvalue Decomposition
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
inlinevirtual |
Solve A*X = B
B | right hand side |
Referenced by DotNetMatrix.GeneralMatrix.Inverse(), DotNetMatrix.test.TestMatrix.Main(), DotNetMatrix.GeneralMatrix.Solve(), and DotNetMatrix.GeneralMatrix.SolveTranspose().
|
inlinevirtual |
Solve X*A = B, which is also A'*X' = B'
B | right hand side |
References DotNetMatrix.GeneralMatrix.Solve(), and DotNetMatrix.GeneralMatrix.Transpose().
|
inlinevirtual |
Matrix inverse or pseudoinverse
References DotNetMatrix.GeneralMatrix.Identity(), and DotNetMatrix.GeneralMatrix.Solve().
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
inlinevirtual |
GeneralMatrix determinant
References DotNetMatrix.LUDecomposition.Determinant().
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
inlinevirtual |
GeneralMatrix rank
References DotNetMatrix.SingularValueDecomposition.Rank().
Referenced by DotNetMatrix.test.TestMatrix.Main(), and DotNetMatrix.examples.MagicSquareExample.Main().
|
inlinevirtual |
Matrix condition (2 norm)
References DotNetMatrix.SingularValueDecomposition.Condition().
Referenced by DotNetMatrix.test.TestMatrix.Main(), and DotNetMatrix.examples.MagicSquareExample.Main().
|
inlinevirtual |
Matrix trace.
Referenced by DotNetMatrix.test.TestMatrix.Main(), and DotNetMatrix.examples.MagicSquareExample.Main().
|
inlinestatic |
Generate matrix with random elements
m | Number of rows. |
n | Number of colums. |
References DotNetMatrix.GeneralMatrix.A, DotNetMatrix.GeneralMatrix.Array, DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
inlinestatic |
Generate identity matrix
m | Number of rows. |
n | Number of colums. |
References DotNetMatrix.GeneralMatrix.A, DotNetMatrix.GeneralMatrix.Array, DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
Referenced by DotNetMatrix.GeneralMatrix.Inverse(), and DotNetMatrix.test.TestMatrix.Main().
|
inlineprivate |
Check if size(A) == size(B) *
References DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
Referenced by DotNetMatrix.GeneralMatrix.Add(), DotNetMatrix.GeneralMatrix.AddEquals(), DotNetMatrix.GeneralMatrix.ArrayLeftDivide(), DotNetMatrix.GeneralMatrix.ArrayLeftDivideEquals(), DotNetMatrix.GeneralMatrix.ArrayMultiply(), DotNetMatrix.GeneralMatrix.ArrayMultiplyEquals(), DotNetMatrix.GeneralMatrix.ArrayRightDivide(), DotNetMatrix.GeneralMatrix.ArrayRightDivideEquals(), DotNetMatrix.GeneralMatrix.Subtract(), and DotNetMatrix.GeneralMatrix.SubtractEquals().
|
inline |
Do not make this method virtual. A derived class should not be able to override this method.
Referenced by DotNetMatrix.GeneralMatrix.~GeneralMatrix().
|
inlineprivate |
Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed.
disposing |
|
inline |
Clone the GeneralMatrix object.
References DotNetMatrix.GeneralMatrix.Copy().
|
inlineprivate |
A method called when serializing this class
info | |
context |
|
inlinestatic |
Construct a matrix from a copy of a 2-D array.
A | Two-dimensional array of doubles. |
System.ArgumentException | All rows must have the same length |
References DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinevirtual |
Make a deep copy of a matrix
References DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinevirtual |
Get a single element.
i | Row index. |
j | Column index. |
System.IndexOutOfRangeException |
|
inlinevirtual |
Get a submatrix.
i0 | Initial row index |
i1 | Final row index |
j0 | Initial column index |
j1 | Final column index |
System.IndexOutOfRangeException | Submatrix indices |
References DotNetMatrix.GeneralMatrix.GeneralMatrix().
|
inlinevirtual |
Get a submatrix.
r | Array of row indices. |
c | Array of column indices. |
System.IndexOutOfRangeException | Submatrix indices |
References DotNetMatrix.GeneralMatrix.GeneralMatrix().
|
inlinevirtual |
Get a submatrix.
i0 | Initial row index |
i1 | Final row index |
c | Array of column indices. |
System.IndexOutOfRangeException | Submatrix indices |
References DotNetMatrix.GeneralMatrix.GeneralMatrix().
|
inlinevirtual |
Get a submatrix.
r | Array of row indices. |
j0 | Initial column index |
j1 | Final column index |
System.IndexOutOfRangeException | Submatrix indices |
References DotNetMatrix.GeneralMatrix.GeneralMatrix().
|
inlinevirtual |
Set a single element.
i | Row index. |
j | Column index. |
s | A(i,j). |
System.IndexOutOfRangeException |
|
inlinevirtual |
Set a submatrix.
i0 | Initial row index |
i1 | Final row index |
j0 | Initial column index |
j1 | Final column index |
X | A(i0:i1,j0:j1) |
System.IndexOutOfRangeException | Submatrix indices |
|
inlinevirtual |
Set a submatrix.
r | Array of row indices. |
c | Array of column indices. |
X | A(r(:),c(:)) |
System.IndexOutOfRangeException | Submatrix indices |
|
inlinevirtual |
Set a submatrix.
r | Array of row indices. |
j0 | Initial column index |
j1 | Final column index |
X | A(r(:),j0:j1) |
System.IndexOutOfRangeException | Submatrix indices |
|
inlinevirtual |
Set a submatrix.
i0 | Initial row index |
i1 | Final row index |
c | Array of column indices. |
X | A(i0:i1,c(:)) |
System.IndexOutOfRangeException | Submatrix indices |
|
inlinevirtual |
Matrix transpose.
References DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinevirtual |
One norm
References DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinevirtual |
|
inlinevirtual |
Infinity norm
References DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinevirtual |
Frobenius norm
References DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinevirtual |
Unary minus
References DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinevirtual |
C = A + B
B | another matrix |
References DotNetMatrix.GeneralMatrix.CheckMatrixDimensions(), DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinevirtual |
A = A + B
B | another matrix |
References DotNetMatrix.GeneralMatrix.CheckMatrixDimensions(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinevirtual |
C = A - B
B | another matrix |
References DotNetMatrix.GeneralMatrix.CheckMatrixDimensions(), DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinevirtual |
A = A - B
B | another matrix |
References DotNetMatrix.GeneralMatrix.CheckMatrixDimensions(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinevirtual |
Element-by-element multiplication, C = A.*B
B | another matrix |
References DotNetMatrix.GeneralMatrix.CheckMatrixDimensions(), DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinevirtual |
Element-by-element multiplication in place, A = A.*B
B | another matrix |
References DotNetMatrix.GeneralMatrix.CheckMatrixDimensions(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinevirtual |
Element-by-element right division, C = A./B
B | another matrix |
References DotNetMatrix.GeneralMatrix.CheckMatrixDimensions(), DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinevirtual |
Element-by-element right division in place, A = A./B
B | another matrix |
References DotNetMatrix.GeneralMatrix.CheckMatrixDimensions(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinevirtual |
Element-by-element left division, C = A.
B | another matrix |
References DotNetMatrix.GeneralMatrix.CheckMatrixDimensions(), DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinevirtual |
Element-by-element left division in place, A = A.
B | another matrix |
References DotNetMatrix.GeneralMatrix.CheckMatrixDimensions(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinevirtual |
Multiply a matrix by a scalar, C = s*A
s | scalar |
References DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinevirtual |
Multiply a matrix by a scalar in place, A = s*A
s | scalar |
References DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinevirtual |
Linear algebraic matrix multiplication, A * B
B | another matrix |
System.ArgumentException | Matrix inner dimensions must agree. |
References DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinestatic |
Addition of matrices
m1 | |
m2 |
|
inlinestatic |
Subtraction of matrices
m1 | |
m2 |
|
inlinestatic |
Multiplication of matrices
m1 | |
m2 |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Solve A*X = B
B | right hand side |
References DotNetMatrix.GeneralMatrix.Solve().
|
inlinevirtual |
Solve X*A = B, which is also A'*X' = B'
B | right hand side |
References DotNetMatrix.GeneralMatrix.Solve(), and DotNetMatrix.GeneralMatrix.Transpose().
|
inlinevirtual |
Matrix inverse or pseudoinverse
References DotNetMatrix.GeneralMatrix.Identity(), and DotNetMatrix.GeneralMatrix.Solve().
|
inlinevirtual |
|
inlinevirtual |
GeneralMatrix rank
References DotNetMatrix.SingularValueDecomposition.Rank().
|
inlinevirtual |
Matrix condition (2 norm)
References DotNetMatrix.SingularValueDecomposition.Condition().
|
inlinevirtual |
Matrix trace.
|
inlinestatic |
Generate matrix with random elements
m | Number of rows. |
n | Number of colums. |
References DotNetMatrix.GeneralMatrix.A, DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlinestatic |
Generate identity matrix
m | Number of rows. |
n | Number of colums. |
References DotNetMatrix.GeneralMatrix.A, DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.m, and DotNetMatrix.GeneralMatrix.n.
|
inlineprivate |
Check if size(A) == size(B) *
|
inline |
Do not make this method virtual. A derived class should not be able to override this method.
|
inlineprivate |
Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed.
disposing |
|
inline |
Clone the GeneralMatrix object.
References DotNetMatrix.GeneralMatrix.Copy().
|
inlineprivate |
A method called when serializing this class
info | |
context |
|
private |
Array for internal storage of elements. internal array storage.
Referenced by DotNetMatrix.GeneralMatrix.Add(), DotNetMatrix.GeneralMatrix.AddEquals(), DotNetMatrix.GeneralMatrix.ArrayLeftDivide(), DotNetMatrix.GeneralMatrix.ArrayLeftDivideEquals(), DotNetMatrix.GeneralMatrix.ArrayMultiply(), DotNetMatrix.GeneralMatrix.ArrayMultiplyEquals(), DotNetMatrix.GeneralMatrix.ArrayRightDivide(), DotNetMatrix.GeneralMatrix.ArrayRightDivideEquals(), DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.Identity(), DotNetMatrix.GeneralMatrix.Multiply(), DotNetMatrix.GeneralMatrix.Random(), DotNetMatrix.GeneralMatrix.Subtract(), and DotNetMatrix.GeneralMatrix.SubtractEquals().
|
private |
Row and column dimensions. row dimension. column dimension.
Referenced by DotNetMatrix.GeneralMatrix.Add(), DotNetMatrix.GeneralMatrix.AddEquals(), DotNetMatrix.GeneralMatrix.ArrayLeftDivide(), DotNetMatrix.GeneralMatrix.ArrayLeftDivideEquals(), DotNetMatrix.GeneralMatrix.ArrayMultiply(), DotNetMatrix.GeneralMatrix.ArrayMultiplyEquals(), DotNetMatrix.GeneralMatrix.ArrayRightDivide(), DotNetMatrix.GeneralMatrix.ArrayRightDivideEquals(), DotNetMatrix.GeneralMatrix.CheckMatrixDimensions(), DotNetMatrix.GeneralMatrix.Copy(), DotNetMatrix.GeneralMatrix.Create(), DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.Identity(), DotNetMatrix.GeneralMatrix.Multiply(), DotNetMatrix.GeneralMatrix.MultiplyEquals(), DotNetMatrix.GeneralMatrix.Norm1(), DotNetMatrix.GeneralMatrix.NormF(), DotNetMatrix.GeneralMatrix.NormInf(), DotNetMatrix.GeneralMatrix.Random(), DotNetMatrix.GeneralMatrix.Subtract(), DotNetMatrix.GeneralMatrix.SubtractEquals(), DotNetMatrix.GeneralMatrix.Transpose(), and DotNetMatrix.GeneralMatrix.UnaryMinus().
|
private |
Referenced by DotNetMatrix.GeneralMatrix.Add(), DotNetMatrix.GeneralMatrix.AddEquals(), DotNetMatrix.GeneralMatrix.ArrayLeftDivide(), DotNetMatrix.GeneralMatrix.ArrayLeftDivideEquals(), DotNetMatrix.GeneralMatrix.ArrayMultiply(), DotNetMatrix.GeneralMatrix.ArrayMultiplyEquals(), DotNetMatrix.GeneralMatrix.ArrayRightDivide(), DotNetMatrix.GeneralMatrix.ArrayRightDivideEquals(), DotNetMatrix.GeneralMatrix.CheckMatrixDimensions(), DotNetMatrix.GeneralMatrix.Copy(), DotNetMatrix.GeneralMatrix.Create(), DotNetMatrix.GeneralMatrix.GeneralMatrix(), DotNetMatrix.GeneralMatrix.Identity(), DotNetMatrix.GeneralMatrix.Multiply(), DotNetMatrix.GeneralMatrix.MultiplyEquals(), DotNetMatrix.GeneralMatrix.Norm1(), DotNetMatrix.GeneralMatrix.NormF(), DotNetMatrix.GeneralMatrix.NormInf(), DotNetMatrix.GeneralMatrix.Random(), DotNetMatrix.GeneralMatrix.Subtract(), DotNetMatrix.GeneralMatrix.SubtractEquals(), DotNetMatrix.GeneralMatrix.Transpose(), and DotNetMatrix.GeneralMatrix.UnaryMinus().
|
get |
Access the internal two-dimensional array.
Referenced by DotNetMatrix.GeneralMatrix.Add(), DotNetMatrix.GeneralMatrix.ArrayLeftDivide(), DotNetMatrix.GeneralMatrix.ArrayMultiply(), DotNetMatrix.GeneralMatrix.ArrayRightDivide(), DotNetMatrix.CholeskyDecomposition.CholeskyDecomposition(), DotNetMatrix.GeneralMatrix.Copy(), DotNetMatrix.GeneralMatrix.Create(), DotNetMatrix.EigenvalueDecomposition.EigenvalueDecomposition(), DotNetMatrix.GeneralMatrix.GetMatrix(), DotNetMatrix.GeneralMatrix.Identity(), DotNetMatrix.test.TestMatrix.Main(), DotNetMatrix.GeneralMatrix.Multiply(), DotNetMatrix.GeneralMatrix.Random(), DotNetMatrix.LUDecomposition.Solve(), DotNetMatrix.GeneralMatrix.Subtract(), DotNetMatrix.GeneralMatrix.Transpose(), and DotNetMatrix.GeneralMatrix.UnaryMinus().
|
get |
Copy the internal two-dimensional array.
Referenced by DotNetMatrix.LUDecomposition.LUDecomposition(), DotNetMatrix.test.TestMatrix.Main(), DotNetMatrix.QRDecomposition.QRDecomposition(), DotNetMatrix.SingularValueDecomposition.SingularValueDecomposition(), DotNetMatrix.CholeskyDecomposition.Solve(), and DotNetMatrix.QRDecomposition.Solve().
|
get |
Make a one-dimensional column packed copy of the internal array.
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
get |
Make a one-dimensional row packed copy of the internal array.
Referenced by DotNetMatrix.test.TestMatrix.Main().
|
get |
Get row dimension.
Referenced by DotNetMatrix.CholeskyDecomposition.CholeskyDecomposition(), DotNetMatrix.LUDecomposition.LUDecomposition(), DotNetMatrix.test.TestMatrix.Main(), DotNetMatrix.QRDecomposition.QRDecomposition(), DotNetMatrix.SingularValueDecomposition.SingularValueDecomposition(), DotNetMatrix.CholeskyDecomposition.Solve(), DotNetMatrix.QRDecomposition.Solve(), and DotNetMatrix.LUDecomposition.Solve().
|
get |
Get column dimension.
Referenced by DotNetMatrix.CholeskyDecomposition.CholeskyDecomposition(), DotNetMatrix.EigenvalueDecomposition.EigenvalueDecomposition(), DotNetMatrix.LUDecomposition.LUDecomposition(), DotNetMatrix.test.TestMatrix.Main(), DotNetMatrix.QRDecomposition.QRDecomposition(), DotNetMatrix.SingularValueDecomposition.SingularValueDecomposition(), DotNetMatrix.CholeskyDecomposition.Solve(), DotNetMatrix.QRDecomposition.Solve(), and DotNetMatrix.LUDecomposition.Solve().