|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
Ratios
Ratios[list]
gives the successive ratios of elements in list.
Ratios[list, n]
gives the n
iterated ratios of list.
Ratios[list, {n1, n2, ...}]
gives the successive ![]()
ratios at level k in a nested list.
DetailsDetails
- Ratios divides successive elements by preceding ones, so that Ratios[{x1, x2}] gives
. - If list has length s, Ratios[list, n] has length
. - Ratios[m, {1, 0}] or Ratios[m, 1] finds the successive ratios of rows in a 2D array or matrix m. Ratios[m, {0, 1}] finds the ratios of columns.
- Ratios[list, {n1, n2}] is equivalent to Ratios[Ratios[list, n1], {0, n2}].
New in 7
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
