dimforge / dimforge/nalgebra

Proposal: Add helper methods `is_hermitian` and `is_unitary` for the `Matrix` struct

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

Description

Hi,
I already have these extent methods in my own workspace,
so I wonder is it accepted to be added into the Nalgebra.

- `pub fn is_hermitian(&self) -> bool`
- [Hermitian matrix](https://en.wikipedia.org/wiki/Hermitian_matrix)
- `pub fn is_unitary(&self) -> bool`
- [Unitary Matrix](https://en.wikipedia.org/wiki/Unitary_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.