Java Code Examples for org.apache.commons.math3.linear.MatrixUtils#deserializeRealVector()

The following examples show how to use org.apache.commons.math3.linear.MatrixUtils#deserializeRealVector() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: LinearConstraint.java    From astor with GNU General Public License v2.0 4 votes vote down vote up
/** Deserialize the instance.
 * @param ois stream from which the object should be read
 * @throws ClassNotFoundException if a class in the stream cannot be found
 * @throws IOException if object cannot be read from the stream
 */
private void readObject(ObjectInputStream ois)
  throws ClassNotFoundException, IOException {
    ois.defaultReadObject();
    MatrixUtils.deserializeRealVector(this, "coefficients", ois);
}
 
Example 2
Source File: LinearObjectiveFunction.java    From astor with GNU General Public License v2.0 4 votes vote down vote up
/** Deserialize the instance.
 * @param ois stream from which the object should be read
 * @throws ClassNotFoundException if a class in the stream cannot be found
 * @throws IOException if object cannot be read from the stream
 */
private void readObject(ObjectInputStream ois)
  throws ClassNotFoundException, IOException {
    ois.defaultReadObject();
    MatrixUtils.deserializeRealVector(this, "coefficients", ois);
}
 
Example 3
Source File: LinearObjectiveFunction.java    From astor with GNU General Public License v2.0 4 votes vote down vote up
/** Deserialize the instance.
 * @param ois stream from which the object should be read
 * @throws ClassNotFoundException if a class in the stream cannot be found
 * @throws IOException if object cannot be read from the stream
 */
private void readObject(ObjectInputStream ois)
  throws ClassNotFoundException, IOException {
    ois.defaultReadObject();
    MatrixUtils.deserializeRealVector(this, "coefficients", ois);
}
 
Example 4
Source File: LinearConstraint.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Deserialize the instance.
 * @param ois stream from which the object should be read
 * @throws ClassNotFoundException if a class in the stream cannot be found
 * @throws IOException if object cannot be read from the stream
 */
private void readObject(ObjectInputStream ois)
  throws ClassNotFoundException, IOException {
    ois.defaultReadObject();
    MatrixUtils.deserializeRealVector(this, "coefficients", ois);
}
 
Example 5
Source File: LinearObjectiveFunction.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Deserialize the instance.
 * @param ois stream from which the object should be read
 * @throws ClassNotFoundException if a class in the stream cannot be found
 * @throws IOException if object cannot be read from the stream
 */
private void readObject(ObjectInputStream ois)
  throws ClassNotFoundException, IOException {
    ois.defaultReadObject();
    MatrixUtils.deserializeRealVector(this, "coefficients", ois);
}
 
Example 6
Source File: LinearObjectiveFunction.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Deserialize the instance.
 * @param ois stream from which the object should be read
 * @throws ClassNotFoundException if a class in the stream cannot be found
 * @throws IOException if object cannot be read from the stream
 */
private void readObject(ObjectInputStream ois)
  throws ClassNotFoundException, IOException {
    ois.defaultReadObject();
    MatrixUtils.deserializeRealVector(this, "coefficients", ois);
}
 
Example 7
Source File: LinearObjectiveFunction.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Deserialize the instance.
 * @param ois stream from which the object should be read
 * @throws ClassNotFoundException if a class in the stream cannot be found
 * @throws IOException if object cannot be read from the stream
 */
private void readObject(ObjectInputStream ois)
  throws ClassNotFoundException, IOException {
    ois.defaultReadObject();
    MatrixUtils.deserializeRealVector(this, "coefficients", ois);
}
 
Example 8
Source File: LinearObjectiveFunction.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Deserialize the instance.
 * @param ois stream from which the object should be read
 * @throws ClassNotFoundException if a class in the stream cannot be found
 * @throws IOException if object cannot be read from the stream
 */
private void readObject(ObjectInputStream ois)
  throws ClassNotFoundException, IOException {
    ois.defaultReadObject();
    MatrixUtils.deserializeRealVector(this, "coefficients", ois);
}
 
Example 9
Source File: LinearObjectiveFunction.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Deserialize the instance.
 * @param ois stream from which the object should be read
 * @throws ClassNotFoundException if a class in the stream cannot be found
 * @throws IOException if object cannot be read from the stream
 */
private void readObject(ObjectInputStream ois)
  throws ClassNotFoundException, IOException {
    ois.defaultReadObject();
    MatrixUtils.deserializeRealVector(this, "coefficients", ois);
}
 
Example 10
Source File: LinearConstraint.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Deserialize the instance.
 * @param ois stream from which the object should be read
 * @throws ClassNotFoundException if a class in the stream cannot be found
 * @throws IOException if object cannot be read from the stream
 */
