Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Being able to specify the shape of arrays will really help me when typing numeric code. I recently wrote:

    RotationMatrix_3x3 = npt.NDArray
    TranslationVector_3x1 = npt.NDArray
and that felt kind of gross. But for numpy heavy it is really useful to know and specify the size of matrices. Will switch over the minute 3.11 lands


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: