Scaling a Matrix by its undlying field.
Open
- Dominant language
- Rust
- Stars
- 4.8k
- Forks
- 565
- PR merge metrics
- No merged PRs in 30d
Description
The class `nalgebra::base::matrix::Matrix` implements a function `scale` which can scale every entry with a real variable.
In my case I want to scale the matrix with its underlying field (in my case a complex number).
The best/convenient way I found to do that is to create an identity matrix and multiply both of them, but this seems very expensive.
Is there a reason why scale only supprots real fields and not the type T of the matrix?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.