-
Notifications
You must be signed in to change notification settings - Fork 307
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
Replace LinalgScalar by num_traits::Num #499
Comments
So, we could replace Is there any reason in particular to make this change? |
Your comment for
The generalization of number types is responsible for the num-traits crate. IMO, we should not introduce a trait for fine-tuned minimal requirement (
This is actually problematic... |
We could use |
I make sense the difference of LinalgScalar and Num. Thanks. |
ndarray::linalg_traits::LinalgScalar
andnum_traits::Num
are basically same trait. num-traits 0.2 has more specific traits i.e.Num
,NumOps
,NumRef
,NumAssign
,NumAssignOps
andNumAssignRef
.LinalgScalar
is merely used in this crate, and it exists for user convenience. Should we replaceLinalgScalar
byNum
?The text was updated successfully, but these errors were encountered: