MathGroup Archive 2006

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

Search the Archive

Question on Map or Apply

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66338] Question on Map or Apply
  • From: "LectorZ" <lectorz at mail.ru>
  • Date: Wed, 10 May 2006 06:33:35 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi guys,

I am trying to apply DaysBetween function to the following list:

list={{{2006, 1, 16}, {2006,
      3, 31}}, {{2006, 1, 24}, {2006, 3, 31}}, {{2005, 6, 17}, {2006,
3, 31}}}

DaysBetween[list[[1, 1]], list[[1, 2]]] works well.
What I need is to apply DaysBetween on the whole list conaining 3
sublists and getting a new list as a result containing 3 numbers.

Thanks,

LZ


  • Prev by Date: Re: Re: Do Mathematica applications EVER get updated?
  • Next by Date: Picture
  • Previous by thread: Re: Problem calling function in DLL via NETLink: NET::netexcptn: A .NET exception occurred
  • Next by thread: Re: Question on Map or Apply