Skip to content

Commit 910773f

Browse files
committed
readme
1 parent fabe13c commit 910773f

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
The cost of multiplying a chain of matrices can vary significantly depending on the order in which the multiplication steps are applied. The [Matrix chain multiplication](https://www.wikiwand.com/en/Matrix_chain_multiplication) algorithm applied here (described in *Introduction to Algorithms, 3rd Edition* by Cormen et al.) finds the optimal multiplication sequence.
88

99
With Julia, it is easy to allow for specialization on the matrix types.
10-
For example, the types given in the ArrayFire.jl package should work here, too.
10+
For example, the types given in the ArrayFire.jl package or matrices of matrices (block matrices) should work, too.
1111

1212
## Installing this Package
1313

@@ -56,10 +56,12 @@ use of the optimal operation order generated here.
5656
If all matrices are the same size, the overhead of the optimization is
5757
not worth the (non-existing) benefit.
5858

59-
## Further improvements to be made
59+
## Future improvements
6060

6161
* Recognize situations that don't need the analysis to eliminate the
62-
overhead (allowing for a more ubiquitous use of `matrixchainmultiply(...)`
63-
instead of `*(...)`).
62+
overhead (allowing for a more ubiquitous use of `matrixchainmultiply(...)`
63+
instead of `*(...)`).
6464
* For repeated uses, given some matrix size sequence, produce the
65-
function a single time so that the analysis isn't done unnecessarily.
65+
function a single time so that the analysis isn't done unnecessarily.
66+
* Faster or more general algorithms (i.e., those that apply to the general
67+
tensor problem) are certainly desirable if you would like to add them.

0 commit comments

Comments
 (0)