MathGroup Archive 2004

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

Search the Archive

Re: Controlling function arguments

  • To: mathgroup at smc.vnet.net
  • Subject: [mg48822] Re: Controlling function arguments
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Fri, 18 Jun 2004 02:12:44 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <carkcp$r9g$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

it is the long form of

NumberVectorQ[x_]:=VectorQ[x,NumberQ]

Regards
  Jens

Virgil Stokes 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


  • Prev by Date: Re: Question about Hold
  • Next by Date: Re: Controlling function arguments
  • Previous by thread: Re: Controlling function arguments
  • Next by thread: Re: Controlling function arguments