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 test if list of arguments are numeric

  • To: mathgroup at smc.vnet.net
  • Subject: [mg89518] Re: [mg89500] How to test if list of arguments are numeric
  • From: "Szabolcs HorvÃt" <szhorvat at gmail.com>
  • Date: Wed, 11 Jun 2008 05:15:07 -0400 (EDT)
  • References: <200806110717.DAA14891@smc.vnet.net>

On Wed, Jun 11, 2008 at 10:17, Michael A. Gilchrist <mikeg at utk.edu> wrote:
> Hi all,
>
> I'm trying to use a function with NMinimize and running into problems with
> holding off its evaluation until NMinimize passes real values.  Essentially, I
> have something like this
>

Hello,

This can be done like this:

function[list_?(VectorQ[#, NumericQ] &)] := ...


  • Prev by Date: Re: How to test if list of arguments are numeric
  • Next by Date: Re: Re: Show and 6.0
  • Previous by thread: How to test if list of arguments are numeric
  • Next by thread: Re: How to test if list of arguments are numeric