MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Exact real parts


Mark, Try this,

h = Table[1/(i + j - 1), {i,3}, {j,3}];

p=Eigenvalues[h];

Map[ComplexExpand[#] &, p]

Cheers,

Brian



"DIAMOND Mark R." <dot at dot.dot> wrote in message news:<9qjjv7$j8i$1 at smc.vnet.net>...
> Is it possible to get Mathematica to provide the exact real parts of
> something like the 3x3 Hilbert matrix?
> 
> h = Table[1/(i + j - 1), {i, 3}, {j, 3}];
> Eigenvalues[h]
> 
> N and Chop will obviously give their approximations.
> 
> Cheers


  • Prev by Date: Re: fonts
  • Next by Date: Switching x and y axes in 2D plots
  • Previous by thread: Re: Exact real parts
  • Next by thread: Re: Exact real parts