How to compute determinant of an SMatrix?
- Dominant language
- Rust
- Stars
- 4.8k
- Forks
- 565
- PR merge metrics
- No merged PRs in 30d
Description
I am unable to compute the determinant of an SMatrix (even if the dimensions are equal). Here is the error I get:
error[E0599]: the method `determinant` exists for reference `&Matrix, Const, ArrayStorage>`, but its trait bounds were not satisfied
--> src/gmm.rs:73:25
|
73 | * covar.determinant())
| ^^^^^^^^^^^ method cannot be called on `&Matrix, Const, ArrayStorage>` due to unsatisfied trait bounds
|
::: /home/msam/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.32.3/src/base/dimension.rs:220:1
|
220 | pub struct Const;
| --------------------------------
| |
| doesn't satisfy ` as DimMin>>::Output = Const`
| doesn't satisfy `Const: DimMin>`
|
= note: the following trait bounds were not satisfied:
` as DimMin>>::Output = Const`
`Const: DimMin>`
Is there something Im missing or is it just not ready for SMatrices yet?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.