Thanks for the relpy. I went through the webpage but still have a doubt.
On my system size_t is of 4 byte. As it is unsigned so 2^32
= 4294967296. Means this many bits size_t could hold and hence memcpy() can copy only this much size of data ???
If there no official limit, I'd guess that the max would be the amount of free memory currenly available.
There's an official limit: the range of size_t. Obviously if you cannot tell memcpy to copy more than (size_t)-1 bytes, then that's the limit in a single call. Copying more than that requires multiple calls, but on a modern system size_t is typically either 32 or 64 bits. So the limit is quite large.
Need some help with this Array. I am trying to get the sum of the even numbers and the sum of the odd numbers using a for each loop. I know the answers to what I am trying to achive are sum of even = 84 and the sum of ...
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...