You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
The class
nalgebra::base::matrix::Matrix
implements a functionscale
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?
The text was updated successfully, but these errors were encountered: