Does MLab.std() dislike Numeric.UnsignedInt8?

Discussion in 'Python' started by Kyler Laird, Jan 18, 2004.

  1. Kyler Laird

    Kyler Laird Guest

    Python 2.3.3 (#2, Jan 4 2004, 12:24:16)
    [GCC 3.3.3 20031229 (prerelease) (Debian)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import Numeric
    >>> import MLab
    >>> import Scientific.Statistics
    >>> MLab.std(Numeric.array([255,255], Numeric.Int0))
    0.0
    >>> MLab.std(Numeric.array([255,255], Numeric.UnsignedInt8))
    181.01933598375618
    >>> Scientific.Statistics.standardDeviation(Numeric.array([255,255], Numeric.UnsignedInt8))
    0.0

    It seems to me that the return values should all be the same. Am I missing
    something simple?

    --kyler
     
    Kyler Laird, Jan 18, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. V. Jenks
    Replies:
    5
    Views:
    382
  2. ben
    Replies:
    3
    Views:
    532
    Kevin Spencer
    Nov 15, 2004
  3. Stefan Reich

    I strongly dislike Python 3

    Stefan Reich, Jun 26, 2010, in forum: Python
    Replies:
    1
    Views:
    336
    Lawrence D'Oliveiro
    Jun 27, 2010
  4. Thomas Jollans

    Re: I strongly dislike Python 3

    Thomas Jollans, Jun 26, 2010, in forum: Python
    Replies:
    52
    Views:
    1,547
    Chris Rebert
    Jul 2, 2010
  5. Jan Kurzawski

    z-buffer mlab

    Jan Kurzawski, Dec 5, 2012, in forum: Python
    Replies:
    0
    Views:
    166
    Jan Kurzawski
    Dec 5, 2012
Loading...

Share This Page