next up previous contents index
Next: CCATSL variables, types and Up: Miscellaneous CCATSL routines Previous: Random Numbers   Contents   Index


Miscellaneous


XSortCL

XSortCL sorts the entries of a one-dimensional array of doubles into increasing order.

  void XSortCL ( double *xp,
  int nx);

  xp Array containing the entries to sort.
  nx The number of elements in the array pointed to by xp.


XYSortCL

XYSortCL sorts the entries of a one-dimensional array of doubles into increasing order and applies the same permutation to a second array.

  void XYSortCL ( double *xp,
  double *yp,
  int nx);

  xp Array containing the entries to sort.
  yp Second array to be re-ordered.
  nx The number of elements in the arrays xp and yp.


XYZSortCL

XYZSortCL sorts the entries of two one-dimensional arrays into increasing order and applies the same permutations to the rows and columns of a second array.

  void XYZSortCL ( double *xp
  double *yp,
  double *zp,
  int nx,
  int ny,
  int ncols);

  xp, yp One-dimensional arrays containing the entries to be sorted.
  zp Two-dimensional array to be re-ordered.
  nx The number of elements in the array xp.
  ny The number of elements in the array yp.
  ncols The size of the second dimension in the declaration of the array zp.


InitCL

InitCL allows you to change the inital size of the main CCATSL window.

  void InitCL ( double left,
  double bottom,
  double top,
  double right);

  left, bottom The position of the bottom-left corner of the main CCATSL window, expressed relative to the bottom-left corner of the screen, as a proportion of its width and height.
  top, right The position of the top-right corner of the main CCATSL window, expressed relative to the bottom-left corner of the screen, as a proportion of its width and height.


InitStdioCL

InitStdioCL allows you to change the inital size and position of the Stdio (standard input/output) window.

  void InitStdioCL ( double left,
  double bottom,
  double top,
  double right);

  left, bottom The position of the bottom-left corner of the Stdio window, expressed relative to the bottom-left corner of the main CCATSL window, as a proportion of its width and height.
  top, right The position of the top-right corner of the Stdio window, expressed relative to the bottom-left corner of the main CCATSL window, as a proportion of its width and height.


InitGraphicsCL

InitGraphicsCL allows you to change the inital size and position of the default graphics window.

  void InitGrahicsCL ( double left,
  double bottom,
  double top,
  double right);

  left, bottom The position of the bottom-left corner of the default graphics window, expressed relative to the bottom-left corner of the main CCATSL window, as a proportion of its width and height.
  top, right The position of the top-right corner of the default graphics window, expressed relative to the bottom-left corner of the main CCATSL window, as a proportion of its width and height.


HaltCL

HaltCL terminates the program.

  
HaltCL();      /* Stop here */


next up previous contents index
Next: CCATSL variables, types and Up: Miscellaneous CCATSL routines Previous: Random Numbers   Contents   Index
CATAM admin 2010-02-23