dimforge / dimforge/nalgebra.rs

Quick reference: add `Vector::from`

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7
Forks
25
PR merge metrics
No merged PRs in 30d

Description

We can use `Vector::from(slice)` or `slice.into()` to convert from a slice to an owned vector. This should be added to the _Quick reference_ page of the user guide.

This has been suggested [on the user forum](https://discourse.nphysics.org/t/slice-a-matrix-into-a-vector/503/4?u=sebcrozet).

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.