use nalgebra::Matrix3;

fn main() {
    let a = Matrix3::new(1.0, 2.0, 3.0,
                         4.0, 5.0, 6.0,
                         7.0, 8.0, 9.0);

    let b = Matrix3::new(9.0, 8.0, 7.0,
                         6.0, 5.0, 4.0,
                         3.0, 2.0, 1.0);

    let sum = a + b;
    println!("جمع ماتریس‌ها:\n{}", sum);
}