nalgebra icon indicating copy to clipboard operation
nalgebra copied to clipboard

Linear algebra library for Rust.

Results 313 nalgebra issues
Sort by recently updated
recently updated
newest added

Consider this: ```rust let my_dmatrix: DMatrix = ...; let x: DVectorView = my_dmatrix.column(0); // there is the DVectorView alias, happy days let x: RowDVectorView = my_dmatrix.row(0); // but RowDVectorView doesn't...

`const fn` [has landed in Rust stable][pg]! It would be really helpful in one of my projects if nalgebra adopted it for constructors. The shortlist of types I need is...

enhancement
good first issue
P-high

Creating a vector or a matrix with the `from_iter` method may run indefinitely. I don't think this is the expected behaviour. I.e. ```rust #[test] fn test_nalgebra_finishes() { use nalgebra::DVector; //...

bug

### Abstract `nalgebra::Rotation3::axis` relies on numerically vulnerable calculation. It may return `None` in the place where it should return a non-None value. ### Issue In [the current implementation of Rotation3](https://github.com/dimforge/nalgebra/blob/a803815bd1d22a052690cfde3ff7fae26cd91152/src/geometry/rotation_specialization.rs#L844),...

I believe there is a memory leak arising from `DefaultAllocator::reallocate_copy` and its use in `Matrix::resize_generic`. Anecdotally, I observed memory leakage in the wild in some pre-production code and narrowed its...

bug

This is something I've run into many times. For example, I sometimes need to add an explicit dependency on `num` or `num_traits` in order to use `num::Zero` in generic contexts....

enhancement

I am trying to perform a homographic transform using SVD. Here's a prototype implementation in python showing what I am trying to do that I think gives the correct result:...

Making the QRScalar trait public would enable using nalgebra_lapack::QR inside generic functions, just like nalgebra_lapack::LU. Is there a reason why this trait is private?

I've ended up with a ridiculously gnarly function signature due to a ton of trait bounds being required to support some simple operations I want to make on generic-dimension static...

Hello, First of all, thank you for this awesome crate. I have a question on views: I which to build a Matrix view out of an initial DMatrix `M`, rather...