Infty Calculator Install Document Ver. 0.3.2 ******************************************** Supported OS ============ Windows XP 32bit / Windows 7 32bit / Windows 7 64bit / Windows 8.1 64bit Download Files ============== From http://www.inftyproject.org/en/software.html#InftyEditor InftyEditorE3XX.zip (XX means its version number.) From http://www.InftyProject.org/calc/ InftyOpenXMFiles.zip How to Install ============== 1. Unpack InftyEditorE3XX.zip, and execute InftyEditorE3XX_Setup.exe. In case of Windows 7 64bit, it will be installed in "c:\Program Files (x86)\sAccessNet\InftyEditor(English)". 2. Unpack InftyOpenXMFiles.zip. You get the folder Infty-OpenXM. 3. Copy the DLL files (IOpenXM.dll, IOpenXMDlg.dll) in Infty-OpenXM\InftyEditor to "c:\Program Files (x86)\sAccessNet\InftyEditor(English)\bin". 4. Put the folder OpenXM-win in Infty-OpenXM to c:\ (i.e., the root of C drive). 5. Put the folder usr in Infty-OpenXM to c:\ . 6. Setting User environment variables Add: ASIR_LIBDIR=/cygdrive/c/OpenXM-win/lib/asir ASIRLOADPATH=/cygdrive/c/OpenXM-win/lib/asir-contrib OpenXM_HOME=/cygdrive/c/OpenXM-win Change: Append c:\OpenXM-win\bin;c:\usr\bin to your PATH environment variable. How to use Infty Calculator =========================== 1. Start Infty Editor and push the "Calculation" button at the right end of the tool bar. 2. The dialog IOpenXMDlg appears. 3. In the file chooser dialog, select "c:\OpenXM-win\bin". 4. The OpenXM Interface Dialog appears. 5. Select menu [Connect] --> [Asir]. If Infty Editor succeeds in communication with Asir, it will be displayed "succeeded". 6. After choosing a mathematical notation in Infty Editor, users can calculate by choosing a computing command from the calculate menu in the OpenXM Interface Dialog. The results will appear in the OpenXM Interface Dialog. 7. The pastes of calculation results into Infty Editor are available from the paste menu in the OpenXM Interface Dialog. There are three paste mode. - With `=' Mode - With LF Mode - Normal Mode Users can select it by radio buttons. Furthermore, users can choose auto paste mode by a maximize/minimize button of the OpenXM Interface Dialog. Support of Asir User Language ============================= Asir user language is a programming language just like C language. Type declarations of variables are unnecessary, and lists are available for data objects. On Infty Editor, users can define new functions by using Asir user language, and use them. The following is an example of a function which calculates the sum from 1 to N by Asir user language. def sum(N){ R=0; for(I=1;I<=N;I++) R=R+I; return R; } First, users input the above program on **TeX mode** in Infty Editor. What is needed in order to define the new function `sum' is to choose `Asir language' from the calculation menu of the OpenXM Interface Dialog. It is also possible to send Asir commands directly. There are two methods for sending Asir commands. One is the method choosing `Asir string' from the calculation menu of the OpenXM Interface Dialog. In this case, users get the plain strings which Asir returns. Another one is the method inputting Asir commands in the small window (Asir String Box). In this case, the calculation result is converted to the Infty XML format as much as possible. Available Functions =================== Currently available computation functions are as follows: - Evaluate (Asir) - Expand (Asir) - Factorize (Asir) - Differentiate (Asir) - Integrate (Asir) - System of Equations (phc) - 2D Explicit function Plot (gnuplot) *1 - 3D Explicit function Plot (gnuplot) *1 - 2D Implicit function Plot (ox_plot) *1 *1 X server is needed. (e.g. Exceed or Cygwin-XFree86) *** These functions are very experimental and can run only **very simple** calculations. About 2D and 3D plot (CURRENTLY INCOMPATIBLE WITH Windows 7 / Windows 8.1) ==================== 2D and 3D plot needs X server. You must install X server for Windows (e.g. Exceed or Cygwin-XFree86). Exceed is a commercial software released by Hummingbird Ltd. http://www.hummingbird.com/products/nc/exceed/index.html Cygwin-XFree86 is a free X server. You can install Cygwin-XFree86 by Cygwin setup.exe. http://sources.redhat.com/cygwin/xfree/ If you installed Cygwin-XFree86, you must set environment variables. New: DISPLAY=127.0.0.1:0.0 Change: In PATH, add "c:\cygwin\bin" and delete "c:\usr\bin" . How to use gnuplot from InftyEditor: 0. Click the short cut "Cygwin" on your desktop. 1. Type "startxwin.sh" . 2. Start InftyEditor . 3. Connect Asir from the OpenXM Interface Dialog. 4. Change "Math Mode". 5. Type "\sin[Enter]x". 6. Drag "sin x". 7. Choose "plot" from the calculate menu in the OpenXM Interface Dialog. ---> The graph of y=sin(x) will appear. 8. Type "\sin[Enter]x+\cos[Enter]y". 9. Drag "sin x + cos y". 10. Choose "splot" from the calculate menu in the OpenXM Interface Dialog. ---> The graph of z=sin(x)+cos(y) will appear. The result windows of 7 and 10 are by gnuplot. 11. Type "x^3-y^2". 12. Drag "x^3-y^2". 13. Choose "ifplot" from the calculate menu in the OpenXM Interface Dialog. ---> The graph of x^3-y^2=0 will appear. The result window of 13 is by ifplot. Known Bugs ========== - When calculation errors occurred, users may have to terminate the following processes manually. InftyEd2.exe ox.exe asir.exe ------------------------------- Ver.0.32 2015-4-8 Ver.0.31 2015-3-31 Ver.0.3 2004-8-8 Ver.0.2 2004-1-27 Ver.0.1 2003-9-6