org.ujmp.core.util
Class Octave
- java.lang.Object
-
- org.ujmp.core.util.Octave
-
public class Octave extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field and Description static intMAXPOLLSstatic intPOLLINTERVALstatic java.lang.String[]SEARCH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidbar(Matrix x, Matrix y, java.lang.String... format)voidbar(Matrix matrix, java.lang.String... format)voidcontour(Matrix z, Matrix n, Matrix x, Matrix y, java.lang.String... format)java.lang.Stringexecute(java.lang.String command)doublegetDouble(java.lang.String label)floatgetFloat(java.lang.String label)static OctavegetInstance()static OctavegetInstance(java.lang.String pathToOctave)intgetInt(java.lang.String label)longgetLong(java.lang.String label)MatrixgetMatrix(java.lang.String label)voidhist(Matrix x, Matrix y, java.lang.String... format)voidhist(Matrix matrix, java.lang.String... format)static booleanisAvailable()voidloglog(Matrix x, Matrix y, java.lang.String... format)voidloglog(Matrix matrix, java.lang.String... format)voidmesh(Matrix x, Matrix y, Matrix z, java.lang.String... format)voidplot(Matrix x, Matrix y, java.lang.String... format)voidplot(Matrix matrix, java.lang.String... format)voidpolar(Matrix theta, Matrix rho, java.lang.String... format)voidsemilogx(Matrix x, Matrix y, java.lang.String... format)voidsemilogx(Matrix matrix, java.lang.String... format)voidsemilogy(Matrix x, Matrix y, java.lang.String... format)voidsemilogy(Matrix matrix, java.lang.String... format)voidsetDouble(java.lang.String label, double value)voidsetFloat(java.lang.String label, float value)voidsetInt(java.lang.String label, int value)voidsetLong(java.lang.String label, long value)voidsetMatrix(java.lang.String label, Matrix matrix)voidshutdown()voidstairs(Matrix x, Matrix y, java.lang.String... format)voidstairs(Matrix matrix, java.lang.String... format)static java.lang.StringtoString(java.lang.String[] strings)
-
-
-
Field Detail
-
SEARCH
public static java.lang.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 java.lang.Exception
- Throws:
java.lang.Exception
-
getInstance
public static Octave getInstance(java.lang.String pathToOctave) throws java.lang.Exception
- Throws:
java.lang.Exception
-
execute
public java.lang.String execute(java.lang.String command) throws java.lang.Exception- Throws:
java.lang.Exception
-
shutdown
public void shutdown() throws java.lang.Exception- Throws:
java.lang.Exception
-
setMatrix
public void setMatrix(java.lang.String label, Matrix matrix) throws java.lang.Exception- Throws:
java.lang.Exception
-
getMatrix
public Matrix getMatrix(java.lang.String label) throws java.lang.Exception
- Throws:
java.lang.Exception
-
isAvailable
public static boolean isAvailable()
-
plot
public void plot(Matrix matrix, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
loglog
public void loglog(Matrix matrix, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
semilogx
public void semilogx(Matrix matrix, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
semilogy
public void semilogy(Matrix matrix, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
bar
public void bar(Matrix matrix, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
stairs
public void stairs(Matrix matrix, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
hist
public void hist(Matrix matrix, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
plot
public void plot(Matrix x, Matrix y, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
loglog
public void loglog(Matrix x, Matrix y, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
semilogx
public void semilogx(Matrix x, Matrix y, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
semilogy
public void semilogy(Matrix x, Matrix y, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
bar
public void bar(Matrix x, Matrix y, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
stairs
public void stairs(Matrix x, Matrix y, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
hist
public void hist(Matrix x, Matrix y, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
polar
public void polar(Matrix theta, Matrix rho, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
contour
public void contour(Matrix z, Matrix n, Matrix x, Matrix y, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
mesh
public void mesh(Matrix x, Matrix y, Matrix z, java.lang.String... format) throws java.lang.Exception
- Throws:
java.lang.Exception
-
toString
public static java.lang.String toString(java.lang.String[] strings)
-
getDouble
public double getDouble(java.lang.String label) throws java.lang.Exception- Throws:
java.lang.Exception
-
getLong
public long getLong(java.lang.String label) throws java.lang.Exception- Throws:
java.lang.Exception
-
getInt
public int getInt(java.lang.String label) throws java.lang.Exception- Throws:
java.lang.Exception
-
getFloat
public float getFloat(java.lang.String label) throws java.lang.Exception- Throws:
java.lang.Exception
-
setDouble
public void setDouble(java.lang.String label, double value) throws java.lang.Exception- Throws:
java.lang.Exception
-
setFloat
public void setFloat(java.lang.String label, float value) throws java.lang.Exception- Throws:
java.lang.Exception
-
setInt
public void setInt(java.lang.String label, int value) throws java.lang.Exception- Throws:
java.lang.Exception
-
setLong
public void setLong(java.lang.String label, long value) throws java.lang.Exception- Throws:
java.lang.Exception
-
-
DataMelt 3.0 © DataMelt by jWork.ORG