Re: [Tutor] Subtract a 1D Array from a 2D Array

2017-05-13 Thread Stephen P. Molnar
On 05/13/2017 11:16 AM, eryk sun wrote: On Sat, May 13, 2017 at 1:33 PM, Stephen P. Molnar wrote: I am using Python 3.6 in Anaconda3 Spyder IDE. I have two arrays: X Y Z a 0 0 0 2.059801 0

Re: [Tutor] Subtract a 1D Array from a 2D Array

2017-05-13 Thread Steven D'Aprano
On Sat, May 13, 2017 at 09:33:19AM -0400, Stephen P. Molnar wrote: > I have two arrays: > > X Y Z > a > 0 0 0 > 2.059801 0 0 > -1.203126 3.402953 0 > -1.108639 -1.5678532.7

Re: [Tutor] Subtract a 1D Array from a 2D Array

2017-05-13 Thread eryk sun
On Sat, May 13, 2017 at 1:33 PM, Stephen P. Molnar wrote: > I am using Python 3.6 in Anaconda3 Spyder IDE. > > I have two arrays: > > X Y Z > a > 0 0 0 > 2.059801 0 0 > -1.2031263.402953

[Tutor] Subtract a 1D Array from a 2D Array

2017-05-13 Thread Stephen P. Molnar
I am using Python 3.6 in Anaconda3 Spyder IDE. I have two arrays: X Y Z a 0 0 0 2.059801 0 0 -1.2031263.402953 0 -1.108639 -1.5678532.715601 -0.938564 -1.