pub trait AddRows<T> {
    type Output;
    fn add_rows(self, rows: T) -> Self::Output;
}
Expand description

A trait allowing the combination of matrices along their row axis.

Associated Types

Required methods

This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push.

                              ┌───────┐
┌───────┐          ┌───────┐  │ 1 2 3 │
│ 1 3 5 │          │ 7 8 9 │  │ 4 5 6 │
│ 2 4 6 │.add_rows(│ 1 2 3 │)=│ 7 8 9 │
└───────┘          └───────┘  │ 1 2 3 │
                              └───────┘

Implementors