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


Groups > comp.lang.python > #100757

convert to python code

Path csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From Rodrick Brown <rodrick.brown@gmail.com>
Newsgroups comp.lang.python
Subject convert to python code
Date Tue, 22 Dec 2015 23:14:09 -0500
Lines 9
Message-ID <mailman.74.1450844086.2237.python-list@python.org> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de O5WGsjzjz3J0wq9eRLog3g7vrEPmF0H5PgjqpyUk3Zog==
Return-Path <rodrick.brown@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.071
X-Spam-Evidence '*H*': 0.86; '*S*': 0.00; 'subject:code': 0.07; 'subject:python': 0.14; 'received:io': 0.16; 'received:psf.io': 0.16; 'to:name:python-list@python.org': 0.20; 'tried': 0.24; 'message-id:@mail.gmail.com': 0.27; "can't": 0.32; 'received:google.com': 0.35; 'but': 0.36; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'seem': 0.37; 'things': 0.38; 'received:209': 0.38; 'received:209.85.214': 0.39; 'to:addr:python.org': 0.40; 'times': 0.63; '\xc2\xa0\xc2\xa0': 0.66
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=uA/zCiAksOZNo4V6DaCpIO0Nu73+mYKsQR5GIzjMLkI=; b=CvKh5K9TFah7xzTpHgAugxjCwugK7kqj29CvovMF/IQ42W0pyFORd61tgaoIje1rZb In8P88gIOc2yxUJYRIoGvGXZcCZaT+esM464+vIrS0AnmAKrCLtV58qEEGCpkxErr/2e aesk94xrQLkp3wbKZ/lVyjSpVErI5TmTcyznCCxhLnrevpsGn2W14K4kGS7SGQ2ycZCh mctWR8HLcSeod5Kzlc7+g01R5eNRTdSIIj4dENUiKPLeohwTPbgQblX1wzFy8QlnHy1D G/+9XmXj6eayP0w18X+5icLw9WivZLm+kEMMGZq/+7c507Bpnwe2kv9nHjb1sumdbpA6 bSqA==
X-Received by 10.182.254.34 with SMTP id af2mr13768181obd.60.1450844078570; Tue, 22 Dec 2015 20:14:38 -0800 (PST)
X-Content-Filtered-By Mailman/MimeDel 2.1.20+
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
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>
Xref csiph.com comp.lang.python:100757

Show key headers only | View raw


Tried a few things but can't seem to get it right any help ?

let times = (...matrices) =>

  matrices.reduce(

    ([a,b,c], [d,e,f]) => [a*d + b*e, a*e + b*f, b*e + c*f]

  );

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


Thread

convert to python code Rodrick Brown <rodrick.brown@gmail.com> - 2015-12-22 23:14 -0500
  Re: convert to python code Steven D'Aprano <steve@pearwood.info> - 2015-12-23 22:09 +1100

csiph-web