public class Matrix extends Object implements Iterable, Attributes
| Constructor and Description |
|---|
Matrix(double[][] data) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String key) |
Map |
getAttributes() |
int |
getColumnCount() |
List<String> |
getColumnLabels() |
double[][] |
getData() |
int |
getRowCount() |
List<String> |
getRowLabels() |
Iterator |
iterator() |
void |
setAttribute(String key,
Object value) |
void |
setColumnLabels(List<String> columnLabels) |
void |
setRowLabels(List<String> rowLables) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic Map getAttributes()
getAttributes in interface Attributespublic void setAttribute(String key, Object value)
setAttribute in interface Attributespublic Object getAttribute(String key)
getAttribute in interface Attributespublic double[][] getData()
public int getRowCount()
public int getColumnCount()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.