This is the command yorick that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
yorick - interpreted language for numerical analysis and postprocessing
SYNOPSIS
yorick [ -i file1.i [ -i file2.i [ ... ]]]
yorick -batch file.i
DESCRIPTION
Yorick is an interpreted language like Basic or Lisp, but far faster. It features:
* A C-like language, but without declarative statements. Operations between arrays
produce array results, which is one reason for Yorick's high speed.
* An X window system interactive graphics package. Concentrates on x-y plots and filling
and contouring quadrilateral meshes. Also handles cell arrays. Graphics can be output
to binary CGM or PostScript files as well. A separate CGM browser, gist(1), is
included.
* A binary file package which can read or write floating point formats which are foreign
to the machine where Yorick is running. Thus, you can share binary files freely on a
heterogeneous network.
* A library of functions written in the Yorick language. These include Bessel, gamma,
and related functions, multiple key sorting, spline, rational function, and least
squares fitting, and routines to read and write netCDF files.
* Provisions for embedding compiled subroutines and functions within a Yorick
interpreter. A compiled package which solves matrices and performs FFTs is supplied.
You cannot learn to program in Yorick by reading this man page. Instead, start Yorick
(with no arguments) and type:
help
This will tell you the name of the Yorick site directory at your site. The site directory
contains a doc/ subdirectory; read the README file there to find out about more
documentation. The Yorick user manual is in project GNU's TeXinfo format, which can be
either printed or read online as hypertext using the info command in GNU Emacs. Also
available are a set of six quick reference sheets (as PostScript), and alphabetized
collections of all of Yorick's online help comments (accessible via the help command).
Finally, the i/ subdirectory of the Yorick site directory is a library of functions which
are written in the Yorick language, which are also helpful as examples of how to write
Yorick programs.
To demonstrate Yorick, start Yorick and type the following two lines:
#include "demo1.i"
demo1
After the little movie runs on your X window system display, try:
help, demo1
Follow the SEE ALSO references in this help message by issuing additional help commands.
Also, the help command will print the full pathname of the demo1.i file. Read this file
to see how the demo1 function works. You can repeat this procedure with demo2.i, demo3.i,
and demo4.i:
demo1 - movies of sound and shock waves
demo2 - movies of a drumhead oscillating
demo3 - movie of a chaotic pendulum
demo4 - visualization of the flow field around an airfoil
You can run a crude tutorial introducing all of the Yorick graphics commands by starting
Yorick and typing:
#include "testg.i"
grtest
You can get a description of the various files in the interpreted library by typing (as a
command to Yorick):
library
Options
-i file.i includes the Yorick source file file.i as Yorick starts. This is
equivalent to the #include directive after Yorick has started.
-batch file.i includes the Yorick source file file.i as Yorick starts. Your
customization file custom.i, if any, is not read, and Yorick is placed
in batch mode. Use the help command on the batch function (help,
batch) to find out more about batch mode. In batch mode, all errors
are fatal; normally, Yorick will halt execution and wait for more
input after an error.
Use yorick online using onworks.net services