Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Take Take list, n] gives the first n elements of list. Take list, -n] gives the last n elements of list. Take list, {m, n}] elements m through n of list. Take uses the standard sequence specification (see page ??). Example: Take {a,b,c,d,e}, 3] ;;! {a, b, c}. Take {a,b,c,d,e}, -2] ;;! {d, e}. Take can be used on an object with any head, not necessarily List. page 125. See also: Part, Drop, StringTake, Select, Cases. See Web sample page from The Mathematica Book, Second Edition, by Stephen Wolfram, published by Addison-Wesley Publishing Company (hardcover ISBN 0-201-51502-4; softcover ISBN 0-201-51507-5). To order Mathematica or this book contact Wolfram Research: [email protected]; http://www.wolfram.com/; 1-800-441-6284. 1991 Wolfram Research, Inc. Permission is hereby granted for web users to make one paper copy of this page for their personal use. Further reproduction, or any copying of machine-readable files (including this one) to any server computer, is strictly prohibited.