### 21 unstable releases (5 breaking)

0.7.3 | Apr 30, 2021 |
---|---|

0.6.6 | Apr 20, 2021 |

0.6.2 | Feb 21, 2021 |

0.6.0 | Dec 21, 2020 |

0.2.1 | May 18, 2017 |

#**50** in Math

**163** downloads per month

Used in physsol

**MIT/Apache**

205KB

6.5K
SLoC

# vecmat

Low-dimensional vector algebra with

support.`min_const_generics`

*Rust 1.51 or higher requred because of *

`min_const_generics`feature.

## Cargo features

- use std. Crate could be used with`std`

.`no_std`

- distributions for generating random entities.`rand`

- approximate comparison.`approx`

All these features are enabled by default.

## Documentation

## Content

### Primitives

.`Vector`

.`Matrix`

and`Complex`

.`Quaternion`

### Transformations

.`Shift`

.`Linear`

.`Affine`

and`Rotation2`

.`Rotation3`

(over`Moebius`

and`Complex`

).`Quaternion`

## Functionality

### Implemented

support.`min_const_generics`- Vector and matrix arithmetcs (

,`+`

,`-`

,`*`

,`/`

).`%` - Integer vectors and matrices (including

,`div_floor`

and bitwise).`mod_floor` - Boolean vectors and matrices (comparison,

,`all`

).`any` - Support for non-

(and non-`Copy`

) elements.`Clone`

for vectors (and`into_iter``(``)`

,`map`

,`zip`

,`unzip`

,`fold`

, etc.).`scan`

,`dot`

and`cross`

products for vectors.`outer`- Matrix-matrix and matrix-vector multiplication.
- Square matrix determinant and inversion.

### Planning

- Eigen- and singular decomposition for matrices.

.`Rotation4`

## License

Licensed under either of

- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.

### Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

#### Dependencies

~1MB

~20K SLoC