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


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

Re: MatrixPower problem

From per@RQNNE.invalid (Per Rønne)
Newsgroups comp.soft-sys.math.mathematica
Subject Re: MatrixPower problem
Date 2012-01-22 12:32 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jfgvkk$pm7$1@smc.vnet.net> (permalink)
References <je96q1$j7o$1@smc.vnet.net> <jel26f$ln1$1@smc.vnet.net> <jf697u$ge3$1@smc.vnet.net> <jf8q60$3i0$1@smc.vnet.net>

Show all headers | View raw


roby <roby.nowak@gmail.com> wrote:

> Well, this is strangely.
> 
> When dou you get the error, as soon as you enter: $Post :=
> Map[If[MatrixQ@#, MatrixForm@#, #] &, #, {0, Infinity}] &
> or not until you enter some matrix ?
> 
> Which version of Mathematica do you use ?

8.04.0 for Students.

But now it says:

In[1]:= $Post:=Map[If[MatrixQ@#,MatrixForm@#,#]&,#,{0,Infinity}]&
In[2]:= {1,1}
Out[2]= {1,1}

And when I remove the ampersand, all output is preceded with an #-like
character.

Since it is around a week ago since I posted it, I don't recall how I
did it.

> I tested flawless with 7.0, 8.0
> 
> You could try to replace infinity by some "sufficient" high integer
> e.g.: $Post := Map[If[MatrixQ@#, MatrixForm@#, #] &, #, {0, 1000}] &


-- 
Per Erik Rønne
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

MatrixPower problem per@RQNNE.invalid (Per Rønne) - 2012-01-07 10:29 +0000
  Re: MatrixPower problem David Bailey <dave@removedbailey.co.uk> - 2012-01-08 09:28 +0000
    Re: MatrixPower problem per@RQNNE.invalid (Per Rønne) - 2012-01-09 08:24 +0000
  Re: MatrixPower problem roby <roby.nowak@gmail.com> - 2012-01-11 22:24 +0000
    Re: MatrixPower problem per@RQNNE.invalid (Per Rønne) - 2012-01-18 11:08 +0000
      Re: MatrixPower problem roby <roby.nowak@gmail.com> - 2012-01-19 10:10 +0000
        Re: MatrixPower problem per@RQNNE.invalid (Per Rønne) - 2012-01-22 12:32 +0000

csiph-web