-
Notifications
You must be signed in to change notification settings - Fork 78
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
wasm-pack libc error #121
Comments
sfackler/rust-openssl#1016 has discussion of an an issue very similar to this one. It looks like the The @termoshtt What are your thoughts about adding |
Pure Rust implementation will be useful even if there are some lack of subroutines. AFAIK, rulinalg/nalgebra does not have LAPACK interface. Do you think it is easy to create compatible layer for them? |
I'm not sure. I haven't looked at the |
ndarray <-> nalgebra conversion seems useful, but I think this conversion itself should be in ndarray crate (or separate ndarray-nalgebra crate) rather than this crate. ndarray -> nalgebra -(LU)-> nalgebra -> ndarray like wrapper can be a possible backend with the conversion functionality. |
I agree. I've started investigating how to perform the conversions (dimforge/nalgebra#473). |
It's not probably the most efficient conversion code, but I wrote this yesterday to work out an svd
|
@DevinBayly Be careful with that, because |
@jturner314 oh thanks for pointing that out, and supplying a work around. |
Just for completeness ill leave this post here
note that cols() should be the first argument, not rows() upon testing to get out the same matrix as in the ndarray case |
should I close this thread? |
Hi there,
I understand that it's not exactly the aim of this package, but I'm trying to do linear algebra in the browser with a ndarray web assembly module. When I use
wasm-pack build
workflow to run the factorize examples I get a number of libc related errors that aren't present in the standard system build. What's strange (or not at all) is that the rest of the ndarray crate lends itself nicely to wasm conversion.If you have a second, could you briefly glance over these errors, and help me determine whether there's any workaround? I'd love to be able to use the developing ndarray-linalg crate to handle the transformation, and factorization needs that folks may have.
If this is way out of the scope of your tool, then feel free to pass on this issue. Thanks!
build error
The text was updated successfully, but these errors were encountered: