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, wait
forEach, spliterator
public Map getAttributes()
getAttributes
in interface Attributes
public void setAttribute(String key, Object value)
setAttribute
in interface Attributes
public Object getAttribute(String key)
getAttribute
in interface Attributes
public double[][] getData()
public int getRowCount()
public int getColumnCount()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.