Jam (Java Maths) language support - plugin detail

Netbeans support for JAM programming language

NetBeans Plugin - Jam (Java Maths) language support
Plugin owner: kedidi
Website:
Added: 2008-04-06
License: GPL
Category: Programming Languages
Downloaded: 1,829 times
Rating:
 0, by 0 users

Plugin Log Show log

Versions available

Download plugin   Download size: 2.92 MB   Last Update: 2008-04-16

What's new in this version

Bug fixed on Jam file running

Verifications for NetBeans versions

Plugin is not subject to any verification



Introduction

Netbeans support for JAM programming language.
JAM is a Java based programming language which allows to use arithmetic operations with Complex and CMatrix classes.
Before you start add the javamath library to the classpath, this library is available within the plugin.


Example:


import org.vpc.math.plot.Plot;
import org.vpc.math.plot.PlotType;
public class Test {
public static void main(String[] args) {
//Complex sample
Complex c=î;//new Complex(0,1);
Complex c1=2E-î;
Complex c2=2c;//new Complex(2,0);
Complex c3=c2*c1;
Complex c4=c2+c1;
Complex c5=c2-c1;
Complex c6=c2/c1; System.out.println("c3="+c3);
System.out.println("c4="+c4);
System.out.println("c5="+c5);
System.out.println("c6="+c6);
//Matrix sample
int x=2;
Complex c= 2E-3î;
CMatrix m1={{1.2,2c},{x ,î}};//CMatrix means complex matrix
CMatrix m2={{c,4.5},{c,î}} ;
CMatrix m3=m1+m2;
System.out.println("m1="+m1);
System.out.println(m1.inv());//inversed matrix
//Plot.plotMatrix("La matrice M2", m3,PlotType.MESH).showFrame();//Graphical representation
//Plot.plotMatrix("La matrice M3", m2,PlotType.MESH).showFrame();
}
}

To run the Jam file, click right on the file and run, you can also build the project.
More documentation about the project will be available soon.

[ You have to be logged in to be able to comment. ]

User Comments

There are no comments yet.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo