Research Article
PEM-PCA: A Parallel Expectation-Maximization PCA Face Recognition Architecture
Algorithm 5
Parallel matrix determinant and cofactor computation.
Input: Matrix input | Output: Double detVal, Matrix cofactor | (1) if matrixSize=2 then | (2) = ; | (3) result ; | (4) return detVal, cofactor; | (5) else | (6) parallel for i from 0 to dimension | (7) for j from 0 to columns | (8) | (9) result ; | (10) endfor | (11) endfor | (12) return detVal; | (13) endif |
|