Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 140788

Big O notation depend on matrix size only or data type(integer, Boolean) as well?

$
0
0

Does the big O notation depend on the dimension of the matrix only? or it will depend on data type(integer or boolean) as well.

Suppose if I have two matrices of size mat=M x N and I have to multiply them. If the data type of matrix is integer the run time on the computer is different but if the data type is bolean[+1,-1] the run time on the computer is reduced. How I can write big O notation by taking into account data type as well.


Viewing all articles
Browse latest Browse all 140788

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>