Re: Controlling function arguments
- To: mathgroup at smc.vnet.net
- Subject: [mg48825] Re: [mg48817] Controlling function arguments
- From: DrBob <drbob at bigfoot.com>
- Date: Fri, 18 Jun 2004 02:12:47 -0400 (EDT)
- References: <200406170807.EAA27782@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
NumberVectorQ[x] returns True if x is a vector of numbers. Bobby On Thu, 17 Jun 2004 04:07:39 -0400 (EDT), Virgil Stokes <Virgil.Stokes at it.uu.se> wrote: > I found the following Mathematica code: > > NumberVectorQ[x_] := VectorQ[x] && And @@ NumberQ /@ x; > functionx[k_Integer?Positive, v_?NumberVectorQ, w_?NumberVectorQ, > q_?NumberVectorQ] := ..... > > where, I have left out the body of this function (functionx). What does > the first line actually accomplish? > > --V. Stokes > > > > > -- DrBob at bigfoot.com www.eclecticdreams.net/index.html
- References:
- Controlling function arguments
- From: Virgil Stokes <Virgil.Stokes@it.uu.se>
- Controlling function arguments