public class Matrix extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
Matrix() |
Matrix(double[][] A) |
Matrix(int rowCount,
int columnCount) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
List<Vec> |
columnVectors() |
void |
copy(Matrix rhs) |
boolean |
equals(Object rhs) |
double |
get(int rowIndex,
int columnIndex) |
int |
getColumnCount() |
double |
getDefaultValue() |
Vec |
getRow(int rowIndex) |
int |
getRowCount() |
HashMap<Integer,Vec> |
getRows() |
static Matrix |
identity(int dimension) |
boolean |
isSymmetric() |
Matrix |
multiply(Matrix rhs) |
Vec |
multiply(Vec rhs) |
void |
set(int rowIndex,
int columnIndex,
double value) |
void |
setAll(double value) |
void |
setDefaultValue(double defaultValue) |
void |
setRow(int rowIndex,
Vec rowVector) |
public Matrix()
public Matrix(double[][] A)
public Matrix(int rowCount,
int columnCount)
public void setRow(int rowIndex,
Vec rowVector)
public static Matrix identity(int dimension)
public void copy(Matrix rhs)
public int getRowCount()
public int getColumnCount()
public double getDefaultValue()
public void setDefaultValue(double defaultValue)
public void set(int rowIndex,
int columnIndex,
double value)
public Vec getRow(int rowIndex)
public void setAll(double value)
public double get(int rowIndex,
int columnIndex)
public boolean isSymmetric()
Copyright © 2017. All rights reserved.