The ndarray type is not n-dimensional but 1-dimensional
Closed this issue · 4 comments
Due to this all the ndarray and some of the matrix operations don't have the expected behavior similar to NumPy's.
It can not be n-dimensional; that seemed like too much work. In the field I specialize in, I only see vectors and matrices. In swix, I call these "ndarray" and "matrix" respecively.
Is it easy to covert from an ndarray to a matrix? I forgot the exact interface.
Clarification: I chose "ndarray" because an array with n components is n-dimensional. Maybe a renaming of "ndarray" to "vector" is in order...
I'm reopening this because this naming convention is confusing. I will refactor to address this issue.
I renamed ndarray
to vector
with the command find swix/swix/swix -type f | xargs sed -i '' 's/ndarray/vector/g'
.