Skip to main content
. 2017 Dec 5;17(12):2810. doi: 10.3390/s17122810

Table 3.

Matrix operations complexity sum-up.

Operation T(.) O(.)
Matrix multiplication 2×n×m×p 2×n×m×p
Adding two vectors of size n n n
Adding two matrices of size (n,m) n×m n×m
Transpose a matrix 0 0
Invert a matrix 4×n3+2×n2 4×n3
Mean vector of a matrix n×(m+1) n×m
Mean value of a vector n+1 n
Covariance de deux matrices 2×n×m×p 2×n×m×p