sarah-ek / faer-rs

Linear algebra foundation for the Rust programming language
https://faer-rs.github.io
MIT License
1.75k stars 56 forks source link

some missing macros / convenience functions #99

Closed DeliciousHair closed 5 months ago

DeliciousHair commented 5 months ago

Is your feature request related to a problem? Please describe. It makes sense to have the macros col! and row! in order to be consistent with mat!. This also seems a good opportunity to include a related macro (or function) blockwise!:

blockwise![[A, B], [C, D]];

// ┌───────┬──┐
// │       │  │
// │   A   │ B│
// │       │  │
// ├───────┼──┤
// │   C   │ D│
// └───────┴──┘
sarah-ek commented 5 months ago

solved by #100