Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #71720

Re: Python and Math

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'python,': 0.02; 'scipy': 0.05; 'subject:Python': 0.06; 'perl,': 0.07; 'cc:addr:python-list': 0.11; 'python': 0.11; '1:13': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'it),': 0.16; 'precision,': 0.16; 'types,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'looked': 0.18; 'written': 0.21; 'cc:addr:python.org': 0.22; 'integer': 0.24; 'mathematical': 0.24; "haven't": 0.24; 'cc:2**0': 0.24; 'second': 0.26; 'header:In- Reply-To:1': 0.27; 'strongly': 0.30; 'message-id:@mail.gmail.com': 0.30; 'work.': 0.31; 'decimal': 0.31; 'perl': 0.31; 'received:google.com': 0.35; 'there': 0.35; 'really': 0.36; 'library.': 0.36; 'too': 0.37; 'level': 0.37; 'performance': 0.37; 'pm,': 0.38; 'does': 0.39; 'bill': 0.39; 'easy': 0.60; 'high': 0.63; 'does!': 0.84; 'learn.': 0.84; 'trig': 0.84; 'absolutely': 0.87; 'to:none': 0.92; 'incredibly': 0.96
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=WVHdBPYL0MmlB9rHGXVcERciAUjpBK5Fk5NlTiaNTgw=; b=fyv8cHS+ZCp4JI3pdoCbrqLEMPFc8o1Np/AU/bL76yCk6D+7MiuIqL6IKCc1d87BJQ z8Tatvw4SZJ3XsvUIXftBqQ8Muf3GEkS+Sk2w21wnJ9eBJALGBb5sN0i9AFhmoWeIqBs d9qh8y6n4bCSMU06CP9KHCR+qTSnzGAJP8JfnAzzySw7EgC4q5V9ADspHXUM0k1NzkF6 B3/3jc0ZkWA4cXYEMYJS5kVqLSK9H5c8iXTaZSPh3toTE/I4T7oKgAazYD2+nwDgSBJi Id6DGI2+DCH+8cMOCNCNMKZ9NktNt7PRCTM7EzxE9lYTjT6NRsYZpjE7NhMsYsVECV9u YB6w==
MIME-Version 1.0
X-Received by 10.52.185.72 with SMTP id fa8mr5307990vdc.12.1400383982383; Sat, 17 May 2014 20:33:02 -0700 (PDT)
In-Reply-To <ll98g7$6o7$1@speranza.aioe.org>
References <ll98g7$6o7$1@speranza.aioe.org>
Date Sun, 18 May 2014 13:33:02 +1000
Subject Re: Python and Math
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.10107.1400383990.18130.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1400383990 news.xs4all.nl 2834 [2001:888:2000:d::a6]:59904
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:71720

Show key headers only | View raw


On Sun, May 18, 2014 at 1:13 PM, Bill Cunningham <nospam@nspam.invalid> wrote:
>     Does Python have good mathematical capabilities? I am interested in
> learning a second language for mathematical purposes. I am considering
> looking at python, perl, fortran, Adas out. It looked too complicated to
> learn. Perl looked easy and I haven't really looked into python.

