mathlib-develop Mailing List for JMathLib - Octave, Matlab clone in java
Status: Beta
Brought to you by:
st_mueller
You can subscribe to this list here.
2003 |
Jan
|
Feb
(18) |
Mar
(8) |
Apr
|
May
|
Jun
|
Jul
(15) |
Aug
(3) |
Sep
(1) |
Oct
(1) |
Nov
(1) |
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(3) |
Feb
(4) |
Mar
|
Apr
(4) |
May
(4) |
Jun
(9) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(2) |
Dec
|
2005 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(4) |
Sep
(3) |
Oct
(3) |
Nov
(2) |
Dec
(3) |
2007 |
Jan
(4) |
Feb
(2) |
Mar
|
Apr
|
May
(3) |
Jun
(2) |
Jul
(2) |
Aug
(2) |
Sep
|
Oct
|
Nov
(3) |
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(21) |
Aug
|
Sep
(1) |
Oct
(1) |
Nov
|
Dec
(1) |
2009 |
Jan
|
Feb
(1) |
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(2) |
2010 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(1) |
2012 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Johannes S. <Joh...@gm...> - 2009-12-07 12:28:27
|
Hi, On Mon, 7 Dec 2009, Alejandro Torras wrote: > JMathLib supports both .class based functions and GNU Octave's .M files. The problem is that either all of those have to be unpacked, or they have to be listed in the file "webFunctionsList.dat" in the .jar, which must be generated using the function "createfunctionslist". In our (unfortunately failed) GSoC project for Fiji (the student was just not able to properly analyze the source code, let alone the challenges of the project), we wanted to provide a way which reads the .jar file directly, avoiding the need for a file webFunctionsList.dat. That would have allowed us to make an embedded interpreter with new functions provided by us. > IIRC JMathLib supports a command-line interpreter, but I'm afraid I > don't remember the exact location. It is in the class jmathlib.ui.text.TextUI. Ciao, Dscho |
From: Alejandro T. <ate...@ho...> - 2009-12-07 11:33:02
|
Hi Ven, JMathLib supports both .class based functions and GNU Octave's .M files. You can take a look to the supplied .m files at http://mathlib.svn.sourceforge.net/viewvc/mathlib/JMathLib/tags/release_v00_09_00/src/jmathlib/toolbox/statistics/base/center.m?revision=415&view=markup in example. IIRC JMathLib supports a command-line interpreter, but I'm afraid I don't remember the exact location. Regards, Alejandro. > Date: Fri, 20 Nov 2009 03:36:08 -0800 > From: pau...@ya... > To: mat...@li... > Subject: [Mathlib-develop] Doubt of a new member > > Hi everybody, > > I'm new in JMathLib. I have look for a substitute to matlab, and I have found JMathLib. But I have some doubts. > > * I run JMathLib on Ubuntu8.04 using java 1.6 > > 1) I would like to know how could I add new functions to JMathLib (java or mfile functions) as I have not found it on the web. > > 2) I would like to know how could I run just a script from console as an autonomous program. It is to say, something like: > > java -cp bin jmathlib.ui.text.TextUI miscript.m > > But it seems... it is not the right way. > > Thanks in advance, > Ven > > > Encuentra las mejores recetas en Yahoo! Cocina. > http://mx.mujer.yahoo.com/cocina/ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Mathlib-develop mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/mathlib-develop _________________________________________________________________ |
From: Paulados <pau...@ya...> - 2009-11-20 11:36:22
|
Hi everybody, I'm new in JMathLib. I have look for a substitute to matlab, and I have found JMathLib. But I have some doubts. * I run JMathLib on Ubuntu8.04 using java 1.6 1) I would like to know how could I add new functions to JMathLib (java or mfile functions) as I have not found it on the web. 2) I would like to know how could I run just a script from console as an autonomous program. It is to say, something like: java -cp bin jmathlib.ui.text.TextUI miscript.m But it seems... it is not the right way. Thanks in advance, Ven Encuentra las mejores recetas en Yahoo! Cocina. http://mx.mujer.yahoo.com/cocina/ |
From: Alejandro T. <ate...@ho...> - 2009-04-15 08:35:28
|
Hi Martin, I apologize for the delay of the answer. No, JMathLib doesn't support image processing yet, but I think that it could be easily integrated into Fiji or implemented in JMathLib. I did some contribution to the stats toolbox but the big contributers were Mr. Müller and Mr. Sparshatt. Regards, Alejandro. > Date: Mon, 6 Apr 2009 08:34:28 +0200 > From: mar...@gm... > To: mat...@li... > Subject: [Mathlib-develop] JMathLib and image processing > > Hi folks, > I have applied for GSoC for Fiji project that would aim at integrating > JMathLib to Fiji to allow processing of images using .m scripts (this > would probably mean extending JMathLib as well to provide > functionality needed). I would like to ask what state is JMathLib with > respect to image processing? > > -- > Cheers, Martin Harvan > > ------------------------------------------------------------------------------ > _______________________________________________ > Mathlib-develop mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/mathlib-develop _________________________________________________________________ Llévate Messenger en el móvil a todas partes ¡Conéctate! http://www.microsoft.com/spain/windowsmobile/messenger/default.mspx |
From: Johannes S. <Joh...@gm...> - 2009-04-09 15:29:36
|
Hi JMathLib developers, I am one of the developers of Fiji (http://pacific.mpi-cbg.de/), an image processing suite based on ImageJ (http://rsb.info.nih.gov/ij/). As a lot of scientist use Matlab to prototype their image processing algorithms (and never manage to bring the algorithms out of prototype stage), it was pretty natural to try to find some way to run those scripts in Fiji. A little search revealed JMathLib as a pretty mature Matlab clone without the licensing issues of the original. Great job! So we posted this as one of our GSoC ideas: http://pacific.mpi-cbg.de/wiki/index.php/SoC2009Ideas#Add_JMathLib_.28Matlab_clone.29_support Roughly, the idea is to include JMathLib as-is, and override the image toolbox to access ImageJ structures. We got accepted as an organization into the Google Summer of Code, but nothing definitive will be known about the accepted projects until April 20th. Ciao, Dscho P.S.: I am aware that one of our applicants sent a mail to this list, but I wanted to introduce us properly. |
From: Martin H. <mar...@gm...> - 2009-04-06 06:34:46
|
Hi folks, I have applied for GSoC for Fiji project that would aim at integrating JMathLib to Fiji to allow processing of images using .m scripts (this would probably mean extending JMathLib as well to provide functionality needed). I would like to ask what state is JMathLib with respect to image processing? -- Cheers, Martin Harvan |
From: Stefan M. <st...@he...> - 2009-02-22 08:23:17
|
Dear everybody, I have just releases a new version of JMathLib (0.9.4) These are the main changes: Added a new update manager. Added a test version of a java servlet. Added support for a++ and 5++. Added support for a-- and 5--. Added support for a+=5 -> a=a+5. Added support for a-=5 -> a=a-5. Added support for a*=5 -> a=a*5. Added support for a/=5 -> a=a/5. Added "cut","paste","copy" to AWT GUI. Added "ctrl-x","ctrl-v","ctrl-c" to AWT GUI. JMathLib is now thread save, you can run multiple instandes a the same time. Added the euler number as predefined variable. Added quit. Added exit. Added pwd. Added TextUI as a first version of a text based user interface. Bugfix for DoubleNumberToken.java support for [1,0,3].^0 = [1,1,1] and 0.^[1,0,2] = [0,1,0]. Added format. Added jmathlib.sh for starting JMathLib on unix. Please try it out: www.jmathlib.de Kind regards, Stefan. |
From: Stefan M. <st...@he...> - 2008-12-30 12:29:45
|
Dear BB, the mentioned bug regarding "," and "." has been fixed over christmas. It has to do with the Locale set in JMathLib. For the output of numbers I have set the local to english. Hope this solves all issues. Regards, Stefan. bb wrote: > Hello JMathLib-list, > > After some interrupt I am back in testing and I found it confusing that > in a calculation there will be a decimal point converted to a decimal > comma! (I did not recognize that without my spectacles!) For instance: > >> 0.3+0.5 > ans = 0,8 > > > The comma is confusing for anglosaxon people and others as well, because > i. e. in Germany a comma is used instead of a point as a decimal > separator and in the usual syntax the comma is used as a matrix > separator. The question arises, is it a decimal comma or a matrix > separator? There is a good message, that the comma is forwarded > correctly as a decimal sign: > >> x=0.3+0.5 > ans = 0,8 > >> x+0.4 > ans = 1,2 > > > That is a little bit confusing, as the result of >> 0,3+0,4 > ans = 0 > ans = 3 > ans = 4 > > There is obviously meant a matrix interpretation. That means the > situation is not really clear. > > I found that error in another math-prog as well, in freemat. I do not > know if that is a problem of my (or say the OS) national setting > (Germany in my case) or if that is a general problem. But I do not have > any simple solution! I would recommend to check that problem and at > best wipe out that confusing interpretation. There is a common > understanding of mathematical syntax that should be followed in a math > program. > > Regards > > BB > > > > |
From: Ν. Π. <mpa...@gm...> - 2008-10-06 16:53:14
|
Dear JMathLib users, i am a beginner to JMathLib. I learn it quite easily, because i am using octave for years. The only problem i have learning JMathLib are the script files. I cannot figure out how can i run my m-files? Can you help me? Thanks anyway, Nick |
From: josu j. <jos...@eh...> - 2008-09-08 15:38:09
|
Hi This is my fist time using JMathLib and I think that is very interesting. After trying the software, i have the next question: Is it possible to use the Libraries/functions without the console? Thank you in advance J. Jugo Univ. of the Basque Country |
From: Stefan M. <st...@he...> - 2008-07-12 10:38:06
|
Dear BB, sorry for all the trouble: This is my setup: Menu Project/Properties then select "Java Build Path" click on "Source" "Source folders on build path:" i have one entry "JMathLib/src" "Default output folder" i have "JMathLib/bin" click on "Libraries" click on "Add JARs" and select "dynamicjava.jar" from the file selection That should do the job. If it doesn't work. I can send some screenshots. Regards, Stefan. bb-543437 wrote: > Dear Stefan, > > I still try to compile JMathLib_0.9.0 with eclipse now. I think I did a > step forward. > > In my last test I had the idea to remove the bin directory. To my > opinion that directory bin must be created by the compilation of the > source. I get a strange error message: > The archive: > /JMathLib_0.9.0/bin/jmathlib/plugins/dynjava/dynamicjava.jar which is > referenced by the classpath, does not exist. Certainly. a library might > reside everywhere the program has excess to, but a path to a directory > that should be created and is not existent at compile time does not make > any sense to me. As I understand the structure of the code, the library > files of dynamic java are a part of the src here? > > I did some different trial runs with Java > Build Path > Classpath > Variables > <javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.jdt.ui.preferences.ClasspathVariablesPreferencePage)")> > So I tried in the user libraries > jmathlib\plugins\dynjava\dynamicjava.jar > in different variations, for instance > src\jmathlib\plugins\dynjava\dynamicjava.jar, > .\jmathlib\plugins\dynjava\dynamicjava.jar. But the message described > above stays inmdependent of that entry. So one might argue, that there > is a path set anywhere in the sources? Do you have an idea where this > comes from? > > So I argue that there is set any path in the source? > > By the way > Is there any more help possible? > > Regards > BB > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Mathlib-develop mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/mathlib-develop > |
From: bb-543437 <bb-...@ve...> - 2008-07-12 09:52:38
|
Dear Stefan, I still try to compile JMathLib_0.9.0 with eclipse now. I think I did a step forward. In my last test I had the idea to remove the bin directory. To my opinion that directory bin must be created by the compilation of the source. I get a strange error message: The archive: /JMathLib_0.9.0/bin/jmathlib/plugins/dynjava/dynamicjava.jar which is referenced by the classpath, does not exist. Certainly. a library might reside everywhere the program has excess to, but a path to a directory that should be created and is not existent at compile time does not make any sense to me. As I understand the structure of the code, the library files of dynamic java are a part of the src here? I did some different trial runs with Java > Build Path > Classpath Variables <javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.jdt.ui.preferences.ClasspathVariablesPreferencePage)")> So I tried in the user libraries jmathlib\plugins\dynjava\dynamicjava.jar in different variations, for instance src\jmathlib\plugins\dynjava\dynamicjava.jar, .\jmathlib\plugins\dynjava\dynamicjava.jar. But the message described above stays inmdependent of that entry. So one might argue, that there is a path set anywhere in the sources? Do you have an idea where this comes from? So I argue that there is set any path in the source? By the way Is there any more help possible? Regards BB |
From: Stefan M. <st...@he...> - 2008-07-07 19:10:23
|
Dear BB, what kind of development tool do you use? I am using Eclipse: there simply add the jar file in jmathlib/plugins/dynjava/dynamicjava.jar to your library directories. On the command line I compiled the java file jmathlib/plugins/dynjava/JavaPlugin.java like the following javac -classpath .;jmathlib/plugins/dynjava/dynamicjava.jar jmathlib/plugins/dynjava/JavaPlugin.java You need to include the path to dynamicjava.jar In case you do not want to try on: just remove the dynjava-directory and errors with might follow. Hope this helps, Stefan. bb-543437 wrote: > I actually downloaded the version JMathLib 0.9.0 from June 8, 2008. > But Again I have the seven errormessages as in the version befor: > > So 6. Jul 18:33:02 CEST 2008 > jmathlib/plugins/dynjava/JavaPlugin.java:8: package > koala.dynamicjava.interpreter does not exist > import koala.dynamicjava.interpreter.*; > ^ > jmathlib/plugins/dynjava/JavaPlugin.java:9: package > koala.dynamicjava.parser.wrapper does not exist > import koala.dynamicjava.parser.wrapper.*; > ^ > jmathlib/plugins/dynjava/JavaPlugin.java:29: package > koala.dynamicjava.interpreter does not exist > private koala.dynamicjava.interpreter.TreeInterpreter djInterpreter; > ^ > jmathlib/plugins/dynjava/JavaPlugin.java:54: package > koala.dynamicjava.interpreter does not exist > public koala.dynamicjava.interpreter.Interpreter getJavaInterpreter() > ^ > jmathlib/plugins/dynjava/JavaPlugin.java:38: cannot find symbol > symbol : class TreeInterpreter > location: class jmathlib.plugins.dynjava.JavaPlugin > djInterpreter = new TreeInterpreter(new JavaCCParserFactory()); > ^ > jmathlib/plugins/dynjava/JavaPlugin.java:38: cannot find symbol > symbol : class JavaCCParserFactory > location: class jmathlib.plugins.dynjava.JavaPlugin > djInterpreter = new TreeInterpreter(new JavaCCParserFactory()); > ^ > jmathlib/plugins/dynjava/JavaPlugin.java:70: cannot find symbol > symbol : class InterpreterException > location: class jmathlib.plugins.dynjava.JavaPlugin > catch(InterpreterException e) > ^ > 7 errors > > There is something wrong withhthis source. > > regards > > bb > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Mathlib-develop mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/mathlib-develop > |
From: bb-543437 <bb-...@ve...> - 2008-07-06 17:01:32
|
I actually downloaded the version JMathLib 0.9.0 from June 8, 2008. But Again I have the seven errormessages as in the version befor: So 6. Jul 18:33:02 CEST 2008 jmathlib/plugins/dynjava/JavaPlugin.java:8: package koala.dynamicjava.interpreter does not exist import koala.dynamicjava.interpreter.*; ^ jmathlib/plugins/dynjava/JavaPlugin.java:9: package koala.dynamicjava.parser.wrapper does not exist import koala.dynamicjava.parser.wrapper.*; ^ jmathlib/plugins/dynjava/JavaPlugin.java:29: package koala.dynamicjava.interpreter does not exist private koala.dynamicjava.interpreter.TreeInterpreter djInterpreter; ^ jmathlib/plugins/dynjava/JavaPlugin.java:54: package koala.dynamicjava.interpreter does not exist public koala.dynamicjava.interpreter.Interpreter getJavaInterpreter() ^ jmathlib/plugins/dynjava/JavaPlugin.java:38: cannot find symbol symbol : class TreeInterpreter location: class jmathlib.plugins.dynjava.JavaPlugin djInterpreter = new TreeInterpreter(new JavaCCParserFactory()); ^ jmathlib/plugins/dynjava/JavaPlugin.java:38: cannot find symbol symbol : class JavaCCParserFactory location: class jmathlib.plugins.dynjava.JavaPlugin djInterpreter = new TreeInterpreter(new JavaCCParserFactory()); ^ jmathlib/plugins/dynjava/JavaPlugin.java:70: cannot find symbol symbol : class InterpreterException location: class jmathlib.plugins.dynjava.JavaPlugin catch(InterpreterException e) ^ 7 errors There is something wrong withhthis source. regards bb |
From: Stefan M. <st...@he...> - 2008-07-06 13:49:37
|
Dear BB. plot[(1,2,3]) will through an error because the brackets are wrong. Please use plot( [1,2,3,4] ) instead. For compiling JMathLib i personally use Eclips and switched of some minor warning. You may be right, it would be a good thing to remove warning from the code. Please send me the most annoying warnings. Regards, Stefan. bb-543437 wrote: > JMathLib compatibility: > > openSUSE 10.3: > You are using the following browser: Mozilla/5.0 (X11; U; Linux i686; > de; rv:1.9.0) Gecko/2008061600 SUSE/3.0-1.1 Firefox/3.0 - InputPanel > You are using the following browser: Mozilla/5.0 (compatible; > Konqueror/3.5; Linux) KHTML/3.5.7 (like Gecko) SUSE - InputPanel > Konqueror Version 4.0.3. (KDE 4.0.3) "release 17.1" -no InputPanel > > openSUSE 11 > You are using the following browser: Mozilla/5.0 (X11; U; Linux 86_64; > de; rv:1.9.0) Gecko/2008061600 SUSE/3.0-1.2 Firefox/3.0 > - no InputPanel! > K Desktop Environment Version 3.59 "release 49.1" - InputPanel > > In ANY case i get the message > > plot[(1,2,3)] > ??? plot[(1, > PARSER: missing ) > > > > About my trial to compile the project myself I have already reported. > > In the menatime I got the code to the point to compile without error, > but I get 353 warnings of the kind - this variabel will not be used.... > > I argue that there is the fundamental parser file missing? > > What to do now? > > Regards bb > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Mathlib-develop mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/mathlib-develop > |
From: Stefan M. <st...@he...> - 2008-07-06 13:44:36
|
Dear BB, please download the current sources from SVN. As you found out the previous versions of JMathLib-installer and the ZIP-file do not include the file dynamicjava.jar I already changed the build script for JMathLib releases. The file will be included in the next release. With kind regards, Stefan. bb-543437 wrote: > The compile proces is incomplete. Here a part of the most important > messages. One may see that the zip-files of Version 0.9.0 downloaded > from the sourceforge is incomplete. The coala-packages are missing. > > Beside that 7 errors there are about 53 Warnings. If there is some > interest I can send a complete log with all messages on request. > > Do 3. Jul 18:11:16 CEST 2008 > > ./jmathlib/plugins/dynjava/JavaPlugin.java:8: package > koala.dynamicjava.interpreter does not exist > import koala.dynamicjava.interpreter.*; > ^ > ./jmathlib/plugins/dynjava/JavaPlugin.java:9: package > koala.dynamicjava.parser.wrapper does not exist > import koala.dynamicjava.parser.wrapper.*; > ^ > ./jmathlib/plugins/dynjava/JavaPlugin.java:29: package > koala.dynamicjava.interpreter does not exist > private koala.dynamicjava.interpreter.TreeInterpreter djInterpreter; > ^ > ./jmathlib/plugins/dynjava/JavaPlugin.java:54: package > koala.dynamicjava.interpreter does not exist > public koala.dynamicjava.interpreter.Interpreter getJavaInterpreter() > ^ > ./jmathlib/plugins/dynjava/JavaPlugin.java:38: cannot find symbol > symbol : class TreeInterpreter > location: class jmathlib.plugins.dynjava.JavaPlugin > djInterpreter = new TreeInterpreter(new JavaCCParserFactory()); > ^ > ./jmathlib/plugins/dynjava/JavaPlugin.java:38: cannot find symbol > symbol : class JavaCCParserFactory > location: class jmathlib.plugins.dynjava.JavaPlugin > djInterpreter = new TreeInterpreter(new JavaCCParserFactory()); > ^ > ./jmathlib/plugins/dynjava/JavaPlugin.java:70: cannot find symbol > symbol : class InterpreterException > location: class jmathlib.plugins.dynjava.JavaPlugin > catch(InterpreterException e) > ^ > > 7 errors > > Note: ./jmathlib/tools/treeanalyser/TreeAnalyser.java uses or overrides > a deprecated API. > > Note: ./jmathlib/toolbox/jmathlib/ui/questdlg.java uses or overrides a > deprecated API. > > Note: ./jmathlib/toolbox/jmathlib/matrix/_private/Jama/Matrix.java uses > unchecked or unsafe operations. > > Note: ./jmathlib/toolbox/jmathlib/matrix/_private/Jama/Matrix.java uses > unchecked or unsafe operations. > > Note: ./jmathlib/tools/treeanalyser/TreeAnalyser.java uses or overrides > a deprecated API. > > Note: ./jmathlib/tools/junit/swingui/TestRunner.java uses or overrides a > deprecated API. > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Mathlib-develop mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/mathlib-develop > |
From: Stefan M. <st...@he...> - 2008-07-06 13:41:58
|
Dear BB, please see here. https://sourceforge.net/project/showfiles.php?group_id=24886&package_id=58097&release_id=294339 Regards, Stefan. bb-543437 wrote: > I checked again and could not find the source for version JMathLib-web > 0.4.6 ? > > BB > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Mathlib-develop mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/mathlib-develop > |
From: Stefan M. <st...@he...> - 2008-07-06 13:23:38
|
Dear BB I am still confused why you are looking for files in MathLib/Classes. The aformentioned directory names are really old. All class-files and source-files are available in the ZIP-file from Sourceforge at https://sourceforge.net/project/showfiles.php?group_id=24886&package_id=17259&release_id=605304 Hope this helps, Stefan. bblochl2 wrote: > The problem of moving windows files to lunix I have described ina > preceeding mail. That stays valid. > > Initially I have not read the comment at the start of the shell script > until today, that it is to run in the source dir. So I first tried to > run it in the subdir Classes. There the check > > if [ -d "../Classes/MathLib" ] > > is ok, but > > `find . | grep ".java"` > > will find the subdir MathLib, but will not find any java-files to > compile, because there are class files only. As a result there was not > compiled anything. Now I moved the shell script to the Source-dir "src" > and tried again. In the src direcrory MathLib cannot be found, because > it is not in the src dir! So one has to change the path to the dir > MathLib to enable the start of the script from that dir "src" > > if [ -d "../Classes/MathLib" ] > then > echo " Ok." > else > echo " ERROR." > exit 1 > fi > > With this change it will compile the source files to the directories > jmathlib and jmathlibtests. But the files in MathLib are not touched, > there stay the classes datetd to Jan 03 2005. So the problem (described > in another mail) stays virulent - all functions do not work properly. > The problem with the missing "M" from MathLib....... has not appeared > again, but the functions do not work with the M either: > > > plot([1,2,3]) > class java.lang.NoClassDefFoundError : IllegalName: > MathLib/Functions/Graphics/Graph2d/plot > > > > > The path seems to be correct now, but the command does still not work. > There is a whole bunch of error messages in the console window after > closing the window I do not understand in detail. (If anyone needs that > I will post it immediatley. I myself do not know the complete > architecture of the project to find that useful. ) > > The applet-version (JMathLib.html) works correct even with the plot > command - I dont know if this one has complete functionality and if this > is accessing other class files. > > As I confessed in another mail in the past I am not a really competent > shell coder, so I need some help: is intended with that shell code to > compile all the classe in the MathLib subdirs as well? If yes I will try > to make that code work. That needs some more study of the code. I do not > see the sources for the GUI-version, so I assume that this is not > intended. There are only sources for the files in jmathlib and > jmathlibtests from june 07 2008. And that do work properly after > compilation. > > But otherwise, where may I get corrected updated class files of the > subdir MathLib/Classes - later than 2005? > > Regards > > BB > > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Mathlib-develop mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/mathlib-develop > |
From: Stefan M. <st...@he...> - 2008-07-06 13:20:02
|
Dear BB, I don't have such errors on windows. Maybe your problem comes from renaming the directories from JMathLib to MathLib. I think it should be possible to run JMathLib on linux by downloading the ZIP file and running java -cp bin jmathlib.ui.awt.GUI in the top directory. Please comment. Regards, Stefan. bb-543437 wrote: > In the linux version 0.9.0 there is a bug in the Pathname: > > > plot([1,2,3]) > class java.lang.NoClassDefFoundError : IllegalName: > athLib/Functions/Graphics/Graph2d/plot > > > > > As you see there is the M in MathLib missing, so all Functions do not > work. I think the only solution might be a new compilation of the > project? Or the one, where the Path is set? > > Regards > > BB > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Mathlib-develop mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/mathlib-develop > |
From: Stefan M. <st...@he...> - 2008-07-06 13:15:01
|
Dear BB, i just read your email. As it turns out the documentation is really old regarding manual starting of JMathLib. The part about starting has been written when JMathLib was still called MathLib. There are acutually two GUIs in JMathLib 0.9.0. One is a conservative AWT and one is a swing type. from the main directory: java -cp bin jmathlib.ui.awt.GUI or java -cp bin jmathlib.ui.swing.SwingGUI I just committed the documentation change to SVN. Could you please supply the "start" file for Linux? (I am no linux user, windows only) Kind regards, Stefan. bb-543437 wrote: > I am new to JMathLib and I am a confident linux user. I downloaded > MathLib version 0.9.0 and tried to setup. As it is running now, I have > to say that is a very nice piece of code. Java frees from the trouble > with every new version of C-Compilers and missing libraries with every > new version of the OS. ( I have this problem actually with the new > version of openSUSE 11 with some other software.) I am very curious > about the performance. (Anyone knows: Java is slow and the earth is a > disk.) > > In the pdf-manual there is a start sequence described with the input of > Classes>>java MathLib.MathlibGUI.GUI > That is wrong. First I tried some renaming of directories, but that > gives some confusion with other pathes. The input must be > Classes>>java MathLib.GUI.GUI > That costed me some time because I tried to setup JMathLib by the > shell-script make.linux.sh after that bad succes in the first run. > > make.linux.sh does not work after download. It is a well known effect > that text files saved under Windows do not work with linux. (The reason > is that there are different codes for the line break. The solution is to > mark the full text and copy it into an empty document and save it again.) > I do not understand the line > JAVAC_OPTS="-classpath \$CLASSPATH\$Classpath\$classpath:. -d ../Classes" > as in Linux there are very often set so called "hard links", that are > unknown in Windows (afaik). So the system variable CLASSPATH is empty. > Another point is that command "find . | grep ".Java"" cannot and does > not find any files to compile, because all subdirectories under Classes > only have Class files. So this script is absolutely useless in the > directory Classes. One more problem is the trial to write the class > files to the Java library via CLASSPATH ( echo -n $JAVAC_OPTS "" >> > $NEW_FILE) , because the lib-directory is only readable for the normal > user. Only root (that is the administrator) can write to that directory. > That differs completely from the Windows system where java usually is > installed on C:, wher every user has access. I am not a real shell > coder, so may be I do not understand the script completely. > > I have not jet read the manual but I hope that there are some more > explanations to write own functions? > > I would recommend to correct that error in the pdf - many users will be > discouraged. > > Regards > > BB > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Mathlib-develop mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/mathlib-develop > |
From: Stefan M. <st...@he...> - 2008-07-06 06:21:08
|
Dear BB You made a typo. Please type plot([1,2,3]) instead of plot[1,2,3]) Reason: plot( .... ) is a function call [1,2,3] is a vector of data Hope this helps, Stefan. bb-543437 wrote: > Just because of frustration I tried JMathLib in the Demoversion of the > homepage of JMathLib at Jily 5th at 17:50 , that worked about 2 days ago > very well. And what did I get? See here: > > > plot[(1,2,3)] > ??? plot[(1, > PARSER: missing ) > > > > What the hell happens there? > > BB > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Mathlib-develop mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/mathlib-develop > |
From: bb-543437 <bb-...@ve...> - 2008-07-05 15:54:45
|
Just because of frustration I tried JMathLib in the Demoversion of the homepage of JMathLib at Jily 5th at 17:50 , that worked about 2 days ago very well. And what did I get? See here: > plot[(1,2,3)] ??? plot[(1, PARSER: missing ) > What the hell happens there? BB |
From: bb-543437 <bb-...@ve...> - 2008-07-05 15:32:14
|
JMathLib compatibility: openSUSE 10.3: You are using the following browser: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0) Gecko/2008061600 SUSE/3.0-1.1 Firefox/3.0 - InputPanel You are using the following browser: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.7 (like Gecko) SUSE - InputPanel Konqueror Version 4.0.3. (KDE 4.0.3) "release 17.1" -no InputPanel openSUSE 11 You are using the following browser: Mozilla/5.0 (X11; U; Linux 86_64; de; rv:1.9.0) Gecko/2008061600 SUSE/3.0-1.2 Firefox/3.0 - no InputPanel! K Desktop Environment Version 3.59 "release 49.1" - InputPanel In ANY case i get the message > plot[(1,2,3)] ??? plot[(1, PARSER: missing ) > About my trial to compile the project myself I have already reported. In the menatime I got the code to the point to compile without error, but I get 353 warnings of the kind - this variabel will not be used.... I argue that there is the fundamental parser file missing? What to do now? Regards bb |
From: bb-543437 <bb-...@ve...> - 2008-07-05 06:55:56
|
I fixed the source of the errors to the class JavaPlugin.java in jmathlib. (May be I am wrong?) There left two questionable lines, as one might see very clear: /**Class containing the extensions of jmathlib*/ public class JavaPlugin extends Plugin { private koala.dynamicjava.interpreter.TreeInterpreter djInterpreter; ????? //private String name; ????? public JavaPlugin() { name = "JavaPlugin"; djInterpreter = new TreeInterpreter(new JavaCCParserFactory()); } There is the last class separated by a blank? Afaik is that not in coincidence with the syntax rules of java? And there is something defined private but without any type definition? And that is also true for ther variable name, as type definition is marked as a comment (//private String name;)? I checked the class-library (jmathlib/plugins/dynjava/koala/dynamicjava/interpreter.) and could not find a class djInterpreter. There is only a class TreeInterpreter. One can reduce the number of error messages to two in changing that lines to private koala.dynamicjava.interpreter.TreeInterpreter.Interpreter; But that does not work either. I know that that does not mean that the error is removed, but it is a distinced hint. I do not have any idea how that will be correct, because I do not understand that huge project in detail. But I am sure that the developers will know that. And there are lots and lots of messages of the kind "file not found". Reagards BB |
From: bb-543437 <bb-...@ve...> - 2008-07-04 10:47:39
|
I checked again and could not find the source for version JMathLib-web 0.4.6 ? BB |