Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hello there
I am a random engineer using ndarray for numeric computation.

I just posted on the rust internals forum about missing features in rust to allow numeric computation code (and crates) better.
I would be interested in having the opinion of the ndarray community - especially the ndarray developper - about it :)

You must be logged in to vote

Replies: 1 comment

Comment options

I don't have much to contribute except "I agree".

I'm a "small" maintainer here, I'm mostly answering question and merging small PRs. I know ndarray as a programmer, not as a maintainer. In brief, I don't know much about the internals. I do know about the Ix# "hack". If ndarray was coded today, it would probably use something else!

Because writing generic functions in Rust is "ugly", I tend to choose a float type and stick with it. Later, I realize that I also need the other float type so I make it generic over num_traits types. Slightly related, I wrote this function for another project that I maintain. It's ... not sexy. I don't really want to be writing that kind of code. I was a C++ programmer a while ago and I did like the freedom to write generic code in that langage. (I still prefer Rust)

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
💡
Ideas
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.