org.scilab.modules.javasci
Class Call_Scilab

java.lang.Object
  extended by org.scilab.modules.javasci.Call_Scilab

public class Call_Scilab
extends java.lang.Object

Connector for Javasci v2. This class should not be used directly

See Also:
Scilab

Constructor Summary
protected Call_Scilab()
          Constructor
 
Method Summary
static int Call_ScilabOpen(java.lang.String SCIpath, boolean advancedMode, java.lang.String ScilabStartup, int Stacksize)
           
static ScilabIntegerTypeEnum getIntegerPrecision(java.lang.String varname)
           
static int GetLastErrorCode()
           
static java.lang.String getLastErrorMessage()
           
static ScilabTypeEnum getVariableType(java.lang.String varname)
           
static boolean isComplex(java.lang.String varname)
           
static boolean isExistingVariable(java.lang.String varname)
           
static boolean isGraphicOpened()
           
static int putBoolean(java.lang.String variableName, boolean[][] variable)
           
static int putBooleanSparse(java.lang.String variableName, int nbRow, int nbCol, int[] nbRowItem, int[] colPos)
           
static int putByte(java.lang.String variableName, byte[][] variable)
           
static int putComplexPolynomial(java.lang.String variableName, java.lang.String polyVarName, double[][][] data, double[][][] imag)
           
static int putComplexSparse(java.lang.String variableName, int nbRow, int nbCol, int[] nbRowItem, int[] colPos, double[] data, double[] imag)
           
static int putDouble(java.lang.String variableName, double[][] variable)
           
static int putDoubleComplex(java.lang.String variableName, double[][] variable, double[][] imag)
           
static int putInt(java.lang.String variableName, int[][] variable)
           
static int putPolynomial(java.lang.String variableName, java.lang.String polyVarName, double[][][] data)
           
static int putShort(java.lang.String variableName, short[][] variable)
           
static int putSparse(java.lang.String variableName, int nbRow, int nbCol, int[] nbRowItem, int[] colPos, double[] data)
           
static int putString(java.lang.String variableName, java.lang.String[][] variable)
           
static int putUnsignedByte(java.lang.String variableName, byte[][] variable)
           
static int putUnsignedInt(java.lang.String variableName, int[][] variable)
           
static int putUnsignedShort(java.lang.String variableName, short[][] variable)
           
static int SendScilabJob(java.lang.String job)
           
static int SendScilabJobs(java.lang.String[] jobs, int numberjobs)
           
static void SetFromJavaToON()
           
static boolean TerminateScilab(java.lang.String ScilabQuit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Call_Scilab

protected Call_Scilab()
Constructor

Method Detail

Call_ScilabOpen

public static int Call_ScilabOpen(java.lang.String SCIpath,
                                  boolean advancedMode,
                                  java.lang.String ScilabStartup,
                                  int Stacksize)

TerminateScilab

public static boolean TerminateScilab(java.lang.String ScilabQuit)

SendScilabJob

public static int SendScilabJob(java.lang.String job)

SendScilabJobs

public static int SendScilabJobs(java.lang.String[] jobs,
                                 int numberjobs)

SetFromJavaToON

public static void SetFromJavaToON()

isGraphicOpened

public static boolean isGraphicOpened()

GetLastErrorCode

public static int GetLastErrorCode()

isExistingVariable

public static boolean isExistingVariable(java.lang.String varname)

getLastErrorMessage

public static java.lang.String getLastErrorMessage()

getVariableType

public static ScilabTypeEnum getVariableType(java.lang.String varname)

getIntegerPrecision

public static ScilabIntegerTypeEnum getIntegerPrecision(java.lang.String varname)

isComplex

public static boolean isComplex(java.lang.String varname)

putString

public static int putString(java.lang.String variableName,
                            java.lang.String[][] variable)

putDoubleComplex

public static int putDoubleComplex(java.lang.String variableName,
                                   double[][] variable,
                                   double[][] imag)

putDouble

public static int putDouble(java.lang.String variableName,
                            double[][] variable)

putBoolean

public static int putBoolean(java.lang.String variableName,
                             boolean[][] variable)

putByte

public static int putByte(java.lang.String variableName,
                          byte[][] variable)

putUnsignedByte

public static int putUnsignedByte(java.lang.String variableName,
                                  byte[][] variable)

putShort

public static int putShort(java.lang.String variableName,
                           short[][] variable)

putUnsignedShort

public static int putUnsignedShort(java.lang.String variableName,
                                   short[][] variable)

putInt

public static int putInt(java.lang.String variableName,
                         int[][] variable)

putUnsignedInt

public static int putUnsignedInt(java.lang.String variableName,
                                 int[][] variable)

putSparse

public static int putSparse(java.lang.String variableName,
                            int nbRow,
                            int nbCol,
                            int[] nbRowItem,
                            int[] colPos,
                            double[] data)

putComplexSparse

public static int putComplexSparse(java.lang.String variableName,
                                   int nbRow,
                                   int nbCol,
                                   int[] nbRowItem,
                                   int[] colPos,
                                   double[] data,
                                   double[] imag)

putBooleanSparse

public static int putBooleanSparse(java.lang.String variableName,
                                   int nbRow,
                                   int nbCol,
                                   int[] nbRowItem,
                                   int[] colPos)

putPolynomial

public static int putPolynomial(java.lang.String variableName,
                                java.lang.String polyVarName,
                                double[][][] data)

putComplexPolynomial

public static int putComplexPolynomial(java.lang.String variableName,
                                       java.lang.String polyVarName,
                                       double[][][] data,
                                       double[][][] imag)