Funny pictures of sexps
#38
(08/26/2009, 09:55 PM)jaydfox Wrote: Well, the Carleman matrix consists of rows that are powers of the Taylor series in question (iterated multiplication, not iterated composition).

The matrix application seems a bit obfuscated to me. Is there any reason why you dont do:
Code:
def psmul(A,B):
    N = len(B)
    return [sum([A[k]*B[n-k] for k in xrange(n+1)]) for n in xrange(N)]

C = Matrix(R,N)
row = vector(R,[1]+(N-1)*[0])
C[0] = row
for m in xrange(1,N):
    row = psmul(row,coeffs)
    C[m] = row
where coeffs is the sequence of coefficients and R the corresponding Real/ComplexField?

Btw. the code is now fast. Thanks Jay.
Reply


Messages In This Thread
Funny pictures of sexps - by bo198214 - 08/25/2009, 01:56 AM
RE: Funny pictures of sexps - by bo198214 - 08/25/2009, 03:59 PM
RE: Funny pictures of sexps - by jaydfox - 08/25/2009, 04:24 PM
RE: Funny pictures of sexps - by bo198214 - 08/25/2009, 05:09 PM
RE: Funny pictures of sexps - by jaydfox - 08/25/2009, 05:43 PM
RE: Funny pictures of sexps - by bo198214 - 08/25/2009, 06:01 PM
RE: Funny pictures of sexps - by bo198214 - 08/25/2009, 08:50 PM
RE: Funny pictures of sexps - by bo198214 - 08/25/2009, 09:39 PM
RE: Funny pictures of sexps - by jaydfox - 08/25/2009, 09:59 PM
RE: Funny pictures of sexps - by jaydfox - 08/25/2009, 09:43 PM
RE: Funny pictures of sexps - by bo198214 - 08/25/2009, 09:55 PM
RE: Funny pictures of sexps - by jaydfox - 08/25/2009, 10:02 PM
RE: Funny pictures of sexps - by jaydfox - 08/25/2009, 10:23 PM
RE: Funny pictures of sexps - by bo198214 - 08/26/2009, 10:23 AM
RE: Funny pictures of sexps - by jaydfox - 08/26/2009, 07:21 PM
RE: Funny pictures of sexps - by bo198214 - 08/26/2009, 08:08 PM
RE: Funny pictures of sexps - by jaydfox - 08/26/2009, 08:38 PM
RE: Funny pictures of sexps - by bo198214 - 08/26/2009, 09:15 PM
RE: Funny pictures of sexps - by bo198214 - 08/26/2009, 09:28 PM
RE: Funny pictures of sexps - by bo198214 - 08/26/2009, 09:36 PM
RE: Funny pictures of sexps - by jaydfox - 08/26/2009, 09:55 PM
RE: Funny pictures of sexps - by bo198214 - 08/26/2009, 10:26 PM
RE: Funny pictures of sexps - by jaydfox - 08/26/2009, 11:00 PM
RE: Funny pictures of sexps - by jaydfox - 08/26/2009, 09:02 PM
RE: Funny pictures of sexps - by bo198214 - 08/26/2009, 05:46 PM
RE: Funny pictures of sexps - by jaydfox - 08/26/2009, 08:11 PM
RE: Funny pictures of sexps - by bo198214 - 08/27/2009, 02:51 PM
RE: Funny pictures of sexps - by jaydfox - 08/27/2009, 04:38 PM
RE: Funny pictures of sexps - by jaydfox - 08/27/2009, 04:58 PM
RE: Funny pictures of sexps - by bo198214 - 08/27/2009, 05:43 PM
RE: Funny pictures of sexps - by bo198214 - 08/27/2009, 05:36 PM
RE: Funny pictures of sexps - by jaydfox - 08/27/2009, 06:21 PM
RE: Funny pictures of sexps - by bo198214 - 08/27/2009, 06:52 PM
RE: Funny pictures of sexps - by bo198214 - 08/25/2009, 10:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Roots of z^z^z+1 (pictures in MSE) [update 8'2022] Gottfried 5 14,615 08/30/2022, 02:08 AM
Last Post: JmsNxn
  On n-periodic points of the exp() - A discussion with pictures and methods Gottfried 1 7,051 06/10/2020, 09:34 AM
Last Post: Gottfried



Users browsing this thread: 1 Guest(s)