chickadee » nanograd » vector-length-for-dtype

vector-length-for-dtype vec dtypeprocedure

Returns the length of an f32vector ('f32) or f64vector ('f64).

The module also exports small helpers used by the other nanograd modules: f32vector-fold, f64vector-fold, and the BLAS-style vector routines ssub, dsub, sblit, dblit, scopy and dcopy.