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

MathGroup Archive 2010

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

Search the Archive

Re: Two questions related to Arrays

  • To: mathgroup at smc.vnet.net
  • Subject: [mg113323] Re: Two questions related to Arrays
  • From: "Nasser M. Abbasi" <nma at 12000.org>
  • Date: Sat, 23 Oct 2010 07:07:46 -0400 (EDT)
  • References: <i9r7vo$hot$1@smc.vnet.net>
  • Reply-to: nma at 12000.org

On 10/21/2010 10:38 PM, Sam Takoy wrote:
> Hi,
>
> First, why doesn't the following return the first two elements of the
> outer list:
>
>
> Cases[{{{1}, {2}}, {3, 4}, {{5}, 6}}, _Array]
>

I am not sure what is _Array supposed to do?

I do not see Array being as a defined head in Mathematica. If you are 
trying to find items with head Array in the expression, you will not 
find any.

>
>
> Second, I'm looking for help writing a function
>
> f[t__]:=
>
> that returns Outer[Times, u] where u only includes the input variables
> that are Arrays.
>
>
> Many thanks in advance,
>
> Sam
>

do not understand. May be someone else can help you on this one.

--Nasser



  • Prev by Date: Re: From list to list of arguments
  • Next by Date: a DensityPlot eps file bug in mathematica 7.0
  • Previous by thread: Re: Two questions related to Arrays
  • Next by thread: Re: Two questions related to Arrays