Satimage Previous
Smile's maths
Home ▸ Documentation ▸ Smile ▸ Computing ▸ Smile's maths  
If you manipulate more than hundreds of values, you must use the packed structure that Smile uses internally, instead of the standard AppleScript list of numbers.
  • Smile’s internal structure for lists of real numbers is the array of real, an opaque type. An array of real is logically equivalent to a list of real such as {1.0, 3.14}.
  • Smile defines a data type which derives from array of real: matrix. A matrix is a structure (an AppleScript record) which stores an array of real and two positive integers which define a number of rows (nrows) and a number of columns (ncols). matrices are how you store 2-d parametric sets of scalars.
See how to use arrays of real and matrices in the pages below.
Version française
Copyright ©2008 Paris, Satimage