I think the "bottom line" is: _only_ use the matrix class if _all_
you're doing is matrix algebra - which, as Chris Barker said, is
(likely) the exception, not the rule, for most numpy users. I feel
confident in saying this (that is, _only_ ... _all_) because if you
feel you really must have a mat
Christopher Barker wrote:
> Wayne Watson wrote:
>
>> Yes, flat sounds useful here. However, numpy isn't bending over
>> backwards to tie in conventional mathematical language into it.
>>
>
> exactly -- it isn't bending over at all! (well a little -- see below).
> numpy was designed for ge
On Sat, Dec 19, 2009 at 11:50 AM, Wayne Watson wrote:
> I guess I'll become accustomed to it over time. I have some interesting
> things to do for which I will need the facilities of numpy.
>
> I realized where I got into trouble with some of this. I was not
> differentiating between the dimensio
I guess I'll become accustomed to it over time. I have some interesting
things to do for which I will need the facilities of numpy.
I realized where I got into trouble with some of this. I was not
differentiating between the dimensionality of space and that of a matrix
or array. I haven't had t
Wayne Watson wrote:
> Yes, flat sounds useful here. However, numpy isn't bending over
> backwards to tie in conventional mathematical language into it.
exactly -- it isn't bending over at all! (well a little -- see below).
numpy was designed for general purpose computational needs, not any one
That's for sure! :-)
Charles R Harris wrote:
>
>
> On Sat, Dec 19, 2009 at 10:38 AM, Wayne Watson
> mailto:sierra_mtnv...@sbcglobal.net>>
> wrote:
>
> Yes, flat sounds useful here. However, numpy isn't bending over
> backwards to tie in conventional mathematical language into it.
> I
OK, so what's your recommendation on the code I wrote? Use shape 0xN?
Will that eliminate the need for T?
I'll go back to Tenative Python, and re-read dimension, shape and the like.
Charles R Harris wrote:
>
>
> On Sat, Dec 19, 2009 at 9:45 AM, Wayne Watson
> mailto:sierra_mtnv...@sbcglobal.ne
On Sat, Dec 19, 2009 at 10:38 AM, Wayne Watson wrote:
> Yes, flat sounds useful here. However, numpy isn't bending over
> backwards to tie in conventional mathematical language into it.
> I don't recall flat in any calculus books. :-) Maybe I've been away so
> long from it, that it is a common ma
Yes, flat sounds useful here. However, numpy isn't bending over
backwards to tie in conventional mathematical language into it.
I don't recall flat in any calculus books. :-) Maybe I've been away so
long from it, that it is a common math concept? Although I doubt that.
Alan G Isaac wrote:
> On
On Sat, Dec 19, 2009 at 9:45 AM, Wayne Watson
wrote:
>
>
> Dag Sverre Seljebotn wrote:
> > Wayne Watson wrote:
> >
> >> I'm trying to compute the angle between two vectors in three dimensional
> >> space. For that, I need to use the "scalar (dot) product" , according to
> >> a calculus book (quoti
On 12/19/2009 11:45 AM, Wayne Watson wrote:
> A 4x1, 1x7, and 1x5 would be examples of a 1D array or matrix, right?
>
> Are you saying that instead of using a rotational matrix ...
> that I should use a 2-D array for rotCW? So why does numpy have a matrix
> class? Is the class only used when work
Dag Sverre Seljebotn wrote:
> Wayne Watson wrote:
>
>> I'm trying to compute the angle between two vectors in three dimensional
>> space. For that, I need to use the "scalar (dot) product" , according to
>> a calculus book (quoting the book) I'm holding in my hands right now.
>> I've used d
On Sat, Dec 19, 2009 at 4:53 AM, Chris Colbert wrote:
>
>
> On Sat, Dec 19, 2009 at 6:43 AM, Charles R Harris <
> charlesr.har...@gmail.com> wrote:
>
>>
>>
>> On Fri, Dec 18, 2009 at 10:20 PM, Wayne Watson <
>> sierra_mtnv...@sbcglobal.net> wrote:
>>
>>> This program gives me the message followin
Wayne Watson wrote:
> I'm trying to compute the angle between two vectors in three dimensional
> space. For that, I need to use the "scalar (dot) product" , according to
> a calculus book (quoting the book) I'm holding in my hands right now.
> I've used dot() successfully to produce the necessar
I'm trying to compute the angle between two vectors in three dimensional
space. For that, I need to use the "scalar (dot) product" , according to
a calculus book (quoting the book) I'm holding in my hands right now.
I've used dot() successfully to produce the necessary angle. My program
works j
On Sat, Dec 19, 2009 at 6:43 AM, Charles R Harris wrote:
>
>
> On Fri, Dec 18, 2009 at 10:20 PM, Wayne Watson <
> sierra_mtnv...@sbcglobal.net> wrote:
>
>> This program gives me the message following it:
>> Program==
>> import numpy as np
>> from numpy import matrix
>> imp
16 matches
Mail list logo