org.ujmp.core.util
Class Octave

java.lang.Object
  extended by org.ujmp.core.util.Octave

public class Octave
extends Object


Field Summary
static int MAXPOLLS
           
static int POLLINTERVAL
           
static String[] SEARCH
           
 
Method Summary
 void bar(Matrix x, Matrix y, String... format)
           
 void bar(Matrix matrix, String... format)
           
 void contour(Matrix z, Matrix n, Matrix x, Matrix y, String... format)
           
 String execute(String command)
           
static Octave getInstance()
           
static Octave getInstance(String pathToOctave)
           
 Matrix getMatrix(String label)
           
 void hist(Matrix x, Matrix y, String... format)
           
 void hist(Matrix matrix, String... format)
           
static boolean isAvailable()
           
 void loglog(Matrix x, Matrix y, String... format)
           
 void loglog(Matrix matrix, String... format)
           
 void mesh(Matrix x, Matrix y, Matrix z, String... format)
           
 void plot(Matrix x, Matrix y, String... format)
           
 void plot(Matrix matrix, String... format)
           
 void polar(Matrix theta, Matrix rho, String... format)
           
 void semilogx(Matrix x, Matrix y, String... format)
           
 void semilogx(Matrix matrix, String... format)
           
 void semilogy(Matrix x, Matrix y, String... format)
           
 void semilogy(Matrix matrix, String... format)
           
 void setMatrix(String label, Matrix matrix)
           
 void shutdown()
           
 void stairs(Matrix x, Matrix y, String... format)
           
 void stairs(Matrix matrix, String... format)
           
static String toString(String[] strings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEARCH

public static String[] SEARCH

POLLINTERVAL

public static final int POLLINTERVAL
See Also:
Constant Field Values

MAXPOLLS

public static final int MAXPOLLS
See Also:
Constant Field Values
Method Detail

getInstance

public static Octave getInstance()
                          throws Exception
Throws:
Exception

getInstance

public static Octave getInstance(String pathToOctave)
                          throws Exception
Throws:
Exception

execute

public String execute(String command)
               throws Exception
Throws:
Exception

shutdown

public void shutdown()
              throws Exception
Throws:
Exception

setMatrix

public void setMatrix(String label,
                      Matrix matrix)
               throws Exception
Throws:
Exception

getMatrix

public Matrix getMatrix(String label)
                 throws Exception
Throws:
Exception

isAvailable

public static boolean isAvailable()

plot

public void plot(Matrix matrix,
                 String... format)
          throws Exception
Throws:
Exception

loglog

public void loglog(Matrix matrix,
                   String... format)
            throws Exception
Throws:
Exception

semilogx

public void semilogx(Matrix matrix,
                     String... format)
              throws Exception
Throws:
Exception

semilogy

public void semilogy(Matrix matrix,
                     String... format)
              throws Exception
Throws:
Exception

bar

public void bar(Matrix matrix,
                String... format)
         throws Exception
Throws:
Exception

stairs

public void stairs(Matrix matrix,
                   String... format)
            throws Exception
Throws:
Exception

hist

public void hist(Matrix matrix,
                 String... format)
          throws Exception
Throws:
Exception

plot

public void plot(Matrix x,
                 Matrix y,
                 String... format)
          throws Exception
Throws:
Exception

loglog

public void loglog(Matrix x,
                   Matrix y,
                   String... format)
            throws Exception
Throws:
Exception

semilogx

public void semilogx(Matrix x,
                     Matrix y,
                     String... format)
              throws Exception
Throws:
Exception

semilogy

public void semilogy(Matrix x,
                     Matrix y,
                     String... format)
              throws Exception
Throws:
Exception

bar

public void bar(Matrix x,
                Matrix y,
                String... format)
         throws Exception
Throws:
Exception

stairs

public void stairs(Matrix x,
                   Matrix y,
                   String... format)
            throws Exception
Throws:
Exception

hist

public void hist(Matrix x,
                 Matrix y,
                 String... format)
          throws Exception
Throws:
Exception

polar

public void polar(Matrix theta,
                  Matrix rho,
                  String... format)
           throws Exception
Throws:
Exception

contour

public void contour(Matrix z,
                    Matrix n,
                    Matrix x,
                    Matrix y,
                    String... format)
             throws Exception
Throws:
Exception

mesh

public void mesh(Matrix x,
                 Matrix y,
                 Matrix z,
                 String... format)
          throws Exception
Throws:
Exception

toString

public static String toString(String[] strings)


Copyright © 2010. All Rights Reserved.