matrix multiplication ascii art
This commit is contained in:
parent
d5bd82761a
commit
4a1eff40da
@ -17,13 +17,13 @@ fn test_arithmetic(){
|
||||
#[test]
|
||||
fn matrix_dot(){
|
||||
|
||||
let rhs=Matrix4x2::new([
|
||||
let rhs=Matrix4x2::new([
|
||||
[ 1.0, 2.0],
|
||||
[ 3.0, 4.0],
|
||||
[ 5.0, 6.0],
|
||||
[ 7.0, 8.0],
|
||||
]);
|
||||
let lhs=Matrix3x4::new([
|
||||
]); // | | |
|
||||
let lhs=Matrix3x4::new([ // | | |
|
||||
[1.0, 2.0, 3.0, 4.0],// [ 50.0, 60.0],
|
||||
[5.0, 6.0, 7.0, 8.0],// [114.0,140.0],
|
||||
[9.0,10.0,11.0,12.0],// [178.0,220.0],
|
||||
|
Loading…
Reference in New Issue
Block a user