Package org.ujmp.core.util
Class Octave
java.lang.Object
org.ujmp.core.util.Octave
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BufferedReader
private BufferedReader
static final int
private static Octave
private Process
private BufferedWriter
private static String
static final int
private boolean
static String[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
private static String
double
float
private String
static Octave
static Octave
getInstance
(String pathToOctave) int
long
void
void
static boolean
void
void
void
void
void
void
void
void
void
void
private void
sendToOctave
(String command) void
void
void
void
void
void
shutdown()
void
void
static String
-
Field Details
-
SEARCH
-
POLLINTERVAL
public static final int POLLINTERVAL- See Also:
-
MAXPOLLS
public static final int MAXPOLLS- See Also:
-
input
-
output
-
error
-
octaveProcess
-
running
private boolean running -
octave
-
pathToOctave
-
-
Constructor Details
-
Octave
- Throws:
Exception
-
-
Method Details
-
getInstance
- Throws:
Exception
-
getInstance
- Throws:
Exception
-
getFromOctave
- Throws:
Exception
-
execute
- Throws:
Exception
-
shutdown
- Throws:
Exception
-
sendToOctave
- Throws:
Exception
-
setMatrix
- Throws:
Exception
-
findOctave
-
getMatrix
- Throws:
Exception
-
isAvailable
public static boolean isAvailable() -
plot
- Throws:
Exception
-
loglog
- Throws:
Exception
-
semilogx
- Throws:
Exception
-
semilogy
- Throws:
Exception
-
bar
- Throws:
Exception
-
stairs
- Throws:
Exception
-
hist
- Throws:
Exception
-
plot
- Throws:
Exception
-
loglog
- Throws:
Exception
-
semilogx
- Throws:
Exception
-
semilogy
- Throws:
Exception
-
bar
- Throws:
Exception
-
stairs
- Throws:
Exception
-
hist
- Throws:
Exception
-
polar
- Throws:
Exception
-
contour
- Throws:
Exception
-
mesh
- Throws:
Exception
-
toString
-
getDouble
- Throws:
Exception
-
getLong
- Throws:
Exception
-
getInt
- Throws:
Exception
-
getFloat
- Throws:
Exception
-
setDouble
- Throws:
Exception
-
setFloat
- Throws:
Exception
-
setInt
- Throws:
Exception
-
setLong
- Throws:
Exception
-