Open
Description
Description of the problem
When matrices are given in a sequence, it will find the most efficient way to multiply these matrices together.
Expectations:
Time complexity: O(n^2) - (best/ average case)
Applications:
- Graph algorithms
- Signal processing
- Network industry
- Camera calibration to remove lens distortion.
- If Matrix is inferred as linear expression i.e., it represents N-dimensional space then it can be used in video games
Methods:
multiply(arrayOfMatrices)
Example of the problem
References/Other comments
https://www.riverpublishers.com/journal_read_html_article.php?j=JCSM/7/4/3
https://en.wikipedia.org/wiki/Matrix_chain_multiplication#Hu_&_Shing_(1981)