public class Matrix
extends java.lang.Object
| Constructor and Description |
|---|
Matrix(double[][] values) |
Matrix(int rows,
int cols) |
Matrix(Vector... cols) |
| Modifier and Type | Method and Description |
|---|---|
Matrix |
add(Matrix b) |
Matrix |
add(Vector b) |
Matrix |
addVec(Vector b)
Deprecated.
use
add(Vector) |
double[][] |
copyAll() |
double |
get(int row,
int col) |
Vector[] |
getAllCols() |
Vector |
getColumn(int col) |
Matrix |
hadamardMat(Matrix B) |
Matrix |
multiply(double s) |
Matrix |
multiply(Matrix B) |
Vector |
multiply(Vector b) |
Matrix |
subtract(Matrix B) |
Vector |
sumCols() |
java.lang.String |
toString() |
Matrix |
transpose() |
public Matrix(double[][] values)
public Matrix(int rows,
int cols)
public Matrix(Vector... cols)
public Matrix transpose()
@Deprecated public Matrix addVec(Vector b)
add(Vector)public Matrix multiply(double s)
public Vector sumCols()
public Vector[] getAllCols()
public Vector getColumn(int col)
public double get(int row,
int col)
public double[][] copyAll()
public java.lang.String toString()
toString in class java.lang.Object