Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

Is it make a difference to use a matrix instead of an array (vector)?

$
0
0

If I have a matrix

complex mat(3, 2, 3)

I can also declare it as

complex array(18)

I can use both ways. This is a small matrix. Right now I have a very big matrix.

I want to know if it will make a difference with respect to the speed.

I mean when one is using this matrix/vector, will it take identical time to obtain one number from the memory?


Viewing all articles
Browse latest Browse all 5691

Trending Articles



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