Absolutely it does! In the built-in types, your integer has arbitrary
precision, and there is an arbitrary-precision Decimal type in the
standard library. There is also, naturally, a standard set of trig
functions and so on. With additional libraries, you can get numeric
and scientific functionality (lots of which is written in Fortran, as
I understand it), giving incredibly high performance for a high level
language; look into SciPy and NumPy. Strongly recommend Python for
numeric work.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python and Math "Bill Cunningham" <nospam@nspam.invalid> - 2014-05-17 23:13 -0400
  Re: Python and Math Rustom Mody <rustompmody@gmail.com> - 2014-05-17 20:26 -0700
    Re: Python and Math "Bill Cunningham" <nospam@nspam.invalid> - 2014-05-18 01:04 -0400
  Re: Python and Math Chris Angelico <rosuav@gmail.com> - 2014-05-18 13:33 +1000
  Re: Python and Math Gary Herron <gary.herron@islandtraining.com> - 2014-05-17 21:12 -0700
  Re: Python and Math Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-05-18 04:51 +0000
    Re: Python and Math "Bill Cunningham" <nospam@nspam.invalid> - 2014-05-18 01:33 -0400
    Re: Python and Math Roy Smith <roy@panix.com> - 2014-05-18 09:25 -0400
      Re: Python and Math Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-05-18 15:05 +0100
  Re: Python and Math Wolfgang Keller <feliphil@gmx.net> - 2014-05-18 15:59 +0200
  Re: Python and Math Grant Edwards <invalid@invalid.invalid> - 2014-05-18 15:40 +0000
    Re: Python and Math "Bill Cunningham" <nospam@nspam.invalid> - 2014-05-18 14:09 -0400
      Re: Python and Math Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-05-20 20:40 -0400
      Re: Python and Math Tony the Tiger <tony@tiger.invalid> - 2014-05-21 00:59 +0000
        Re: Python and Math Robert Kern <robert.kern@gmail.com> - 2014-05-21 10:32 +0100
      Re: Python and Math Robert Kern <robert.kern@gmail.com> - 2014-05-21 10:34 +0100
    Re: Python and Math Robert Kern <robert.kern@gmail.com> - 2014-05-18 19:42 +0100
      Re: Python and Math Fabien <fabien.maussion@gmail.com> - 2014-05-19 12:15 +0200
        Re: Python and Math Tim Golden <mail@timgolden.me.uk> - 2014-05-19 11:30 +0100
        Re: Python and Math Rustom Mody <rustompmody@gmail.com> - 2014-05-19 05:46 -0700
          Re: Python and Math Chris Angelico <rosuav@gmail.com> - 2014-05-19 23:09 +1000
            Re: Python and Math Rustom Mody <rustompmody@gmail.com> - 2014-05-19 06:15 -0700
              Re: Python and Math Chris Angelico <rosuav@gmail.com> - 2014-05-19 23:24 +1000
              Re: Python and Math Gene Heskett <gheskett@wdtv.com> - 2014-05-19 10:22 -0400
        Re: Python and Math wxjmfauth@gmail.com - 2014-05-19 07:56 -0700
          Re: Python and Math Rustom Mody <rustompmody@gmail.com> - 2014-05-19 09:09 -0700
            Re: Python and Math wxjmfauth@gmail.com - 2014-05-19 12:07 -0700
              Re: Python and Math Tim Golden <mail@timgolden.me.uk> - 2014-05-19 20:18 +0100
                Re: Python and Math wxjmfauth@gmail.com - 2014-05-20 02:19 -0700
                Re: Python and Math Tim Golden <mail@timgolden.me.uk> - 2014-05-20 11:13 +0100
                Re: Python and Math Rustom Mody <rustompmody@gmail.com> - 2014-05-20 04:20 -0700
                Re: Python and Math Tim Golden <mail@timgolden.me.uk> - 2014-05-20 12:55 +0100
                Re: Python and Math Rustom Mody <rustompmody@gmail.com> - 2014-05-20 07:14 -0700
                Re: Python and Math "Frank Millman" <frank@chagford.com> - 2014-05-20 14:51 +0200
                Re: Python and Math chris.barker@noaa.gov - 2014-05-21 16:14 -0700
                Re: Python and Math wxjmfauth@gmail.com - 2014-05-21 23:52 -0700
                Re: Python and Math "Frank Millman" <frank@chagford.com> - 2014-05-22 11:04 +0200
                Re: Python and Math wxjmfauth@gmail.com - 2014-05-20 06:42 -0700
                Re: Python and Math Rustom Mody <rustompmody@gmail.com> - 2014-05-20 07:23 -0700
              Re: Python and Math Cameron Simpson <cs@zip.com.au> - 2014-05-20 09:03 +1000

csiph-web