Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: Re: Min function returns Min[2.05875,] instead of

  • To: mathgroup at smc.vnet.net
  • Subject: [mg100429] Re: [mg100384] Re: Min function returns Min[2.05875,] instead of
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Wed, 3 Jun 2009 01:12:08 -0400 (EDT)
  • Reply-to: hanlonr at cox.net

Min[{{a, b, c}, {d, e, f}, {g, h, i}}]

min(a,b,c,d,e,f,g,h,i)

Min[{{a, {b, j}, c}, {d, e, f}, {g, h, {i, k}}}]

min(a,b,c,d,e,f,g,h,i,j,k)

Min will flatten its argument.

Attributes[Min]

{Flat,NumericFunction,OneIdentity,Orderless,Protected,ReadProtected}


Bob Hanlon


---- Jens-Peer Kuska <kuska at informatik.uni-leipzig.de> wrote: 

=============
Hi,

can you explain what the minimum of a set of
vectors with dimension 248 is ?

Or do you mean Min[Flatten[data]] ?

Regards
   Jens

dg wrote:
> I have an matrix "data" with 17x248 real numbers.
> 
> When I enter  Min[data], I get
> Min[2.05875, ] as a result, instead of just the number 2.05875.
> 
> This is Mathematica 7.0.1 on Mac OS X.
> 
> Why?
> 
> How can I get just the number from the result?
> 
> TIA
> 




  • Prev by Date: Re: Re: Re: problem writing debugging utility
  • Next by Date: Re: Perpendicular lines do not appear perpendicular
  • Previous by thread: Re: Re: Re: problem writing debugging utility
  • Next by thread: FindRoot inside FindMinimum