|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
LU decomposition of a matrix. More...

Public Member Functions | |
| LUdecomposition (Matrix M, BigInteger mod) | |
| Constructor. | |
| Matrix | solve (final Matrix B) |
| Public Member Functions inherited from frodo2.algorithms.mpc_discsp.Matrix | |
| Matrix (BigInteger[][] A, BigInteger mod) | |
| Constructor. | |
| Matrix (int m, int n, BigInteger mod) | |
| Constructor. | |
| Matrix (BigInteger[] v, BigInteger costModulo) | |
| Constructs a row vector. | |
| String | toString () |
| Matrix | inverse () |
| BigInteger[][] | getArray () |
| BigInteger[][] | getArrayCopy () |
| int | getRowDimension () |
| int | getColumnDimension () |
| Matrix | getMatrix (final int[] r, final int j0, final int j1) |
| Get a submatrix. | |
| Matrix | times (final Matrix B) |
| Multiplication. | |
| void | set (int i, int j, BigInteger s) |
| Sets a coefficient. | |
Private Attributes | |
| int | pivsign |
| The pivot sign(?). | |
| final int[] | piv |
| The pivot(?). | |
Additional Inherited Members | |
| Static Public Member Functions inherited from frodo2.algorithms.mpc_discsp.Matrix | |
| static Matrix | identity (final int m, final int n, BigInteger mod) |
| Generates an identity matrix. | |
| Protected Attributes inherited from frodo2.algorithms.mpc_discsp.Matrix | |
| BigInteger[][] | A |
| The coefficients. | |
| final int | m |
| The number of rows. | |
| final int | n |
| The number of columns. | |
| final BigInteger | mod |
| The prime modulus used for finite-field arithmetic. | |
LU decomposition of a matrix.
| frodo2.algorithms.mpc_discsp.LUdecomposition.LUdecomposition | ( | Matrix | M, |
| BigInteger | mod ) |
Constructor.
| M | the reference matrix |
| mod | the prime modulus |
References frodo2.algorithms.mpc_discsp.Matrix.A, frodo2.algorithms.mpc_discsp.Matrix.getArrayCopy(), frodo2.algorithms.mpc_discsp.Matrix.m, frodo2.algorithms.mpc_discsp.Matrix.Matrix(), frodo2.algorithms.mpc_discsp.Matrix.mod, frodo2.algorithms.mpc_discsp.Matrix.n, piv, and pivsign.

Reimplemented from frodo2.algorithms.mpc_discsp.Matrix.
References frodo2.algorithms.mpc_discsp.Matrix.A, frodo2.algorithms.mpc_discsp.Matrix.getArray(), frodo2.algorithms.mpc_discsp.Matrix.getColumnDimension(), frodo2.algorithms.mpc_discsp.Matrix.getMatrix(), frodo2.algorithms.mpc_discsp.Matrix.getRowDimension(), frodo2.algorithms.mpc_discsp.Matrix.m, frodo2.algorithms.mpc_discsp.Matrix.Matrix(), frodo2.algorithms.mpc_discsp.Matrix.mod, frodo2.algorithms.mpc_discsp.Matrix.n, and piv.
Referenced by frodo2.algorithms.mpc_discsp.Matrix.solve().

|
private |
The pivot(?).
Referenced by LUdecomposition(), and solve().
|
private |
The pivot sign(?).
Referenced by LUdecomposition().