jml.matlab.utils
Class FindResult

java.lang.Object
  extended by jml.matlab.utils.FindResult

public class FindResult
extends java.lang.Object

A wrapper for the output of find function.

There are three data members:
rows: row indices array for non-zero elements of a matrix
cols: column indices array for non-zero elements of a matrix
vals: values array for non-zero elements of a matrix


Field Summary
 int[] cols
           
 int[] rows
           
 double[] vals
           
 
Constructor Summary
FindResult(int[] rows, int[] cols, double[] vals)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rows

public int[] rows

cols

public int[] cols

vals

public double[] vals
Constructor Detail

FindResult

public FindResult(int[] rows,
                  int[] cols,
                  double[] vals)