fossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 2 months agoVectors Part 2mander.xyzexternal-linkmessage-square22fedilinkarrow-up1139arrow-down17
arrow-up1132arrow-down1external-linkVectors Part 2mander.xyzfossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 2 months agomessage-square22fedilink
minus-squareCodex@lemmy.worldlinkfedilinkEnglisharrow-up8arrow-down2·edit-22 months agoA vector is a variable-length collection of homogeneous elements. For fixed-length, use an array if homogeneous or a tuple if not. For heterogeneous, untyped collections, please consider one of the many “list” variants.
A vector is a variable-length collection of homogeneous elements. For fixed-length, use an array if homogeneous or a tuple if not. For heterogeneous, untyped collections, please consider one of the many “list” variants.