public class MatlabInterface
extends java.lang.Object
Constructor and Description |
---|
MatlabInterface() |
Modifier and Type | Method and Description |
---|---|
void |
clearWorkspace() |
void |
close() |
void |
evalString(java.lang.String str) |
void |
getArray(java.lang.String name,
double[] array) |
void |
getIntArray(java.lang.String name,
int[] array) |
void |
getMatrix(java.lang.String name,
double[][] matrix) |
java.lang.String |
getOutputString(int size) |
void |
open() |
void |
putArray(java.lang.String name,
double[] array) |
void |
putIntArray(java.lang.String name,
int[] array) |
void |
putMatrix(java.lang.String name,
double[][] matrix) |
void |
setSparse(double[] rowIdxs,
double[] colIdxs,
double[] vals) |
void |
setSparseIndices(double[] rowIdxs,
double[] colIdxs) |
void |
setSparseVals(double[] vals) |
void |
setSparseValsTimed(double[] vals) |
void |
solveSparse(double[] x,
double[] b) |
void |
solveSparse(double[] rowIdxs,
double[] colIdxs,
double[] vals,
double[] x,
double[] b) |
void |
solveSparseTimed(double[] x,
double[] b) |
public MatlabInterface() throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException
public void open()
public void clearWorkspace()
public void setSparseIndices(double[] rowIdxs, double[] colIdxs) throws java.io.IOException
java.io.IOException
public void setSparseVals(double[] vals) throws java.io.IOException
java.io.IOException
public void setSparseValsTimed(double[] vals) throws java.io.IOException
java.io.IOException
public void setSparse(double[] rowIdxs, double[] colIdxs, double[] vals) throws java.io.IOException
java.io.IOException
public void solveSparse(double[] rowIdxs, double[] colIdxs, double[] vals, double[] x, double[] b)
public void solveSparse(double[] x, double[] b)
public void solveSparseTimed(double[] x, double[] b)
public void close() throws java.io.IOException
java.io.IOException
public void evalString(java.lang.String str) throws java.io.IOException
java.io.IOException
public java.lang.String getOutputString(int size) throws java.io.IOException
java.io.IOException
public void putArray(java.lang.String name, double[] array) throws java.io.IOException
java.io.IOException
public void getArray(java.lang.String name, double[] array) throws java.io.IOException
java.io.IOException
public void putIntArray(java.lang.String name, int[] array) throws java.io.IOException
java.io.IOException
public void getIntArray(java.lang.String name, int[] array) throws java.io.IOException
java.io.IOException
public void putMatrix(java.lang.String name, double[][] matrix) throws java.io.IOException
java.io.IOException
public void getMatrix(java.lang.String name, double[][] matrix) throws java.io.IOException
java.io.IOException