so, what should I do? I was thinking that I can use resize or clear or erase function. But these functions will not free the memory. Maybe I don't...
I complete my problem here. My problem is something like this: num = 10; for (i = 0; i < num-1; i++) { size = (i +1) * n; // where n is a...
Hello, I have a vector member and want to reallocate memory. Say I have 10 elements in a vector "vec" and I don't need them any more, so they...
Hello, thanks again for your reply. That is exactly what I wanted to see. BTW I don't need M for any other purpose so, option 2 is fine.
Hello, thanks for your answer. This is an example: First you initialize K to zero. Option 1: M = [ m11 m12 m13 m21 m22 m23...
Before computing them. Remember, you first need to compute the values of M (option 1) or the value of a double variable (option 2). Then when you...
Thanks for your reply. There is another data that maybe it is needed to know. Entries in matrix K are not known while entries in M are known after...
both, dev-cpp and MinWGstudio are free under GNU license.
Windows: dev-cpp Linux: MinWGStudio
please could you elaborate your question?
Maybe I need to explain more deeply in order to get a reply. First of all, I am using allocatable arrays. I don't have problems with the use of...
Dear All, I would like to receive comments on the following problem. Suppose you have a matrix K and a matrix M. Matrix M is small compared to...
Separate names with a comma.