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

MathGroup Archive 2008

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

Search the Archive

Re: How to use Thread when second argument to function is a list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg86394] Re: How to use Thread when second argument to function is a list
  • From: Peter Pein <petsie at dordos.net>
  • Date: Mon, 10 Mar 2008 02:04:23 -0500 (EST)
  • References: <fr0cqr$eh8$1@smc.vnet.net>

I forgot a Range[] -- sorry!


mchain[p_] :=
    (findNonZeroElements[#1, p] & ) /@ Range[Length[p]]]


  • Prev by Date: Re: Apply function to parts of a list
  • Next by Date: definite integration of 1/a
  • Previous by thread: Re: Determinant and Characteristic Polynomial not working properly
  • Next by thread: Re: How to use Thread when second argument to function is a list