-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert to JS Array? #36
Comments
Found out NdArray has tolist() method. However, it's not in the documentation at http://scijs.net/packages/#scijs/ndarray |
@fuzzthink Can you clarify what didn't work when using |
The thread on issue #29 mentioned ndarray-unpack on "convert an ndarray back to a buffer/array". So I tried
and errored:
Btw, the tolist() I mentioned turns out to be from numjs, not this ndarray repo. |
Apologies but I still don't quite follow. I created a repo that runs the above code here. I get:
instead of the error. It seems like maybe a cwise transform issue. Are you using node? browserify? webpack? |
I'm very sorry @rreusser . I called |
@fuzzthink No worries! There are lots of details in using these modules, so lots of subtle things can go wrong when you really get into the details. Glad you got it! Let me/someone know if you encounter other issues. |
How? Tried the suggested ndarray-unpack on a 1D ndarray, didn't work.
thanks.
The text was updated successfully, but these errors were encountered: