[][src]Function peroxide::util::non_macro::rbind

pub fn rbind(m1: Matrix, m2: Matrix) -> Matrix

R like rbind - concatenate two matrix by row direction

Examples

extern crate peroxide;
use peroxide::*;

let a = matrix!(1;4;1, 2, 2, Row);
let b = matrix!(5;8;1, 2, 2, Row);
let c = matrix!(1;8;1, 4, 2, Row);
assert_eq!(rbind(a,b), c);