Modifier and Type | Class and Description |
---|---|
class |
DoubleMatrix
An algebraic matrix of fixed height consisting of
double elements
organized by row vectors using defensive copies for all objects. |
Modifier and Type | Method and Description |
---|---|
static Matrix<Double> |
Matrices.application(Function f,
Matrix<Double> a)
Returns a copy of the matrix with the given function applied to each
element.
|
static Matrix<Double> |
Matrices.product(double s,
Matrix<Double> a) |
static Matrix<Double> |
Matrices.product(Matrix<Double> a,
Matrix<Double> b)
The width of the first and the height of the second matrix will be
adapted by padding with zeros as needed.
|
static Matrix<Double> |
Matrices.sum(Matrix<Double> a,
Matrix<Double> b)
In each dimension, the smaller matrix -- if any -- will be padded with
zeros.
|
static Matrix<Double> |
Matrices.transpose(Matrix<Double> a) |
Modifier and Type | Method and Description |
---|---|
static Matrix<Double> |
Matrices.application(Function f,
Matrix<Double> a)
Returns a copy of the matrix with the given function applied to each
element.
|
static Vector<Double> |
Matrices.colsum(Matrix<Double> a) |
static Matrix<Double> |
Matrices.product(double s,
Matrix<Double> a) |
static Matrix<Double> |
Matrices.product(Matrix<Double> a,
Matrix<Double> b)
The width of the first and the height of the second matrix will be
adapted by padding with zeros as needed.
|
static Matrix<Double> |
Matrices.product(Matrix<Double> a,
Matrix<Double> b)
The width of the first and the height of the second matrix will be
adapted by padding with zeros as needed.
|
static Vector<Double> |
Matrices.product(Matrix<Double> a,
Vector<Double> v)
The width of the matrix and the length of the vector will be
adapted by padding with zeros as needed.
|
static Vector<Double> |
Matrices.rowsum(Matrix<Double> a) |
static Matrix<Double> |
Matrices.sum(Matrix<Double> a,
Matrix<Double> b)
In each dimension, the smaller matrix -- if any -- will be padded with
zeros.
|
static Matrix<Double> |
Matrices.sum(Matrix<Double> a,
Matrix<Double> b)
In each dimension, the smaller matrix -- if any -- will be padded with
zeros.
|
static Matrix<Double> |
Matrices.transpose(Matrix<Double> a) |
Constructor and Description |
---|
DoubleMatrix(Matrix<Double> matrix)
Creates a new matrix as a copy of another matrix.
|
Copyright © 2015–2016. All rights reserved.