## Shifting between block...

I have the following command （credit to @Carl Love ), this command will do certain bit shifting with the next block, and the last block will shift with the first block.

B:= Matrix([[0,0,1,1,0,0,1], [0,0,1,1,1,0,0],[0,1,0,1,0,1,0], [1,0,0,1,1,1,0]]):
Bnew:= copy(B):
Bnew[[4,1,2,3], 3..5]:= B[.., 3..5]:
Bnew;

May i know any command can help to reverse the shifting position between the block？

for example,

original block  [0,0,1,1,0,0,1], [0,0,1,1,1,0,0],[0,1,0,1,0,1,0], [1,0,0,1,1,1,0]

i need to shift the 3..5 position of block 1 and change to the 5..3 position of block 2.

Example:

After shifting,

Bnew=[0,0,1,1,1,0,1],[0,0,0,1,0,0,0],[0,1,1,1,0,1,0],[1,0,0,1,1,1,0]

Any command can help to solve? thank you in advance.

## map function to sequence...

howdy.

evalf(map(log10,[25,5,1,10,4,20]))=

[1.39794000867203, .698970004336017, 0., 1., .602059991327960, 1.30102999566398]

How do I reverse this process , ie get back [25,5,1,10,4,20] using map command. Obviously it's 10 to the power but map(10^,[1.39794000867203, .698970004336017, 0., 1., .602059991327960, 1.30102999566398]) won't work

## reverting axis in Maple...

`Is there any way to reverse an axis in the plot command? I solved the baristochrone problem as `
`a school project,but I did it using an upside-down Y axis. Of course, when I try to make a graph with`
`my solution, I'm getting a regular cycloid instead of an inverted one, since I was using a `
`reverted Y axis when solving the problem. `
`Help would be very appreciated as I couldn,t find anything on the subject.`