fossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 4 months agoExplain yourselves, comp sci.mander.xyzimagemessage-square63fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageExplain yourselves, comp sci.mander.xyzfossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 4 months agomessage-square63fedilink
minus-squareyetiftw@lemmy.worldlinkfedilinkEnglisharrow-up0·4 months agomatlab likes to pick the smallest available spot in memory to store a list, so for loops that increase the size of a matrix it’s recommended to preallocate the space using a matrix full of zeros!
matlab likes to pick the smallest available spot in memory to store a list, so for loops that increase the size of a matrix it’s recommended to preallocate the space using a matrix full of zeros!