Trait static_la::AddColumns
source · [−]pub trait AddColumns<T> {
type Output;
fn add_columns(self, columns: T) -> Self::Output;
}Expand description
A trait allowing the combination of matrices along their column axis.
Associated Types
Required methods
fn add_columns(self, columns: T) -> Self::Output
fn add_columns(self, columns: T) -> Self::Output
This is somewhat inefficient, it will often not be as efficient as std::vec::Vec::push.
┌───────┐ ┌─────┐ ┌───────────┐
│ 1 3 5 │ │ 7 9 │ │ 1 3 5 7 9 │
│ 2 4 6 │.add_columns(│ 8 1 │)=│ 2 4 6 8 1 │
└───────┘ └─────┘ └───────────┘