Re: Weird Print Result
- To: mathgroup at smc.vnet.net
- Subject: [mg74151] Re: [mg74122] Weird Print Result
- From: "Chris Chiasson" <chris at chiasson.name>
- Date: Mon, 12 Mar 2007 22:11:54 -0500 (EST)
- References: <200703120933.EAA26997@smc.vnet.net>
It just means the result was 4*Null
Null is the result of a Print command. Of course, Print also has a
side effect of printing something.
On 3/12/07, Bruce Colletti <vze269bv at verizon.net> wrote:
> Re Mathematica 5.2 under WinXP.
>
> The code below creates the correct output, except for a strange concluding "4 Null."
>
> What does this weird last line of output mean (list length?), why does it print, and how can it be suppressed?
>
> Thankx.
>
> Bruce
>
>
> n = 2;
> T = Array[p, {n, n}];
> X0 = Array[x, {n}];
> X = (Expand /@ (X0.MatrixPower[T, 2]));
> Print /@ X[[1]]
>
>
--
http://chris.chiasson.name/
- References:
- Weird Print Result
- From: Bruce Colletti <vze269bv@verizon.net>
- Weird Print Result