JMSLTM Numerical Library 5.0.1

com.imsl.io
Class MPSReader.Row

java.lang.Object
  extended by com.imsl.io.MPSReader.Row
All Implemented Interfaces:
Serializable
Enclosing class:
MPSReader

public class MPSReader.Row
extends Object
implements Serializable

A row either in the constraint matrix or a free row.

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Method Summary
 double[] getCoefficients()
          Returns the coeffients of this row as a dense array.
 String getName()
          Returns the name of this row.
 int getNumberOfNonZeros()
          Returns the number of nonzero elements in this row.
 Iterator iterator()
          Returns an iterator over the elements in this row.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Method Detail

getCoefficients

public double[] getCoefficients()
Returns the coeffients of this row as a dense array.


getName

public String getName()
Returns the name of this row.


getNumberOfNonZeros

public int getNumberOfNonZeros()
Returns the number of nonzero elements in this row.


iterator

public Iterator iterator()
Returns an iterator over the elements in this row. This is used to retrieve the coeffients in a sparse form.


JMSLTM Numerical Library 5.0.1

Copyright © 1970-2008 Visual Numerics, Inc.
Built July 8 2008.