dimforge / dimforge/nalgebra

Alias 'RowDVectorView<>' is missing for the result of DMatrix<T>.row()

Open
#1,411 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
4.8k
Forks
565
PR merge metrics
No merged PRs in 30d

Description

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 exist
// ^^^^^^^^^^^^^^
```

Seems like a type called `RowDVectorView` might be missing for consistency?
```rust
pub type RowDVectorView<'a, T, RStride = U1, CStride = Dyn> = Matrix>;
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.