MathGroup Archive 2004

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

Search the Archive

Re: Controlling function arguments

    Because x is a list,so And@@ is applied to every member of x to make 
sure every elment is number.

On Thu, 17 Jun 2004, 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: Simplifying a large matrix into an equation using Mathematica
  • Next by Date: Re: Question about Hold
  • Previous by thread: Controlling function arguments
  • Next by thread: Re: Controlling function arguments