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


Groups > comp.soft-sys.math.mathematica > #7983

Re: MatrixPower problem

From per@RQNNE.invalid (Per Rønne)
Newsgroups comp.soft-sys.math.mathematica
Subject Re: MatrixPower problem
Date 2012-01-18 11:09 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jf698t$get$1@smc.vnet.net> (permalink)
References <jejkc5$b40$1@smc.vnet.net>

Show all headers | View raw


Dana DeLouis <dana2010@me.com> wrote:

> > P = {{0, 1/2, 0, 1/2, 0}, {1/2, 0, 1/3, 0, 0},
>         {0, 1/2, 0, 1/2, 0}, {1/2, 0, 1/3, 0, 0}, {0, 0, 1/3, 0, 1}}
>  //MatrixForm
>
>
> Hi.  Just to give another option...
>
> // Have each output use Matrix Form
>
> $Post = MatrixForm
>
> // Then...
>
> =
> P={{0,1/2,0,1/2,0},{1/2,0,1/3,0,0},
>    {0,1/2,0,1/2,0},{1/2,0,1/3,0,0},{0,0,1/3,0,1}}
>
> << Output using MatrixForm >>
>
> // Now, turn it off:
>
> $Post =.
>
> e1={1,0,0,0,0};
>
> Limit[MatrixPower[P,k].e1,k->\[Infinity]]
> {0,0,0,0,1}

Yes - and even without the drawbacks of turning the variables into
MatrixForm format.
--
Per Erik R=F8nne
http://www.RQNNE.dk
Errare humanum est, sed in errore perseverare turpe

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: MatrixPower problem Dana DeLouis <dana2010@me.com> - 2012-01-11 09:22 +0000
  Re: MatrixPower problem per@RQNNE.invalid (Per Rønne) - 2012-01-18 11:09 +0000

csiph-web