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


Groups > comp.lang.python > #78766

Re: Representing mathematical equations

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <torriem+gmail@torriefamily.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.096
X-Spam-Evidence '*H*': 0.81; '*S*': 0.00; 'scipy': 0.05; 'hosts': 0.07; 'belonging': 0.16; 'dist': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'numpy': 0.16; 'folks': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'math': 0.24; 'header :In-Reply-To:1': 0.27; '[1]': 0.29; 'am,': 0.29; 'forgot': 0.30; 'skip:( 20': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'node': 0.31; 'could': 0.34; 'there': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'message-id:@gmail.com': 0.38; 'thank': 0.38; 'skip:[ 10': 0.38; 'to:addr:python-list': 0.38; 'explain': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'mailing': 0.39; 'either': 0.39; 'received:org': 0.40; 'url:mail': 0.40; 'skip:u 10': 0.60; 'email addr:gmail.com': 0.63; 'different': 0.65; 'facilities': 0.69; 'links,': 0.74; 'manner.': 0.74; 'products,': 0.74; 'distances': 0.84; 'bandwidth': 0.96
X-Virus-Scanned amavisd-new at torriefamily.org
Date Mon, 06 Oct 2014 08:42:01 -0600
From Michael Torrie <torriem@gmail.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131118 Thunderbird/17.0.11
MIME-Version 1.0
To python-list@python.org
Subject Re: Representing mathematical equations
References <9ea5c61c-9f06-4bcb-982e-2be0a910b817@googlegroups.com> <09669ac4-1aeb-48fa-8cc9-7f741f7fe6b3@googlegroups.com> <28aeb1c6-2a2f-4452-862d-c98b204eab34@googlegroups.com>
In-Reply-To <28aeb1c6-2a2f-4452-862d-c98b204eab34@googlegroups.com>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
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.14645.1412607549.18130.python-list@python.org> (permalink)
Lines 23
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1412607549 news.xs4all.nl 2914 [2001:888:2000:d::a6]:46310
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:78766

Show key headers only | View raw


On 10/06/2014 07:07 AM, varun7rs@gmail.com wrote:
>> Okay, I forgot to explain them. L is a set of links, dist is a
>> number (distance), bd is the bandwidth and hc is a number as well
>> (hopcount)...different bandwidths, hopcounts and distances for different
>> links... b(i,x) is what i intend to calculate out of these details...here
>> 'i'could be the head or tail of the link l and x is a node that hosts i
>> Thank You
> 
> Unbelievable. I again forgot to express them
> L  = [(1,3), (5,7), .....]
> bd = [23, 34,43.44.....]
> dist = [3,7,5,7, ....]
> hc = [2,3,4,1,2,2,...]
> for every l belonging to L, i could be either 1 or 3 for L[0], similarly for L[1] it could be 5 or 7

You might want to ask on the scipy mailing list[1].  I'm sure the folks
over there deal with complex sums and math all the time.  Numpy
(standalone, or as part of scipy) has some facilities for working with
vectors, products, and summations in an efficient manner.

[1] http://mail.scipy.org/mailman/listinfo/scipy-user

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


Thread

Representing mathematical equations varun7rs@gmail.com - 2014-10-06 04:13 -0700
  Re:Representing mathematical equations Dave Angel <davea@davea.name> - 2014-10-06 08:50 -0400
  Re: Representing mathematical equations varun7rs@gmail.com - 2014-10-06 06:03 -0700
    Re: Representing mathematical equations varun7rs@gmail.com - 2014-10-06 06:07 -0700
      Re: Representing mathematical equations Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-06 15:10 +0100
      Re: Representing mathematical equations Michael Torrie <torriem@gmail.com> - 2014-10-06 08:42 -0600
        Re: Representing mathematical equations Peter Pearson <pkpearson@nowhere.invalid> - 2014-10-06 16:45 +0000
          Re: Representing mathematical equations Michael Torrie <torriem@gmail.com> - 2014-10-06 20:07 -0600
      Re: Representing mathematical equations Dave Angel <davea@davea.name> - 2014-10-06 13:24 -0400
        Re: Representing mathematical equations Rustom Mody <rustompmody@gmail.com> - 2014-10-06 10:48 -0700
          Re: Representing mathematical equations Rustom Mody <rustompmody@gmail.com> - 2014-10-06 11:06 -0700

csiph-web