Patent ID: 7454454

Claim:
A computer-implemented method for optimizing memory resources of a computer during computation of an Nth order power series for a matrix, comprising: (a) assigning a first computer-readable memory area for storing the matrix; (b) assigning a second computer-readable memory area and a third computer readable memory location for storage of a previous power term and a current power term; (c) assigning a fourth computer-readable memory area for storage of a partial sum of the series; (d) assigning a first pointer to point to a current power term and a second pointer to point to a previous power term; (e) initializing the first, second, third and fourth memory areas; (f) calculating a current power term by forming the product of the matrix stored in the first memory area and the previous power term referenced by the second pointer; (g) storing the calculated current power term in the memory area referenced by the first pointer; (h) updating the partial sum stored in the fourth memory location by adding the contents of the memory area referenced by the first pointer to the partial sum stored in the fourth memory area; (i) updating the previous power term by exchanging the first and second pointer references; (j) repeating steps (f)-(h) as a function of the order N, wherein the memory resources of the computer are optimized by assigning only the first, second, third, and fourth computer-readable memory areas during computation of the Nth order power series for the matrix, and wherein the memory resources of the computer are further optimized by said repeating steps (f)-(h).