IP Library Granted Patent US 7,089,159
Granted Patent B2
US 7,089,159 · App. 09/822,512 · Granted Aug 8, 2006

Method and apparatus for matrix reordering and electronic circuit simulation

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,089,159
App. No.
09/822,512
Granted
Aug 8, 2006
Kind
B2
Abstract

A matrix reordering method performs reordering of elements of a coefficient matrix created based on coefficients of linear simultaneous equations whose solutions are to be produced by parallel processing of processors of a computer in accordance with Gaussian elimination. Herein, degrees corresponding to numbers of non-zero elements are calculated with respect to all pivots included in the coefficient matrix. Then, a first pivot whose degree is under a threshold (mindeg+α) is selected from among the pivots of the coefficient matrix, while a second pivot whose critical path length is minimum is also selected from among the pivots of the coefficient matrix. Replacement of elements is performed between the first pivot and second pivot to complete reordering with respect to the first pivot. In addition, non-zero elements, which are newly produced by the Gaussian elimination of the first pivot, are added to the coefficient matrix. If a degree or a parameter of the first pivot is under a threshold (β), reordering is performed on a partial matrix whose elements are not eliminated and are selected from among the elements of the coefficient matrix in accordance with the nested dissection method, so that non-zero elements, which are newly produced by the Gaussian elimination of the partial matrix, are added to the coefficient matrix. Because the critical path length can be reduced as compared with conventional techniques, it is possible to considerably reduce a total processing time of the parallel processing to secure high-speed performance of the Gaussian elimination.

Claims (51)

1. A matrix reordering method for reordering elements of a coefficient matrix whose structure corresponds to coefficients of linear simultaneous equations whose solutions are to be produced by parallel processing of processors of a computer in accordance with Gaussian elimination, said matrix reordering method comprising the steps of:

based on a number of non-zero elements included in the coefficient matrix and an accumulative processing time of the Gaussian elimination of the coefficient matrix, determining a first combination of row and column and a second combination of row and column, which are selected from among rows and columns of the coefficient matrix; and

performing replacement of elements between the first combination of row and column and the second combination of row and column within the coefficient matrix

using the coefficient matrix for solving the linear simultaneous equations.

2. A matrix reordering method for reordering elements of a coefficient matrix whose structure corresponds to coefficients of linear simultaneous equations whose solutions are to be produced by parallel processing of processors of a computer in accordance with Gaussian elimination, said matrix reordering method comprising the steps of:

based on a number of non-zero elements included in the coefficient matrix and lengths of critical paths created by the Gaussian elimination of the coefficient matrix, determining a first combination of row and column and a second combination of row and column, which are selected from among rows and columns of the coefficient matrix; and

performing replacement of elements between the first combination of row and column and the second combination of row and column within the coefficient matrix

using the coefficient matrix for solving the linear simultaneous equations.

3. A matrix reordering method according to claim 1 or 2 further comprising the step of:

in accordance with a prescribed condition, selectively performing either the replacement of elements between the first and second combinations of rows and columns or secondary replacement of elements between a third combination of row and column and a fourth combination of row and column, which are selected based on symmetry of the coefficient matrix.

4. A matrix reordering method according to claim 3 further comprising the step of:

creating a symmetric coefficient matrix by transposition of a non-symmetric coefficient matrix that is given as the coefficient matrix, so that the secondary replacement is performed on elements of the symmetric coefficient matrix between the third and fourth combinations of rows and columns, which are selected based on symmetry of the symmetric coefficient matrix.

5. A matrix reordering apparatus for reordering elements of a coefficient matrix whose structure corresponds to coefficients of linear simultaneous equations whose solutions are to be produced by parallel processing of processors of a computer in accordance with Gaussian elimination, said matrix reordering apparatus comprising:

a determining means for based on a number of non-zero elements included in the coefficient matrix and an accumulative processing time of the Gaussian elimination of the coefficient matrix, determining a first combination of row and column and a second combination of row and column, which are selected from among rows and columns of the coefficient matrix; and

a replacing means for performing replacement of elements between the first combination of row and column and the second combination of row and column within the coefficient matrix

wherein the apparatus is operable to use the coefficient matrix for solving the linear simultaneous equations.

6. A matrix reordering apparatus for reordering elements of a coefficient matrix whose structure corresponds to coefficients of linear simultaneous equations whose solutions are to be produced by parallel processing of processors of a computer in accordance with Gaussian elimination, said matrix reordering apparatus comprising:

a determining means for based on a number of non-zero elements included in the coefficient matrix and lengths of critical paths created by the Gaussian elimination of the coefficient matrix, determining a first combination of row and column and a second combination of row and column, which are selected from among rows and columns of the coefficient matrix; and

a replacing means for performing replacement of elements between the first combination of row and column and the second combination of row and column within the coefficient matrix

wherein the apparatus is operable to use the coefficient matrix for solving the linear simultaneous equations.

7. An electronic circuit simulation method using matrix reordering for reordering elements of a coefficient matrix that represents electronic elements of a given electronic circuit by linear simultaneous equations whose solutions are to be produced by parallel processing of processors of a computer in accordance with Gaussian elimination, said electronic circuit simulation method comprising the steps of:

