mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-04-22 23:58:39 +02:00
parent
83e25e30ff
commit
70916261ad
@ -23,10 +23,8 @@ transpose a matrix (turn rows into columns):
|
|||||||
⎝⎣7 8 9⎦⎠ ⎣3 6 9⎦
|
⎝⎣7 8 9⎦⎠ ⎣3 6 9⎦
|
||||||
```
|
```
|
||||||
|
|
||||||
Hard-code both functions to operate on 3 × 3 matrices.
|
Copy the code below to <https://play.rust-lang.org/> and implement the function.
|
||||||
|
This function only operates on 3x3 matrices.
|
||||||
Copy the code below to <https://play.rust-lang.org/> and implement the
|
|
||||||
functions:
|
|
||||||
|
|
||||||
```rust,should_panic
|
```rust,should_panic
|
||||||
// TODO: remove this when you're done with your implementation.
|
// TODO: remove this when you're done with your implementation.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user