private void readObject(ObjectInputStream ois)
  throws ClassNotFoundException, IOException {
    ois.defaultReadObject();
    MatrixUtils.deserializeRealVector(this, "coefficients", ois);
}
 
Example 11
Source File: LinearObjectiveFunction.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Deserialize the instance.
 * @param ois stream from which the object should be read
 * @throws ClassNotFoundException if a class in the stream cannot be found
 * @throws IOException if object cannot be read from the stream
 */
private void readObject(ObjectInputStream ois)
  throws ClassNotFoundException, IOException {
    ois.defaultReadObject();
    MatrixUtils.deserializeRealVector(this, "coefficients", ois);
}
 
Example 12
Source File: LinearObjectiveFunction.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Deserialize the instance.
 * @param ois stream from which the object should be read
 * @throws ClassNotFoundException if a class in the stream cannot be found
 * @throws IOException if object cannot be read from the stream
 */
private void readObject(ObjectInputStream ois)
  throws ClassNotFoundException, IOException {
    ois.defaultReadObject();
    MatrixUtils.deserializeRealVector(this, "coefficients", ois);
}
 
Example 13
Source File: LinearConstraint.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Deserialize the instance.
 * @param ois stream from which the object should be read
 * @throws ClassNotFoundException if a class in the stream cannot be found
 * @throws IOException if object cannot be read from the stream
 */
private void readObject(ObjectInputStream ois)
  throws ClassNotFoundException, IOException {
    ois.defaultReadObject();
    MatrixUtils.deserializeRealVector(this, "coefficients", ois);
}
 
Example 14
Source File: LinearConstraint.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Deserialize the instance.
 * @param ois stream from which the object should be read
 * @throws ClassNotFoundException if a class in the stream cannot be found
 * @throws IOException if object cannot be read from the stream
 */
private void readObject(ObjectInputStream ois)
  throws ClassNotFoundException, IOException {
    ois.defaultReadObject();
    MatrixUtils.deserializeRealVector(this, "coefficients", ois);
}
 
Example 15
Source File: LinearConstraint.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Deserialize the instance.
 * @param ois stream from which the object should be read
 * @throws ClassNotFoundException if a class in the stream cannot be found
 * @throws IOException if object cannot be read from the stream
 */
private void readObject(ObjectInputStream ois)
  throws ClassNotFoundException, IOException {
    ois.defaultReadObject();
    MatrixUtils.deserializeRealVector(this, "coefficients", ois);
}
 
Example 16
Source File: LinearObjectiveFunction.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Deserialize the instance.
 * @param ois stream from which the object should be read
 * @throws ClassNotFoundException if a class in the stream cannot be found
 * @throws IOException if object cannot be read from the stream
 */
private void readObject(ObjectInputStream ois)
  throws ClassNotFoundException, IOException {
    ois.defaultReadObject();
    MatrixUtils.deserializeRealVector(this, "coefficients", ois);
}
 
Example 17
Source File: LinearConstraint.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Deserialize the instance.
 * @param ois stream from which the object should be read
 * @throws ClassNotFoundException if a class in the stream cannot be found
 * @throws IOException if object cannot be read from the stream
 */
private void readObject(ObjectInputStream ois)
  throws ClassNotFoundException, IOException {
    ois.defaultReadObject();
    MatrixUtils.deserializeRealVector(this, "coefficients", ois);
}
 
Example 18
Source File: LinearObjectiveFunction.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Deserialize the instance.
 * @param ois stream from which the object should be read
 * @throws ClassNotFoundException if a class in the stream cannot be found
 * @throws IOException if object cannot be read from the stream
 */
private void readObject(ObjectInputStream ois)
  throws ClassNotFoundException, IOException {
    ois.defaultReadObject();
    MatrixUtils.deserializeRealVector(this, "coefficients", ois);
}
 
Example 19
Source File: LinearConstraint.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Deserialize the instance.
 * @param ois stream from which the object should be read
 * @throws ClassNotFoundException if a class in the stream cannot be found
 * @throws IOException if object cannot be read from the stream
 */
private void readObject(ObjectInputStream ois)
  throws ClassNotFoundException, IOException {
    ois.defaultReadObject();
    MatrixUtils.deserializeRealVector(this, "coefficients", ois);
}
 
Example 20
Source File: LinearObjectiveFunction.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Deserialize the instance.
 * @param ois stream from which the object should be read
 * @throws ClassNotFoundException if a class in the stream cannot be found
 * @throws IOException if object cannot be read from the stream
 */
private void readObject(ObjectInputStream ois)
  throws ClassNotFoundException, IOException {
    ois.defaultReadObject();
    MatrixUtils.deserializeRealVector(this, "coefficients", ois);
}