Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Core Language > List Manipulation > Applying Functions to Lists > Ratios >
Mathematica > Data Manipulation > Handling Arrays of Data > Applying Functions to Lists > Ratios >
Mathematica > Data Manipulation > Image Processing & Analysis > Basic Image Manipulation > Handling Arrays of Data > Applying Functions to Lists > Ratios >

Ratios

Ratios[list]
gives the successive ratios of elements in list.
Ratios
gives the n^(th) iterated ratios of list.
Ratios
gives the successive ^(th) ratios at level k in a nested list.
  • Ratios divides successive elements by preceding ones, so that Ratios gives .
  • If list has length s, Ratios has length .
  • Ratios or Ratios finds the successive ratios of rows in a 2D array or matrix m. Ratios finds the ratios of columns.
First ratios:
Second ratios:
First ratios:
In[1]:=
Click for copyable input
Out[1]=
 
Second ratios:
In[1]:=
Click for copyable input
Out[1]=
Ratios of rows, within each column:
Ratios of columns, within each row:
First ratios are constant for a geometric sequence:
FoldList with Times acts as an inverse of Ratios:
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF