Numerical Python Tutorial errors

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gary Wessle

    #1

    Numerical Python Tutorial errors

    Hi

    is the Numerical Python tutorial maintained?

    seams to have some errors and no email to mail them to when found.

    if interested, read about the errors below
    *************** *************** *************** *************** ****





    (1)

    Creating arrays from scratch
    the html showing code lines below on the top of text lines from the
    surrounding paragraphs, I was surprise to be able to copy and paste
    the lines below as they are not visually clear on the page.
    [color=blue][color=green][color=darkred]
    >>> x,y,z = 1,2,3
    >>> a = array([x,y,z]) # integers are enough for 1, 2 and 3
    >>> print a[/color][/color][/color]
    [1 2 3][color=blue][color=green][color=darkred]
    >>> a = array([x,y,z], Float) # not the[/color][/color][/color]


    (2)

    Universal Functions[color=blue][color=green][color=darkred]
    >>> print add.reduce([1,2,4,5])[/color][/color][/color]

    12 # 1 + 2 + 3 + 4 + 5 <---- is
    12 # 1 + 2 + 4 + 5 <---- should be

  • Robert Kern

    #2
    Re: Numerical Python Tutorial errors

    Gary Wessle wrote:[color=blue]
    > Hi
    >
    > is the Numerical Python tutorial maintained?
    > http://www.pfdubois.com/numpy/html2/numpy.html
    > seams to have some errors and no email to mail them to when found.[/color]

    No, it is not since Numeric itself is no longer maintained. The successor to
    Numeric is numpy and is being actively developed:



    --
    Robert Kern

    "I have come to believe that the whole world is an enigma, a harmless enigma
    that is made terrible by our own mad attempt to interpret it as though it had
    an underlying truth."
    -- Umberto Eco

    Comment

    • Gary Wessle

      #3
      Re: Numerical Python Tutorial errors

      Robert Kern <robert.kern@gm ail.com> writes:
      [color=blue]
      > Gary Wessle wrote:[color=green]
      > > Hi
      > >
      > > is the Numerical Python tutorial maintained?
      > > http://www.pfdubois.com/numpy/html2/numpy.html
      > > seams to have some errors and no email to mail them to when found.[/color]
      >
      > No, it is not since Numeric itself is no longer maintained. The successor to
      > Numeric is numpy and is being actively developed:
      >
      > http://numeric.scipy.org[/color]

      thank you

      Comment

      Working...