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


Groups > comp.lang.python > #100757

convert to python code

From Rodrick Brown <rodrick.brown@gmail.com>
Newsgroups comp.lang.python
Subject convert to python code
Date 2015-12-22 23:14 -0500
Message-ID <mailman.74.1450844086.2237.python-list@python.org> (permalink)

Show all headers | 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