![]() I have therefore used the main memory to create the large matrices and to sparse them and then loaded them to the card. I have been watching carefully the Task manager as the computer handles the code. The "out of memory" seemed to happen because the graphics card maintained both versions. It transpires that the whilst the graphics card works sparse OK it appears to me that it manages memory poorly. I tried to be clever and went for 240 and it fell over but I have spent a bit of time thinking about sparse. Firstly everything ran fine up to 200 xRange. It just operates element-by-element.This morning has been very productive. Multiplying a matrix by a scalar is an exception to the dimension and commutative rules. With one simple command, MATLAB quickly performs many calculations. Tuesday's values result from multiplying each Tuesday closing price by its respective number of shares and summing the result for the first portfolio, then doing the same for the second portfolio. Monday's values result from multiplying each Monday closing price by its respective number of shares and summing the result for the first portfolio, then doing the same for the second portfolio.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |