On Apr 1, 1:00 am, Tim Roberts <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>
> >What if this is connected:
>
> D
> >array([[1, 2, 3],
> > [4, 5, 6],
> > [6, 7, 8]])
> E
> >array([[6, 7, 8],
> > [0, 0, 0],
> > [0, 0, 0]])
>
> >-->
>
> D
> >array([[1,
[EMAIL PROTECTED] wrote:
>
>What if this is connected:
>
D
>array([[1, 2, 3],
> [4, 5, 6],
> [6, 7, 8]])
E
>array([[6, 7, 8],
> [0, 0, 0],
> [0, 0, 0]])
>
>-->
>
D
>array([[1, 2, 3],
> [4, 5, 6],
> [6, 7, 8]])
E
>array([[6, 7, 8],
> [0,
On Mar 30, 9:48 pm, "Tim Leslie" <[EMAIL PROTECTED]> wrote:
> On Mon, Mar 31, 2008 at 12:24 PM, <[EMAIL PROTECTED]> wrote:
> > How do I get a Rubik's cube translation out of this:
>
> > >>> a= numpy.array([[0,1,2],[3,4,5],[6,7,8]])
On Mon, Mar 31, 2008 at 12:24 PM, <[EMAIL PROTECTED]> wrote:
> How do I get a Rubik's cube translation out of this:
>
> >>> a= numpy.array([[0,1,2],[3,4,5],[6,7,8]])
> >>> a
> array([[0, 1, 2],
>[3, 4, 5],
>[6, 7, 8]])
>
How do I get a Rubik's cube translation out of this:
>>> a= numpy.array([[0,1,2],[3,4,5],[6,7,8]])
>>> a
array([[0, 1, 2],
[3, 4, 5],
[6, 7, 8]])
>>> a[:,0],a[:,1],a[:,2] #no good
(array([0, 3, 6]), array([1, 4, 7]), array([2, 5, 8]))
>>>
I