Reverse ⌽ ??
3 posts
• Page 1 of 1
Reverse ⌽ ??
Hello.
I do understand this reverse :
test
1 2 3
4 5 6
7 8 9
10 11 12
⌽test
3 2 1
6 5 4
9 8 7
12 11 10
But I do not understand this one :
mat
1 0 0 1 1 1 0 1 0 0 0 1 1 0 0 0 0 1 1 0 0 0 0 1 0 0
0 0 1 1 1 0 1 0 0 0 1 1 0 0 0 0 1 1 0 0 0 0 1 0 0 1
0 1 1 1 0 1 0 0 0 1 1 0 0 0 0 1 1 0 0 0 0 1 0 0 1 0
1 1 1 0 1 0 0 0 1 1 0 0 0 0 1 1 0 0 0 0 1 0 0 1 0 0
⌽mat
0 0 1 0 0 0 0 1 1 0 0 0 0 1 1 0 0 0 1 0 1 1 1 0 0 1
1 0 0 1 0 0 0 0 1 1 0 0 0 0 1 1 0 0 0 1 0 1 1 1 0 0
0 1 0 0 1 0 0 0 0 1 1 0 0 0 0 1 1 0 0 0 1 0 1 1 1 0
0 0 1 0 0 1 0 0 0 0 1 1 0 0 0 0 1 1 0 0 0 1 0 1 1 1
The first row I do see the logic. Read MAT from left to right
is the same as ⌽MAT , first row reading from right to left.
I am lost with the next 3 rows. Can someone explain this to me ?
I do understand this reverse :
test
1 2 3
4 5 6
7 8 9
10 11 12
⌽test
3 2 1
6 5 4
9 8 7
12 11 10
But I do not understand this one :
mat
1 0 0 1 1 1 0 1 0 0 0 1 1 0 0 0 0 1 1 0 0 0 0 1 0 0
0 0 1 1 1 0 1 0 0 0 1 1 0 0 0 0 1 1 0 0 0 0 1 0 0 1
0 1 1 1 0 1 0 0 0 1 1 0 0 0 0 1 1 0 0 0 0 1 0 0 1 0
1 1 1 0 1 0 0 0 1 1 0 0 0 0 1 1 0 0 0 0 1 0 0 1 0 0
⌽mat
0 0 1 0 0 0 0 1 1 0 0 0 0 1 1 0 0 0 1 0 1 1 1 0 0 1
1 0 0 1 0 0 0 0 1 1 0 0 0 0 1 1 0 0 0 1 0 1 1 1 0 0
0 1 0 0 1 0 0 0 0 1 1 0 0 0 0 1 1 0 0 0 1 0 1 1 1 0
0 0 1 0 0 1 0 0 0 0 1 1 0 0 0 0 1 1 0 0 0 1 0 1 1 1
The first row I do see the logic. Read MAT from left to right
is the same as ⌽MAT , first row reading from right to left.
I am lost with the next 3 rows. Can someone explain this to me ?
- hbarkhof
- Posts: 44
- Joined: Mon Apr 09, 2018 8:37 am
Re: Reverse ⌽ ??
Try this with a simple vector
⌽ 1 2 3 4 5
5 4 3 2 1
⌽ 1 0 1 1 1 0
0 1 1 1 0 1
⌽ 'TOM'
'MOT'
⌽ 'Now' 'this' 'is' 'fun'
'fun' 'is' 'this' 'Now'
Each ROW in the 2D matrix will be applied to the ⌽ function the same way as a vector.
In the case of nested data structures .. each "CELL" remains intact
Cheers!
//W
⌽ 1 2 3 4 5
5 4 3 2 1
⌽ 1 0 1 1 1 0
0 1 1 1 0 1
⌽ 'TOM'
'MOT'
⌽ 'Now' 'this' 'is' 'fun'
'fun' 'is' 'this' 'Now'
Each ROW in the 2D matrix will be applied to the ⌽ function the same way as a vector.
In the case of nested data structures .. each "CELL" remains intact
Cheers!
//W
-
woody - Posts: 144
- Joined: Tue Dec 28, 2010 12:54 am
- Location: Atlanta, Georgia USA
Re: Reverse ⌽ ??
Ah , so simple. But I did read these lines 2 3 and 4 wrongly.
Thanks Woody !
Thanks Woody !
- hbarkhof
- Posts: 44
- Joined: Mon Apr 09, 2018 8:37 am
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group