Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78753
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.005 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'teh': 0.09; 'wrote': 0.14; '(1,': 0.16; '......': 0.16; 'dist,': 0.16; 'equation': 0.16; 'equation.': 0.16; 'loops': 0.16; 'number?': 0.16; 'received:80.91.229.3': 0.16; 'received:97': 0.16; 'received:plane.gmane.org': 0.16; 'meant': 0.20; 'mathematical': 0.24; 'unicode': 0.24; 'looks': 0.24; 'header:X-Complaints-To:1': 0.27; 'function': 0.29; 'appear': 0.29; 'sets': 0.30; "i'm": 0.30; 'are.': 0.31; 'text': 0.33; 'could': 0.34; 'message.': 0.35; 'problem': 0.35; 'form.': 0.35; 'really': 0.36; 'indexed': 0.36; 'representing': 0.36; 'example,': 0.37; 'so,': 0.37; 'expressed': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'numbers': 0.61; 'email addr:gmail.com': 0.63; 'different': 0.65; 'here': 0.66; 'sample': 0.67; 'side': 0.67; 'presumably': 0.84; 'subject::': 0.85 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Dave Angel <davea@davea.name> |
| Subject | Re:Representing mathematical equations |
| Date | Mon, 6 Oct 2014 08:50:48 -0400 (EDT) |
| Organization | news.gmane.org |
| References | <9ea5c61c-9f06-4bcb-982e-2be0a910b817@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| X-Gmane-NNTP-Posting-Host | 97.73.240.54 |
| X-Newsreader | PiaoHong.Usenet.Client.VIP:1.62 |
| 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.14634.1412599694.18130.python-list@python.org> (permalink) |
| Lines | 42 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1412599694 news.xs4all.nl 2884 [2001:888:2000:d::a6]:54661 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:78753 |
Show key headers only | View raw
varun7rs@gmail.com Wrote in message: > Hello, > > I am working on a mathematical equation which I'm finding really hard to express in python. Could any of you spare some time to help me out? > > The equation looks like this > > b(i,x) = [Σ(l∈L) [bd(l) * dist(l) * hc(l)]] / Σ(l∈L) l > > I have a problem in representing the above equation. I don't know how to use teh loops over here to express b(i,x) > > i,x,l are sets with different numbers > Perhaps you meant L is a set of numbers, none repeated. If you really meant l, I have no clue. As for i and x, they don't appear on the right side so they're a red herring. I also don't know what bd, dist, and hc are. Are they each a function of a single number? Or are they vectors, indexed by int? If so, then presumably L is a set of ints. How about you express some sample data that you'd like to evaluate. For example, start with L = set (1, 4, 3) bd = [4.3, 12.11, 93, -0.9, 42] ..... > I'm sorry if the equation is not expressed in a standard form. I don't have LateX No problem, you did a good job expressing it in unicode in a text message. Ii Ll 1 -- DaveA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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