Hello,
I would like, if it is possible, to calculate the formal power of one
matrix ?

My attempt is after but it doesn't work... :-(

Christophe

======================

var('n')

assume(n, 'integer')

E = matrix([
    [0   , 1   , 0   , 0   , 0  ],
    [1/4 , 0   , 3/4 , 0   , 0  ],
    [0   , 1/2 , 0   , 1/2 , 0  ],
    [0   , 0   , 3/4 , 0   , 1/4],
    [0   , 1   , 0   , 1   , 0  ]
])

print E**n

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to sage-support@googlegroups.com.
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to