based on a number of non-zero elements included in the coefficient matrix and an accumulative processing time of the Gaussian elimination of the coefficient matrix, determining a first combination of row and column and a second combination of row and column, which are selected from among rows and columns of the coefficient matrix; and

performing replacement of elements between the first combination of row and column and the second combination of row and column within the coefficient matrix

using the coefficient matrix for solving the linear simultaneous equations.

8. An electronic circuit simulation method using matrix reordering for reordering elements of a coefficient matrix that represents electronic elements of a given electronic circuit by linear simultaneous equations whose solutions are to be produced by parallel processing of processors of a computer in accordance with Gaussian elimination, said electronic circuit simulation method comprising the steps of:

based on a number of non-zero elements included in the coefficient matrix and lengths of critical paths created by the Gaussian elimination of the coefficient matrix, determining a first combination of row and column and a second combination of row and column, which are selected from among rows and columns of the coefficient matrix; and

performing replacement of elements between the first combination of row and column and the second combination of row and column within the coefficient matrix

using the coefficient matrix for solving the linear simultaneous equations.

9. An electronic circuit simulation method according to claim 7 or 8 further comprising the step of:

in accordance with a prescribed condition, selectively performing either the replacement of elements between the first and second combinations of rows and columns or secondary replacement of elements between a third combination of row and column and a fourth combination of row and column, which are selected based on symmetry of the coefficient matrix.

10. An electronic circuit simulation method according to claim 9 further comprising the step of:

creating a symmetric coefficient matrix by transposition of a non-symmetric coefficient matrix that is given as the coefficient matrix, so that the secondary replacement is performed on elements of the symmetric coefficient matrix between the third and fourth combinations of rows and columns, which are selected based on symmetry of the symmetric coefficient matrix.

11. An electronic circuit simulation apparatus using matrix reordering for reordering elements of a coefficient matrix that represents electronic elements of a given electronic circuit by linear simultaneous equations whose solutions are to be produced by parallel processing of processors of a computer in accordance with Gaussian elimination, said electronic circuit simulation apparatus comprising:

a determining means for based on a number of non-zero elements included in the coefficient matrix and an accumulative processing time of the Gaussian elimination of the coefficient matrix, determining a first combination of row and column and a second combination of row and column, which are selected from among rows and columns of the coefficient matrix; and

a replacing means for performing replacement of elements between the first combination of row and column and the second combination of row and column within the coefficient matrix

wherein the apparatus is operable to use the coefficient matrix for solving the linear simultaneous equations.

12. An electronic circuit simulation apparatus using matrix reordering for reordering elements of a coefficient matrix that represents electronic elements of a given electronic circuit by linear simultaneous equations whose solutions are to be produced by parallel processing of processors of a computer in accordance with Gaussian elimination, said electronic circuit simulation apparatus comprising the steps of:

a determining means for based on a number of non-zero elements included in the coefficient matrix and lengths of critical paths created by the Gaussian elimination of the coefficient matrix, determining a first combination of row and column and a second combination of row and column, which are selected from among rows and columns of the coefficient matrix; and

a replacing means for performing replacement of elements between the first combination of row and column and the second combination of row and column within the coefficient matrix

wherein the apparatus is operable to use the coefficient matrix for solving the linear simultaneous equations.

13. A matrix reordering method for reordering elements of a coefficient matrix created based on coefficients of linear simultaneous equations whose solutions are to be produced by parallel processing of processors of a computer in accordance with Gaussian elimination, said matrix reordering method comprising the steps of:

selecting from among pivots included in the coefficient matrix a first pivot whose degree corresponding to a number of non-zero elements is under a threshold;

selecting from among the pivots included in the coefficient matrix a second pivot whose critical path length is minimum;

performing replacement of elements between the first pivot and the second pivot within the coefficient matrix; and

adding new non-zero elements, which are newly produced by the Gaussian elimination of the first pivot, to the coefficient matrix

using the coefficient matrix for solving the linear simultaneous equations.

14. A matrix reordering method according to claim 13 further comprising the step of:

performing reordering of a partial matrix whose elements are not eliminated and are selected from among the elements of the coefficient matrix in accordance with a nested dissection method, so that non-zero elements, which are newly produced by the Gaussian elimination of the partial matrix, are added to the coefficient matrix.

15. A matrix reordering method according to claim 14 further comprising the step of:

creating a symmetric coefficient matrix by transposition of a non-symmetric coefficient matrix that is given as the coefficient matrix, so that the reordering is performed on the symmetric coefficient matrix.

16. A matrix reordering method according to claim 14 wherein the reordering is started if a degree or a parameter of the first pivot is under a threshold.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 25, 2003
From: NEC CORPORATION
To: NEC ELECTRONICS CORPORATION
Reel/Frame 013764/0362 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 2, 2001
From: HACHIYA, KOUTARO
To: NEC CORPORATION
Reel/Frame 011676/0684 →