|
SOLUTIONS
|
COMBINATORICA 程序包 符号
BinarySearch
![]()
searches sorted list l for key k and gives the position of l containing k, if k is present in l. Otherwise, if k is absent in l, the function returns
where k falls between the elements of l in positions
and
.
![]()
gives the position of k in the list obtained from l by applying f to each element in l.
更多信息更多信息
- To use
, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
