Command: MemberQ

NEST HelpDesk Command Index NEST Quick Reference

Name:
 MemberQ - checks if array contains a specific element
Synopsis:
array any MemberQ -> true
                  -> false
Examples:
[3 8 2 9 -1] 2 MemberQ --> true
[3 8 9 -1]   2 MemberQ --> false
Author:
 Diesmann
FirstVersion:
 10.5.2001
Remarks:
 The Mathematica implementation is much more general
References:
   [1] The Mathematica Book "MemberQ"
SeeAlso:LiteralQ NumberQ ArrayQ MatrixQ HasDifferentMemberQ
Source:
 /home/abuild/rpmbuild/BUILD/nest-2.4.1/lib/sli/mathematica.sli

NEST HelpDesk Command Index NEST Quick Reference

© 2000-2010 The NEST Initiative