Class Matrix
java.lang.Object
org.apache.solr.client.solrj.io.eval.Matrix
- All Implemented Interfaces:
Iterable<List<Double>>,Attributes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String key) Map<?, ?> intdouble[][]getData()intiterator()voidsetAttribute(String key, Object value) voidsetColumnLabels(List<String> columnLabels) voidsetRowLabels(List<String> rowLabels) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Matrix
public Matrix(double[][] data)
-
-
Method Details
-
getAttributes
- Specified by:
getAttributesin interfaceAttributes
-
setAttribute
- Specified by:
setAttributein interfaceAttributes
-
getAttribute
- Specified by:
getAttributein interfaceAttributes
-
getColumnLabels
-
setColumnLabels
-
getRowLabels
-
setRowLabels
-
getData
public double[][] getData() -
getRowCount
public int getRowCount() -
getColumnCount
public int getColumnCount() -
iterator
-