Class Matrix
- java.lang.Object
-
- org.apache.solr.client.solrj.io.eval.Matrix
-
- All Implemented Interfaces:
Iterable<List<Double>>,Attributes
public class Matrix extends Object implements Iterable<List<Double>>, Attributes
-
-
Constructor Summary
Constructors Constructor Description Matrix(double[][] data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetAttribute(String key)Map<?,?>getAttributes()intgetColumnCount()List<String>getColumnLabels()double[][]getData()intgetRowCount()List<String>getRowLabels()Iterator<List<Double>>iterator()voidsetAttribute(String key, Object value)voidsetColumnLabels(List<String> columnLabels)voidsetRowLabels(List<String> rowLables)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getAttributes
public Map<?,?> getAttributes()
- Specified by:
getAttributesin interfaceAttributes
-
setAttribute
public void setAttribute(String key, Object value)
- Specified by:
setAttributein interfaceAttributes
-
getAttribute
public Object getAttribute(String key)
- Specified by:
getAttributein interfaceAttributes
-
getData
public double[][] getData()
-
getRowCount
public int getRowCount()
-
getColumnCount
public int getColumnCount()
-
-