Message Boards Message Boards

0
|
3533 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

Testing VectorQ with condition NumberQ

Posted 10 years ago

How can I test whether the argument of the function is a vector with numbers as members? I know f[x_?VectorQ] but it won't test whether members are numbers, VectorQ[list, NumericQ] does, but how to put it into brackets?

POSTED BY: Al Guy
Posted 10 years ago
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract