The time complexity of an algorithm to compute M1 × M2 will be
Two matrices M1 and M2 are to be stored in arrays A and B respectively. Each array can be stored either in row-major or column-major order in contiguous memory locations.
- best if A is in row-major, and B is in column- major order
- best if both are in row-major order
- best if both are in column-major order
- independent of the storage scheme
Correct Answer:
independent of the storage scheme
need an explanation for this answer? contact us directly to get an explanation for this answer