Rust, Linear Algebra, Python, Vector.
print(a*s) print(b*s) let s= 2; let a= [3,4,5]; let b: ndarray::ArrayBase<ndarray::OwnedRepr<i32>, ndarray::Dim<[usize; 1]>>= arr1(&[3,4,5]); println!("{:?}",b*s); let s= 2; let v= arr1(&[3,6]); println!("{:?}",s+v); [3, 4, 5, 3, 4, 5] [ 6 8 10] The above code is not about scalar-vector