Function peroxide::util::non_macro::cbind [−][src]
pub fn cbind(m1: Matrix, m2: Matrix) -> Matrix
Expand description
R like cbind - concatenate two matrix by column direction
Examples
#[macro_use] extern crate peroxide; use peroxide::fuga::*; fn main() { let a = matrix!(1;4;1, 2, 2, Col); let b = matrix!(5;8;1, 2, 2, Col); let c = matrix!(1;8;1, 2, 4, Col); assert_eq!(cbind(a,b), c); }