You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I'm a little confused, again / still, about dynamic memory allocation. I ended up using the stack to allocate my variables in HW 2, but ... well ... I'm not quite sure why that was possible!
Since N, an input to lots of our linear algebra functions, is determined at runtime (?), shouldn't that mean that the parameters depending for their size on N would have to be heap-allocated?
The text was updated successfully, but these errors were encountered:
So I'm a little confused, again / still, about dynamic memory allocation. I ended up using the stack to allocate my variables in HW 2, but ... well ... I'm not quite sure why that was possible!
Since N, an input to lots of our linear algebra functions, is determined at runtime (?), shouldn't that mean that the parameters depending for their size on N would have to be heap-allocated?
The text was updated successfully, but these errors were encountered: