|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DoubleMatrix | |
---|---|
org.jblas | Main linear algebra package. |
org.jblas.ranges | Provide ways to specify indices ranges. |
org.jblas.util | Support classes for jBLAS. |
Uses of DoubleMatrix in org.jblas |
---|
Fields in org.jblas declared as DoubleMatrix | |
---|---|
static DoubleMatrix |
DoubleMatrix.EMPTY
|
Methods in org.jblas that return DoubleMatrix | |
---|---|
static DoubleMatrix |
MatrixFunctions.abs(DoubleMatrix x)
Returns a copy of this matrix where all elements are set to their absolute values. |
static DoubleMatrix |
MatrixFunctions.absi(DoubleMatrix x)
Sets all elements in this matrix to their absolute values. |
static DoubleMatrix |
MatrixFunctions.acos(DoubleMatrix x)
Returns a copy of this matrix where the trigonometric acos function is applied element wise. |
static DoubleMatrix |
MatrixFunctions.acosi(DoubleMatrix x)
Applies the trigonometric arccosine function element wise on this matrix. |
DoubleMatrix |
DoubleMatrix.add(double v)
Add a scalar. |
DoubleMatrix |
DoubleMatrix.add(DoubleMatrix other)
Add a matrix (in place). |
DoubleMatrix |
DoubleMatrix.addColumnVector(DoubleMatrix x)
Add a vector to all columns of the matrix. |
DoubleMatrix |
DoubleMatrix.addi(double v)
Add a scalar (in place). |
DoubleMatrix |
DoubleMatrix.addi(double v,
DoubleMatrix result)
Add a scalar to a matrix (in-place). |
DoubleMatrix |
DoubleMatrix.addi(DoubleMatrix other)
Add a matrix (in place). |
DoubleMatrix |
DoubleMatrix.addi(DoubleMatrix other,
DoubleMatrix result)
Add two matrices (in-place). |
DoubleMatrix |
DoubleMatrix.addiColumnVector(DoubleMatrix x)
Add a vector to all columns of the matrix (in-place). |
DoubleMatrix |
DoubleMatrix.addiRowVector(DoubleMatrix x)
Add a row vector to all rows of the matrix (in place). |
DoubleMatrix |
DoubleMatrix.addRowVector(DoubleMatrix x)
Add a row to all rows of the matrix. |
DoubleMatrix |
DoubleMatrix.and(double value)
Compute elementwise logical and against a scalar. |
DoubleMatrix |
DoubleMatrix.and(DoubleMatrix other)
Compute elementwise logical and. |
DoubleMatrix |
DoubleMatrix.andi(double value)
Compute elementwise logical and against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.andi(double value,
DoubleMatrix result)
Compute elementwise logical and against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.andi(DoubleMatrix other)
Compute elementwise logical and (in-place). |
DoubleMatrix |
DoubleMatrix.andi(DoubleMatrix other,
DoubleMatrix result)
Compute elementwise logical and (in-place). |
static DoubleMatrix |
MatrixFunctions.asin(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.asini(DoubleMatrix x)
Applies the trigonometric arcsine function element wise on this matrix. |
static DoubleMatrix |
MatrixFunctions.atan(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.atani(DoubleMatrix x)
Applies the trigonometric arctangend function element wise on this matrix. |
static DoubleMatrix |
SimpleBlas.axpy(double da,
DoubleMatrix dx,
DoubleMatrix dy)
Compute y <- alpha * x + y (elementwise addition) |
static DoubleMatrix |
MatrixFunctions.cbrt(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.cbrti(DoubleMatrix x)
Applies the cube root function element wise on this matrix. |
static DoubleMatrix |
MatrixFunctions.ceil(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.ceili(DoubleMatrix x)
Element-wise round up by applying the ceil function on each element. |
static DoubleMatrix |
Geometry.center(DoubleMatrix x)
Center a vector (subtract mean from all elements (in-place). |
static DoubleMatrix |
Geometry.centerColumns(DoubleMatrix x)
Center the columns of a matrix (in-place). |
static DoubleMatrix |
Geometry.centerRows(DoubleMatrix x)
Center the rows of a matrix (in-place). |
static DoubleMatrix |
Decompose.cholesky(DoubleMatrix A)
Compute Cholesky decomposition of A |
DoubleMatrix |
DoubleMatrix.columnMaxs()
Return column-wise maximums. |
DoubleMatrix |
DoubleMatrix.columnMeans()
Return a vector containing the means of all columns. |
DoubleMatrix |
DoubleMatrix.columnMins()
Return column-wise minimums. |
DoubleMatrix |
DoubleMatrix.columnSums()
Return a vector containing the sums of the columns (having number of columns many entries) |
static DoubleMatrix |
DoubleMatrix.concatHorizontally(DoubleMatrix A,
DoubleMatrix B)
Concatenates two matrices horizontally. |
static DoubleMatrix |
DoubleMatrix.concatVertically(DoubleMatrix A,
DoubleMatrix B)
Concatenates two matrices vertically. |
DoubleMatrix |
ConvertsToDoubleMatrix.convertToDoubleMatrix()
|
DoubleMatrix |
DoubleMatrix.ElementsAsListView.convertToDoubleMatrix()
|
DoubleMatrix |
DoubleMatrix.RowsAsListView.convertToDoubleMatrix()
|
DoubleMatrix |
DoubleMatrix.ColumnsAsListView.convertToDoubleMatrix()
|
DoubleMatrix |
DoubleMatrix.copy(DoubleMatrix a)
Copy DoubleMatrix a to this. |
static DoubleMatrix |
SimpleBlas.copy(DoubleMatrix x,
DoubleMatrix y)
Compute y <- x (copy a matrix) |
static DoubleMatrix |
MatrixFunctions.cos(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.cosh(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.coshi(DoubleMatrix x)
Applies the hyperbolic cosine function element-wise on this matrix. |
static DoubleMatrix |
MatrixFunctions.cosi(DoubleMatrix x)
Applies the cosine function element-wise on this matrix. |
DoubleMatrix |
DoubleMatrix.cumulativeSum()
Computes the cumulative sum, that is, the sum of all elements of the matrix up to a given index in linear addressing. |
DoubleMatrix |
DoubleMatrix.cumulativeSumi()
Computes the cumulative sum, that is, the sum of all elements of the matrix up to a given index in linear addressing (in-place). |
DoubleMatrix |
DoubleMatrix.diag()
Returns the diagonal of the matrix. |
static DoubleMatrix |
DoubleMatrix.diag(DoubleMatrix x)
Creates a new matrix where the values of the given vector are the diagonal values of the matrix. |
DoubleMatrix |
DoubleMatrix.div(double v)
Elementwise divide by a scalar. |
DoubleMatrix |
DoubleMatrix.div(DoubleMatrix other)
Elementwise divide by a matrix (in place). |
DoubleMatrix |
DoubleMatrix.divColumnVector(DoubleMatrix x)
|
DoubleMatrix |
DoubleMatrix.divi(double v)
Elementwise divide by a scalar (in place). |
DoubleMatrix |
DoubleMatrix.divi(double a,
DoubleMatrix result)
Elementwise division with a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.divi(DoubleMatrix other)
Elementwise divide by a matrix (in place). |
DoubleMatrix |
DoubleMatrix.divi(DoubleMatrix other,
DoubleMatrix result)
Elementwise division (in-place). |
DoubleMatrix |
DoubleMatrix.diviColumnVector(DoubleMatrix x)
|
DoubleMatrix |
DoubleMatrix.diviRowVector(DoubleMatrix x)
|
DoubleMatrix |
DoubleMatrix.divRowVector(DoubleMatrix x)
|
DoubleMatrix |
DoubleMatrix.dup()
Returns a duplicate of this matrix. |
DoubleMatrix |
DoubleMatrix.eq(double value)
test for equality against a scalar. |
DoubleMatrix |
DoubleMatrix.eq(DoubleMatrix other)
Test for equality. |
DoubleMatrix |
DoubleMatrix.eqi(double value)
Test for equality against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.eqi(double value,
DoubleMatrix result)
Test for equality against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.eqi(DoubleMatrix other)
Test for equality (in-place). |
DoubleMatrix |
DoubleMatrix.eqi(DoubleMatrix other,
DoubleMatrix result)
Test for equality (in-place). |
static DoubleMatrix |
MatrixFunctions.exp(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.expi(DoubleMatrix x)
Applies the exponential function element-wise on this matrix. |
static DoubleMatrix |
MatrixFunctions.expm(DoubleMatrix A)
Calculate matrix exponential of a square matrix. |
static DoubleMatrix |
DoubleMatrix.eye(int n)
Construct a new n-by-n identity matrix. |
DoubleMatrix |
DoubleMatrix.fill(double value)
Set all elements to a value. |
static DoubleMatrix |
MatrixFunctions.floatToDouble(FloatMatrix fm)
|
static DoubleMatrix |
MatrixFunctions.floor(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.floori(DoubleMatrix x)
Element-wise round down by applying the floor function on each element. |
static DoubleMatrix[] |
Singular.fullSVD(DoubleMatrix A)
Compute a singular-value decomposition of A. |
DoubleMatrix |
DoubleMatrix.ge(double value)
test for "greater than or equal" against a scalar. |
DoubleMatrix |
DoubleMatrix.ge(DoubleMatrix other)
Test for "greater than or equal". |
DoubleMatrix |
DoubleMatrix.gei(double value)
Test for "greater than or equal" against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.gei(double value,
DoubleMatrix result)
Test for "greater than or equal" against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.gei(DoubleMatrix other)
Test for "greater than or equal" (in-place). |
DoubleMatrix |
DoubleMatrix.gei(DoubleMatrix other,
DoubleMatrix result)
Test for "greater than or equal" (in-place). |
static DoubleMatrix |
SimpleBlas.gemm(double alpha,
DoubleMatrix a,
DoubleMatrix b,
double beta,
DoubleMatrix c)
Compute c <- a*b + beta * c (general matrix matrix multiplication) |
static DoubleMatrix |
SimpleBlas.gemv(double alpha,
DoubleMatrix a,
DoubleMatrix x,
double beta,
DoubleMatrix y)
Compute y <- alpha*op(a)*x + beta * y (general matrix vector multiplication) |
static DoubleMatrix |
SimpleBlas.ger(double alpha,
DoubleMatrix x,
DoubleMatrix y,
DoubleMatrix a)
Compute A <- alpha * x * y^T + A (general rank-1 update) |
static DoubleMatrix |
SimpleBlas.gesv(DoubleMatrix a,
int[] ipiv,
DoubleMatrix b)
LAPACK |
DoubleMatrix |
DoubleMatrix.get(DoubleMatrix indices)
Get elements specified by the non-zero entries of the passed matrix. |
DoubleMatrix |
DoubleMatrix.get(DoubleMatrix rindices,
DoubleMatrix cindices)
Get elements from columns and rows as specified by the non-zero entries of the passed matrices. |
DoubleMatrix |
DoubleMatrix.get(DoubleMatrix indices,
int c)
Get elements from a column and rows as specified by the non-zero entries of a matrix. |
DoubleMatrix |
DoubleMatrix.RowsAsListView.get(int index)
|
DoubleMatrix |
DoubleMatrix.ColumnsAsListView.get(int index)
|
DoubleMatrix |
DoubleMatrix.get(int[] indices)
Get all elements specified by the linear indices. |
DoubleMatrix |
DoubleMatrix.get(int[] indices,
int c)
Get all elements for a given column and the specified rows. |
DoubleMatrix |
DoubleMatrix.get(int[] rindices,
int[] cindices)
Get all elements from the specified rows and columns. |
DoubleMatrix |
DoubleMatrix.get(int r,
DoubleMatrix indices)
Get elements from a row and columns as specified by the non-zero entries of a matrix. |
DoubleMatrix |
DoubleMatrix.get(int r,
int[] indices)
Get all elements for a given row and the specified columns. |
DoubleMatrix |
DoubleMatrix.get(int r,
Range cs)
|
DoubleMatrix |
DoubleMatrix.get(Range rs,
int c)
|
DoubleMatrix |
DoubleMatrix.get(Range rs,
Range cs)
Get elements from specified rows and columns. |
DoubleMatrix |
DoubleMatrix.getColumn(int c)
Get a copy of a column. |
DoubleMatrix |
DoubleMatrix.getColumn(int c,
DoubleMatrix result)
Copy a column to the given vector. |
DoubleMatrix |
DoubleMatrix.getColumnRange(int r,
int a,
int b)
Get elements from a row and columns a to b. |
DoubleMatrix |
DoubleMatrix.getColumns(DoubleMatrix cindices)
Get whole columns as specified by the non-zero entries of a matrix. |
DoubleMatrix |
DoubleMatrix.getColumns(int[] cindices)
Get whole columns from the passed indices. |
DoubleMatrix |
DoubleMatrix.getRange(int a,
int b)
Return all elements with linear index a, a + 1, ..., b - 1. |
DoubleMatrix |
DoubleMatrix.getRange(int ra,
int rb,
int ca,
int cb)
Get elements from rows ra to rb and columns ca to cb. |
DoubleMatrix |
ComplexDoubleMatrix.getReal()
|
DoubleMatrix |
DoubleMatrix.getRow(int r)
Get a copy of a row. |
DoubleMatrix |
DoubleMatrix.getRow(int r,
DoubleMatrix result)
Copy a row to a given vector. |
DoubleMatrix |
DoubleMatrix.getRowRange(int a,
int b,
int c)
Get elements from a column and rows a/tt> to b. |
DoubleMatrix |
DoubleMatrix.getRows(DoubleMatrix rindices)
Get whole rows as specified by the non-zero entries of a matrix. |
DoubleMatrix |
DoubleMatrix.getRows(int[] rindices)
Get whole rows from the passed indices. |
DoubleMatrix |
DoubleMatrix.getRows(Range indices)
|
DoubleMatrix |
DoubleMatrix.getRows(Range indices,
DoubleMatrix result)
|
DoubleMatrix |
DoubleMatrix.gt(double value)
test for "greater than" against a scalar. |
DoubleMatrix |
DoubleMatrix.gt(DoubleMatrix other)
Test for "greater than". |
DoubleMatrix |
DoubleMatrix.gti(double value)
Test for "greater than" against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.gti(double value,
DoubleMatrix result)
Test for "greater than" against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.gti(DoubleMatrix other)
Test for "greater than" (in-place). |
DoubleMatrix |
DoubleMatrix.gti(DoubleMatrix other,
DoubleMatrix result)
Test for "greater than" (in-place). |
DoubleMatrix |
ComplexDoubleMatrix.imag()
Get imaginary part of the matrix. |
DoubleMatrix |
DoubleMatrix.isInfinite()
|
DoubleMatrix |
DoubleMatrix.isInfinitei()
|
DoubleMatrix |
DoubleMatrix.isNaN()
|
DoubleMatrix |
DoubleMatrix.isNaNi()
|
DoubleMatrix |
DoubleMatrix.le(double value)
test for "less than or equal" against a scalar. |
DoubleMatrix |
DoubleMatrix.le(DoubleMatrix other)
Test for "less than or equal". |
DoubleMatrix |
DoubleMatrix.lei(double value)
Test for "less than or equal" against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.lei(double value,
DoubleMatrix result)
Test for "less than or equal" against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.lei(DoubleMatrix other)
Test for "less than or equal" (in-place). |
DoubleMatrix |
DoubleMatrix.lei(DoubleMatrix other,
DoubleMatrix result)
Test for "less than or equal" (in-place). |
static DoubleMatrix |
DoubleMatrix.linspace(int lower,
int upper,
int size)
|
static DoubleMatrix |
DoubleMatrix.loadAsciiFile(java.lang.String filename)
|
static DoubleMatrix |
DoubleMatrix.loadCSVFile(java.lang.String filename)
|
static DoubleMatrix |
MatrixFunctions.log(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.log10(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.log10i(DoubleMatrix x)
Applies the logarithm with basis to 10 element-wise on this matrix. |
static DoubleMatrix |
MatrixFunctions.logi(DoubleMatrix x)
Applies the natural logarithm function element-wise on this matrix. |
static DoubleMatrix |
DoubleMatrix.logspace(double lower,
double upper,
int size)
|
DoubleMatrix |
DoubleMatrix.lt(double value)
test for "less than" against a scalar. |
DoubleMatrix |
DoubleMatrix.lt(DoubleMatrix other)
Test for "less than". |
DoubleMatrix |
DoubleMatrix.lti(double value)
Test for "less than" against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.lti(double value,
DoubleMatrix result)
Test for "less than" against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.lti(DoubleMatrix other)
Test for "less than" (in-place). |
DoubleMatrix |
DoubleMatrix.lti(DoubleMatrix other,
DoubleMatrix result)
Test for "less than" (in-place). |
DoubleMatrix |
DoubleMatrix.max(double v)
|
DoubleMatrix |
DoubleMatrix.max(DoubleMatrix other)
Computes the maximum between two matrices. |
DoubleMatrix |
DoubleMatrix.maxi(double v)
|
DoubleMatrix |
DoubleMatrix.maxi(double v,
DoubleMatrix result)
|
DoubleMatrix |
DoubleMatrix.maxi(DoubleMatrix other)
Computes the maximum between two matrices. |
DoubleMatrix |
DoubleMatrix.maxi(DoubleMatrix other,
DoubleMatrix result)
Computes the maximum between two matrices. |
DoubleMatrix |
DoubleMatrix.min(double v)
|
DoubleMatrix |
DoubleMatrix.min(DoubleMatrix other)
Computes the minimum between two matrices. |
DoubleMatrix |
DoubleMatrix.mini(double v)
|
DoubleMatrix |
DoubleMatrix.mini(double v,
DoubleMatrix result)
|
DoubleMatrix |
DoubleMatrix.mini(DoubleMatrix other)
Computes the minimum between two matrices. |
DoubleMatrix |
DoubleMatrix.mini(DoubleMatrix other,
DoubleMatrix result)
Computes the minimum between two matrices. |
DoubleMatrix |
DoubleMatrix.mmul(double v)
Matrix-multiply by a scalar. |
DoubleMatrix |
DoubleMatrix.mmul(DoubleMatrix other)
Matrix-multiply by a matrix (in place). |
DoubleMatrix |
DoubleMatrix.mmuli(double v)
Matrix-multiply by a scalar (in place). |
DoubleMatrix |
DoubleMatrix.mmuli(double v,
DoubleMatrix result)
Matrix-matrix multiplication with a scalar (for symmetry, does the same as muli(scalar) (in-place). |
DoubleMatrix |
DoubleMatrix.mmuli(DoubleMatrix other)
Matrix-multiply by a matrix (in place). |
DoubleMatrix |
DoubleMatrix.mmuli(DoubleMatrix other,
DoubleMatrix result)
Matrix-matrix multiplication (in-place). |
DoubleMatrix |
DoubleMatrix.mul(double v)
Elementwise multiply by a scalar. |
DoubleMatrix |
DoubleMatrix.mul(DoubleMatrix other)
Elementwise multiply by a matrix (in place). |
DoubleMatrix |
DoubleMatrix.mulColumn(int c,
double scale)
Multiply a column by a scalar. |
DoubleMatrix |
DoubleMatrix.mulColumnVector(DoubleMatrix x)
Multiply all columns with a column vector. |
DoubleMatrix |
DoubleMatrix.muli(double v)
Elementwise multiply by a scalar (in place). |
DoubleMatrix |
DoubleMatrix.muli(double v,
DoubleMatrix result)
Elementwise multiplication with a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.muli(DoubleMatrix other)
Elementwise multiply by a matrix (in place). |
DoubleMatrix |
DoubleMatrix.muli(DoubleMatrix other,
DoubleMatrix result)
Elementwise multiplication (in-place). |
DoubleMatrix |
DoubleMatrix.muliColumnVector(DoubleMatrix x)
Multiply all columns with a column vector (in-place). |
DoubleMatrix |
DoubleMatrix.muliRowVector(DoubleMatrix x)
Multiply all rows with a row vector (in-place). |
DoubleMatrix |
DoubleMatrix.mulRow(int r,
double scale)
Multiply a row by a scalar. |
DoubleMatrix |
DoubleMatrix.mulRowVector(DoubleMatrix x)
Multiply all rows with a row vector. |
DoubleMatrix |
DoubleMatrix.ne(double value)
test for inequality against a scalar. |
DoubleMatrix |
DoubleMatrix.ne(DoubleMatrix other)
Test for inequality. |
DoubleMatrix |
DoubleMatrix.neg()
Negate each element. |
DoubleMatrix |
DoubleMatrix.negi()
Negate each element (in-place). |
DoubleMatrix |
DoubleMatrix.nei(double value)
Test for inequality against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.nei(double value,
DoubleMatrix result)
Test for inequality against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.nei(DoubleMatrix other)
Test for inequality (in-place). |
DoubleMatrix |
DoubleMatrix.nei(DoubleMatrix other,
DoubleMatrix result)
Test for inequality (in-place). |
static DoubleMatrix |
Geometry.normalize(DoubleMatrix x)
Normalize a vector (scale such that its Euclidean norm is 1) (in-place). |
static DoubleMatrix |
Geometry.normalizeColumns(DoubleMatrix x)
Normalize the columns of a matrix (in-place). |
static DoubleMatrix |
Geometry.normalizeRows(DoubleMatrix x)
Normalize the rows of a matrix (in-place). |
DoubleMatrix |
DoubleMatrix.not()
Maps zero to 1.0 and all non-zero values to 0.0. |
DoubleMatrix |
DoubleMatrix.noti()
Maps zero to 1.0 and all non-zero values to 0.0 (in-place). |
static DoubleMatrix |
DoubleMatrix.ones(int length)
Creates a row vector with all elements equal to 1. |
static DoubleMatrix |
DoubleMatrix.ones(int rows,
int columns)
Creates a new matrix in which all values are equal 1. |
DoubleMatrix |
DoubleMatrix.or(double value)
Compute elementwise logical or against a scalar. |
DoubleMatrix |
DoubleMatrix.or(DoubleMatrix other)
Compute elementwise logical or. |
DoubleMatrix |
DoubleMatrix.ori(double value)
Compute elementwise logical or against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.ori(double value,
DoubleMatrix result)
Compute elementwise logical or against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.ori(DoubleMatrix other)
Compute elementwise logical or (in-place). |
DoubleMatrix |
DoubleMatrix.ori(DoubleMatrix other,
DoubleMatrix result)
Compute elementwise logical or (in-place). |
static DoubleMatrix |
Geometry.pairwiseSquaredDistances(DoubleMatrix X,
DoubleMatrix Y)
Compute the pairwise squared distances between all columns of the two matrices. |
static DoubleMatrix |
MatrixFunctions.pow(double b,
DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.pow(DoubleMatrix x,
double e)
|
static DoubleMatrix |
MatrixFunctions.pow(DoubleMatrix x,
DoubleMatrix e)
|
static DoubleMatrix |
MatrixFunctions.powi(double base,
DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.powi(DoubleMatrix x,
double d)
Element-wise power function. |
static DoubleMatrix |
MatrixFunctions.powi(DoubleMatrix x,
DoubleMatrix e)
|
DoubleMatrix |
DoubleMatrix.put(DoubleMatrix indices,
double v)
Put a single value into the elements specified by the non-zero entries of indices (linear adressing). |
DoubleMatrix |
DoubleMatrix.put(DoubleMatrix indices,
DoubleMatrix v)
Put a sub-matrix into the indices specified by the non-zero entries of indices (linear adressing). |
DoubleMatrix |
DoubleMatrix.put(DoubleMatrix rindices,
DoubleMatrix cindices,
double v)
Put a single value in the specified rows and columns (non-zero entries of rindices and cindices. |
DoubleMatrix |
DoubleMatrix.put(DoubleMatrix rindices,
DoubleMatrix cindices,
DoubleMatrix v)
Put a sub-matrix into the specified rows and columns (non-zero entries of rindices and cindices. |
DoubleMatrix |
DoubleMatrix.put(DoubleMatrix indices,
int c,
double v)
Put a single value into the specified rows (non-zero entries of indices) of a column. |
DoubleMatrix |
DoubleMatrix.put(DoubleMatrix indices,
int c,
DoubleMatrix v)
Put a sub-vector into the specified rows (non-zero entries of indices) of a column. |
DoubleMatrix |
DoubleMatrix.put(int[] indices,
double v)
Put a single value into the specified indices (linear adressing). |
DoubleMatrix |
DoubleMatrix.put(int[] indices,
DoubleMatrix x)
Set elements in linear ordering in the specified indices. |
DoubleMatrix |
DoubleMatrix.put(int[] rindices,
int[] cindices,
double v)
Put a single value into the specified rows and columns. |
DoubleMatrix |
DoubleMatrix.put(int[] rindices,
int[] cindices,
DoubleMatrix x)
Put a sub-matrix as specified by the indices. |
DoubleMatrix |
DoubleMatrix.put(int[] indices,
int c,
double v)
Put a single value into the specified rows of a column. |
DoubleMatrix |
DoubleMatrix.put(int[] indices,
int c,
DoubleMatrix x)
Set multiple elements in a row. |
DoubleMatrix |
DoubleMatrix.put(int i,
double v)
Set a matrix element (linear indexing). |
DoubleMatrix |
DoubleMatrix.put(int r,
DoubleMatrix indices,
double v)
Put a single value into the specified columns (non-zero entries of indices) of a row. |
DoubleMatrix |
DoubleMatrix.put(int r,
DoubleMatrix indices,
DoubleMatrix v)
Put a sub-vector into the specified columns (non-zero entries of indices) of a row. |
DoubleMatrix |
DoubleMatrix.put(int r,
int[] indices,
double v)
Put a single value into a row and the specified columns. |
DoubleMatrix |
DoubleMatrix.put(int r,
int[] indices,
DoubleMatrix x)
Set multiple elements in a row. |
DoubleMatrix |
DoubleMatrix.put(int rowIndex,
int columnIndex,
double value)
Set matrix element |
DoubleMatrix |
DoubleMatrix.put(Range rs,
Range cs,
DoubleMatrix x)
Put a matrix into specified indices. |
static DoubleMatrix |
DoubleMatrix.rand(int len)
Creates a row vector with random values uniformly in 0..1. |
static DoubleMatrix |
DoubleMatrix.rand(int rows,
int columns)
Create matrix with random values uniformly in 0..1. |
static DoubleMatrix |
DoubleMatrix.randn(int len)
Create row vector with normally distributed random values. |
static DoubleMatrix |
DoubleMatrix.randn(int rows,
int columns)
Create matrix with normally distributed random values. |
DoubleMatrix |
DoubleMatrix.rankOneUpdate(double alpha,
DoubleMatrix x)
Computes a rank-1-update A = A + alpha * x * x'. |
DoubleMatrix |
DoubleMatrix.rankOneUpdate(double alpha,
DoubleMatrix x,
DoubleMatrix y)
Computes a rank-1-update A = A + alpha * x * y'. |
DoubleMatrix |
DoubleMatrix.rankOneUpdate(DoubleMatrix x)
Computes a rank-1-update A = A + x * x'. |
DoubleMatrix |
DoubleMatrix.rankOneUpdate(DoubleMatrix x,
DoubleMatrix y)
Computes a rank-1-update A = A + x * y'. |
DoubleMatrix |
DoubleMatrix.rdiv(double v)
(right-)elementwise divide by a scalar. |
DoubleMatrix |
DoubleMatrix.rdiv(DoubleMatrix other)
(right-)elementwise divide by a matrix (in place). |
DoubleMatrix |
DoubleMatrix.rdivi(double v)
(right-)elementwise divide by a scalar (in place). |
DoubleMatrix |
DoubleMatrix.rdivi(double a,
DoubleMatrix result)
(Elementwise) division with a scalar, with operands switched. |
DoubleMatrix |
DoubleMatrix.rdivi(DoubleMatrix other)
(right-)elementwise divide by a matrix (in place). |
DoubleMatrix |
DoubleMatrix.rdivi(DoubleMatrix other,
DoubleMatrix result)
Elementwise division, with operands switched. |
DoubleMatrix |
ComplexDoubleMatrix.real()
Get real part of the matrix. |
DoubleMatrix |
DoubleMatrix.repmat(int rowMult,
int columnMult)
Generate a new matrix which has the given number of replications of this. |
DoubleMatrix |
DoubleMatrix.reshape(int newRows,
int newColumns)
Reshape the matrix. |
DoubleMatrix |
DoubleMatrix.rowMaxs()
Return row-wise maximums. |
DoubleMatrix |
DoubleMatrix.rowMeans()
Return a vector containing the means of the rows. |
DoubleMatrix |
DoubleMatrix.rowMins()
Return row-wise minimums. |
DoubleMatrix |
DoubleMatrix.rowSums()
Return a vector containing the sum of the rows. |
DoubleMatrix |
DoubleMatrix.rsub(double v)
(right-)subtract a scalar. |
DoubleMatrix |
DoubleMatrix.rsub(DoubleMatrix other)
(right-)subtract a matrix (in place). |
DoubleMatrix |
DoubleMatrix.rsubi(double v)
(right-)subtract a scalar (in place). |
DoubleMatrix |
DoubleMatrix.rsubi(double a,
DoubleMatrix result)
Subtract a matrix from a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.rsubi(DoubleMatrix other)
(right-)subtract a matrix (in place). |
DoubleMatrix |
DoubleMatrix.rsubi(DoubleMatrix other,
DoubleMatrix result)
Subtract two matrices, but subtract first from second matrix, that is, compute result = other - this (in-place). |
static DoubleMatrix |
SimpleBlas.scal(double alpha,
DoubleMatrix x)
Compute x <- alpha * x (scale a matrix) |
static DoubleMatrix |
DoubleMatrix.scalar(double s)
Create a 1-by-1 matrix. |
DoubleMatrix |
DoubleMatrix.select(DoubleMatrix where)
|
DoubleMatrix |
DoubleMatrix.selecti(DoubleMatrix where)
|
static DoubleMatrix |
MatrixFunctions.signum(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.signumi(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.sin(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.sinh(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.sinhi(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.sini(DoubleMatrix x)
|
static DoubleMatrix |
Solve.solve(DoubleMatrix A,
DoubleMatrix B)
Solves the linear equation A*X = B. |
static DoubleMatrix |
Solve.solvePositive(DoubleMatrix A,
DoubleMatrix B)
Solves the linear equation A*X = B for symmetric and positive definite A. |
static DoubleMatrix |
Solve.solveSymmetric(DoubleMatrix A,
DoubleMatrix B)
Solves the linear equation A*X = B for symmetric A. |
DoubleMatrix |
DoubleMatrix.sort()
Return a new matrix with all elements sorted. |
DoubleMatrix |
DoubleMatrix.sortColumns()
Sort columns. |
DoubleMatrix |
DoubleMatrix.sortColumnsi()
Sort columns (in-place). |
DoubleMatrix |
DoubleMatrix.sorti()
Sort elements in-place. |
DoubleMatrix |
DoubleMatrix.sortRows()
Sort rows. |
DoubleMatrix |
DoubleMatrix.sortRowsi()
Sort rows (in-place). |
static DoubleMatrix[] |
Singular.sparseSVD(DoubleMatrix A)
Compute a singular-value decomposition of A (sparse variant). |
static DoubleMatrix |
MatrixFunctions.sqrt(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.sqrti(DoubleMatrix x)
|
DoubleMatrix |
DoubleMatrix.sub(double v)
Subtract a scalar. |
DoubleMatrix |
DoubleMatrix.sub(DoubleMatrix other)
Subtract a matrix (in place). |
DoubleMatrix |
DoubleMatrix.subColumnVector(DoubleMatrix x)
Subtract a vector from all columns of the matrix. |
DoubleMatrix |
DoubleMatrix.subi(double v)
Subtract a scalar (in place). |
DoubleMatrix |
DoubleMatrix.subi(double v,
DoubleMatrix result)
Subtract a scalar from a matrix (in-place). |
DoubleMatrix |
DoubleMatrix.subi(DoubleMatrix other)
Subtract a matrix (in place). |
DoubleMatrix |
DoubleMatrix.subi(DoubleMatrix other,
DoubleMatrix result)
Subtract two matrices (in-place). |
DoubleMatrix |
DoubleMatrix.subiColumnVector(DoubleMatrix x)
Subtract a column vector from all columns of the matrix (in-place). |
DoubleMatrix |
DoubleMatrix.subiRowVector(DoubleMatrix x)
Subtract a row vector from all rows of the matrix (in-place). |
DoubleMatrix |
DoubleMatrix.subRowVector(DoubleMatrix x)
Subtract a row vector from all rows of the matrix. |
static DoubleMatrix |
Singular.SVDValues(ComplexDoubleMatrix A)
Compute the singular values of a complex matrix. |
static DoubleMatrix |
Singular.SVDValues(DoubleMatrix A)
Compute the singular values of a matrix. |
static DoubleMatrix |
SimpleBlas.swap(DoubleMatrix x,
DoubleMatrix y)
Compute x <-> y (swap two matrices) |
DoubleMatrix |
DoubleMatrix.swapColumns(int i,
int j)
Swap two columns of a matrix. |
DoubleMatrix |
DoubleMatrix.swapRows(int i,
int j)
Swap two rows of a matrix. |
static DoubleMatrix |
Eigen.symmetricEigenvalues(DoubleMatrix A)
Compute the eigenvalues for a symmetric matrix. |
static DoubleMatrix[] |
Eigen.symmetricEigenvectors(DoubleMatrix A)
Computes the eigenvalues and eigenvectors for a symmetric matrix. |
static DoubleMatrix |
SimpleBlas.sysv(char uplo,
DoubleMatrix a,
int[] ipiv,
DoubleMatrix b)
|
static DoubleMatrix |
MatrixFunctions.tan(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.tanh(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.tanhi(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.tani(DoubleMatrix x)
|
DoubleMatrix |
DoubleMatrix.transpose()
Return transposed copy of this matrix. |
DoubleMatrix |
DoubleMatrix.truth()
Maps zero to 0.0 and all non-zero values to 1.0. |
DoubleMatrix |
DoubleMatrix.truthi()
Maps zero to 0.0 and all non-zero values to 1.0 (in-place). |
static DoubleMatrix |
DoubleMatrix.valueOf(java.lang.String text)
Construct DoubleMatrix from ASCII representation. |
DoubleMatrix |
DoubleMatrix.xor(double value)
Compute elementwise logical xor against a scalar. |
DoubleMatrix |
DoubleMatrix.xor(DoubleMatrix other)
Compute elementwise logical xor. |
DoubleMatrix |
DoubleMatrix.xori(double value)
Compute elementwise logical xor against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.xori(double value,
DoubleMatrix result)
Compute elementwise logical xor against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.xori(DoubleMatrix other)
Compute elementwise logical xor (in-place). |
DoubleMatrix |
DoubleMatrix.xori(DoubleMatrix other,
DoubleMatrix result)
Compute elementwise logical xor (in-place). |
static DoubleMatrix |
DoubleMatrix.zeros(int length)
Creates a row vector of given length. |
static DoubleMatrix |
DoubleMatrix.zeros(int rows,
int columns)
Creates a new matrix in which all values are equal 0. |
Methods in org.jblas that return types with arguments of type DoubleMatrix | |
---|---|
java.util.List<DoubleMatrix> |
DoubleMatrix.columnsAsList()
|
static Decompose.LUDecomposition<DoubleMatrix> |
Decompose.lu(DoubleMatrix A)
Compute LU Decomposition of a general matrix. |
java.util.List<DoubleMatrix> |
DoubleMatrix.rowsAsList()
|
Methods in org.jblas with parameters of type DoubleMatrix | |
---|---|
static DoubleMatrix |
MatrixFunctions.abs(DoubleMatrix x)
Returns a copy of this matrix where all elements are set to their absolute values. |
static DoubleMatrix |
MatrixFunctions.absi(DoubleMatrix x)
Sets all elements in this matrix to their absolute values. |
static DoubleMatrix |
MatrixFunctions.acos(DoubleMatrix x)
Returns a copy of this matrix where the trigonometric acos function is applied element wise. |
static DoubleMatrix |
MatrixFunctions.acosi(DoubleMatrix x)
Applies the trigonometric arccosine function element wise on this matrix. |
DoubleMatrix |
DoubleMatrix.add(DoubleMatrix other)
Add a matrix (in place). |
DoubleMatrix |
DoubleMatrix.addColumnVector(DoubleMatrix x)
Add a vector to all columns of the matrix. |
DoubleMatrix |
DoubleMatrix.addi(double v,
DoubleMatrix result)
Add a scalar to a matrix (in-place). |
DoubleMatrix |
DoubleMatrix.addi(DoubleMatrix other)
Add a matrix (in place). |
DoubleMatrix |
DoubleMatrix.addi(DoubleMatrix other,
DoubleMatrix result)
Add two matrices (in-place). |
DoubleMatrix |
DoubleMatrix.addiColumnVector(DoubleMatrix x)
Add a vector to all columns of the matrix (in-place). |
DoubleMatrix |
DoubleMatrix.addiRowVector(DoubleMatrix x)
Add a row vector to all rows of the matrix (in place). |
DoubleMatrix |
DoubleMatrix.addRowVector(DoubleMatrix x)
Add a row to all rows of the matrix. |
DoubleMatrix |
DoubleMatrix.and(DoubleMatrix other)
Compute elementwise logical and. |
DoubleMatrix |
DoubleMatrix.andi(double value,
DoubleMatrix result)
Compute elementwise logical and against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.andi(DoubleMatrix other)
Compute elementwise logical and (in-place). |
DoubleMatrix |
DoubleMatrix.andi(DoubleMatrix other,
DoubleMatrix result)
Compute elementwise logical and (in-place). |
static DoubleMatrix |
MatrixFunctions.asin(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.asini(DoubleMatrix x)
Applies the trigonometric arcsine function element wise on this matrix. |
void |
DoubleMatrix.assertMultipliesWith(DoubleMatrix a)
Throws SizeException unless matrices can be multiplied with one another. |
void |
DoubleMatrix.assertSameLength(DoubleMatrix a)
Throws SizeException unless matrices have the same length. |
void |
DoubleMatrix.assertSameSize(DoubleMatrix a)
Throws SizeException unless two matrices have the same size. |
static double |
SimpleBlas.asum(DoubleMatrix x)
Compute || x ||_1 (1-norm, sum of absolute values) |
static DoubleMatrix |
MatrixFunctions.atan(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.atani(DoubleMatrix x)
Applies the trigonometric arctangend function element wise on this matrix. |
static DoubleMatrix |
SimpleBlas.axpy(double da,
DoubleMatrix dx,
DoubleMatrix dy)
Compute y <- alpha * x + y (elementwise addition) |
static DoubleMatrix |
MatrixFunctions.cbrt(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.cbrti(DoubleMatrix x)
Applies the cube root function element wise on this matrix. |
static DoubleMatrix |
MatrixFunctions.ceil(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.ceili(DoubleMatrix x)
Element-wise round up by applying the ceil function on each element. |
static DoubleMatrix |
Geometry.center(DoubleMatrix x)
Center a vector (subtract mean from all elements (in-place). |
static DoubleMatrix |
Geometry.centerColumns(DoubleMatrix x)
Center the columns of a matrix (in-place). |
static DoubleMatrix |
Geometry.centerRows(DoubleMatrix x)
Center the rows of a matrix (in-place). |
static DoubleMatrix |
Decompose.cholesky(DoubleMatrix A)
Compute Cholesky decomposition of A |
static DoubleMatrix |
DoubleMatrix.concatHorizontally(DoubleMatrix A,
DoubleMatrix B)
Concatenates two matrices horizontally. |
static DoubleMatrix |
DoubleMatrix.concatVertically(DoubleMatrix A,
DoubleMatrix B)
Concatenates two matrices vertically. |
DoubleMatrix |
DoubleMatrix.copy(DoubleMatrix a)
Copy DoubleMatrix a to this. |
static DoubleMatrix |
SimpleBlas.copy(DoubleMatrix x,
DoubleMatrix y)
Compute y <- x (copy a matrix) |
static DoubleMatrix |
MatrixFunctions.cos(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.cosh(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.coshi(DoubleMatrix x)
Applies the hyperbolic cosine function element-wise on this matrix. |
static DoubleMatrix |
MatrixFunctions.cosi(DoubleMatrix x)
Applies the cosine function element-wise on this matrix. |
static DoubleMatrix |
DoubleMatrix.diag(DoubleMatrix x)
Creates a new matrix where the values of the given vector are the diagonal values of the matrix. |
double |
DoubleMatrix.distance1(DoubleMatrix other)
Returns the (1-norm) distance. |
double |
DoubleMatrix.distance2(DoubleMatrix other)
Returns the (euclidean) distance. |
DoubleMatrix |
DoubleMatrix.div(DoubleMatrix other)
Elementwise divide by a matrix (in place). |
DoubleMatrix |
DoubleMatrix.divColumnVector(DoubleMatrix x)
|
DoubleMatrix |
DoubleMatrix.divi(double a,
DoubleMatrix result)
Elementwise division with a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.divi(DoubleMatrix other)
Elementwise divide by a matrix (in place). |
DoubleMatrix |
DoubleMatrix.divi(DoubleMatrix other,
DoubleMatrix result)
Elementwise division (in-place). |
DoubleMatrix |
DoubleMatrix.diviColumnVector(DoubleMatrix x)
|
DoubleMatrix |
DoubleMatrix.diviRowVector(DoubleMatrix x)
|
DoubleMatrix |
DoubleMatrix.divRowVector(DoubleMatrix x)
|
double |
DoubleMatrix.dot(DoubleMatrix other)
The scalar product of this with other. |
static double |
SimpleBlas.dot(DoubleMatrix x,
DoubleMatrix y)
Compute x^T * y (dot product) |
static FloatMatrix |
MatrixFunctions.doubleToFloat(DoubleMatrix dm)
|
static ComplexDoubleMatrix |
Eigen.eigenvalues(DoubleMatrix A)
Computes the eigenvalues of a general matrix. |
static ComplexDoubleMatrix[] |
Eigen.eigenvectors(DoubleMatrix A)
Computes the eigenvalues and eigenvectors of a general matrix. |
DoubleMatrix |
DoubleMatrix.eq(DoubleMatrix other)
Test for equality. |
DoubleMatrix |
DoubleMatrix.eqi(double value,
DoubleMatrix result)
Test for equality against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.eqi(DoubleMatrix other)
Test for equality (in-place). |
DoubleMatrix |
DoubleMatrix.eqi(DoubleMatrix other,
DoubleMatrix result)
Test for equality (in-place). |
static DoubleMatrix |
MatrixFunctions.exp(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.expi(DoubleMatrix x)
Applies the exponential function element-wise on this matrix. |
static DoubleMatrix |
MatrixFunctions.expm(DoubleMatrix A)
Calculate matrix exponential of a square matrix. |
static DoubleMatrix |
MatrixFunctions.floor(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.floori(DoubleMatrix x)
Element-wise round down by applying the floor function on each element. |
static DoubleMatrix[] |
Singular.fullSVD(DoubleMatrix A)
Compute a singular-value decomposition of A. |
DoubleMatrix |
DoubleMatrix.ge(DoubleMatrix other)
Test for "greater than or equal". |
static int |
SimpleBlas.geev(char jobvl,
char jobvr,
DoubleMatrix A,
DoubleMatrix WR,
DoubleMatrix WI,
DoubleMatrix VL,
DoubleMatrix VR)
|
DoubleMatrix |
DoubleMatrix.gei(double value,
DoubleMatrix result)
Test for "greater than or equal" against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.gei(DoubleMatrix other)
Test for "greater than or equal" (in-place). |
DoubleMatrix |
DoubleMatrix.gei(DoubleMatrix other,
DoubleMatrix result)
Test for "greater than or equal" (in-place). |
static DoubleMatrix |
SimpleBlas.gemm(double alpha,
DoubleMatrix a,
DoubleMatrix b,
double beta,
DoubleMatrix c)
Compute c <- a*b + beta * c (general matrix matrix multiplication) |
static DoubleMatrix |
SimpleBlas.gemv(double alpha,
DoubleMatrix a,
DoubleMatrix x,
double beta,
DoubleMatrix y)
Compute y <- alpha*op(a)*x + beta * y (general matrix vector multiplication) |
static DoubleMatrix |
SimpleBlas.ger(double alpha,
DoubleMatrix x,
DoubleMatrix y,
DoubleMatrix a)
Compute A <- alpha * x * y^T + A (general rank-1 update) |
static DoubleMatrix |
SimpleBlas.gesv(DoubleMatrix a,
int[] ipiv,
DoubleMatrix b)
LAPACK |
DoubleMatrix |
DoubleMatrix.get(DoubleMatrix indices)
Get elements specified by the non-zero entries of the passed matrix. |
DoubleMatrix |
DoubleMatrix.get(DoubleMatrix rindices,
DoubleMatrix cindices)
Get elements from columns and rows as specified by the non-zero entries of the passed matrices. |
DoubleMatrix |
DoubleMatrix.get(DoubleMatrix indices,
int c)
Get elements from a column and rows as specified by the non-zero entries of a matrix. |
DoubleMatrix |
DoubleMatrix.get(int r,
DoubleMatrix indices)
Get elements from a row and columns as specified by the non-zero entries of a matrix. |
DoubleMatrix |
DoubleMatrix.getColumn(int c,
DoubleMatrix result)
Copy a column to the given vector. |
DoubleMatrix |
DoubleMatrix.getColumns(DoubleMatrix cindices)
Get whole columns as specified by the non-zero entries of a matrix. |
DoubleMatrix |
DoubleMatrix.getRow(int r,
DoubleMatrix result)
Copy a row to a given vector. |
DoubleMatrix |
DoubleMatrix.getRows(DoubleMatrix rindices)
Get whole rows as specified by the non-zero entries of a matrix. |
DoubleMatrix |
DoubleMatrix.getRows(Range indices,
DoubleMatrix result)
|
DoubleMatrix |
DoubleMatrix.gt(DoubleMatrix other)
Test for "greater than". |
DoubleMatrix |
DoubleMatrix.gti(double value,
DoubleMatrix result)
Test for "greater than" against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.gti(DoubleMatrix other)
Test for "greater than" (in-place). |
DoubleMatrix |
DoubleMatrix.gti(DoubleMatrix other,
DoubleMatrix result)
Test for "greater than" (in-place). |
static int |
SimpleBlas.iamax(DoubleMatrix x)
Compute index of element with largest absolute value (index of absolute value maximum) |
DoubleMatrix |
DoubleMatrix.le(DoubleMatrix other)
Test for "less than or equal". |
DoubleMatrix |
DoubleMatrix.lei(double value,
DoubleMatrix result)
Test for "less than or equal" against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.lei(DoubleMatrix other)
Test for "less than or equal" (in-place). |
DoubleMatrix |
DoubleMatrix.lei(DoubleMatrix other,
DoubleMatrix result)
Test for "less than or equal" (in-place). |
static DoubleMatrix |
MatrixFunctions.log(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.log10(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.log10i(DoubleMatrix x)
Applies the logarithm with basis to 10 element-wise on this matrix. |
static DoubleMatrix |
MatrixFunctions.logi(DoubleMatrix x)
Applies the natural logarithm function element-wise on this matrix. |
DoubleMatrix |
DoubleMatrix.lt(DoubleMatrix other)
Test for "less than". |
DoubleMatrix |
DoubleMatrix.lti(double value,
DoubleMatrix result)
Test for "less than" against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.lti(DoubleMatrix other)
Test for "less than" (in-place). |
DoubleMatrix |
DoubleMatrix.lti(DoubleMatrix other,
DoubleMatrix result)
Test for "less than" (in-place). |
static Decompose.LUDecomposition<DoubleMatrix> |
Decompose.lu(DoubleMatrix A)
Compute LU Decomposition of a general matrix. |
DoubleMatrix |
DoubleMatrix.max(DoubleMatrix other)
Computes the maximum between two matrices. |
DoubleMatrix |
DoubleMatrix.maxi(double v,
DoubleMatrix result)
|
DoubleMatrix |
DoubleMatrix.maxi(DoubleMatrix other)
Computes the maximum between two matrices. |
DoubleMatrix |
DoubleMatrix.maxi(DoubleMatrix other,
DoubleMatrix result)
Computes the maximum between two matrices. |
DoubleMatrix |
DoubleMatrix.min(DoubleMatrix other)
Computes the minimum between two matrices. |
DoubleMatrix |
DoubleMatrix.mini(double v,
DoubleMatrix result)
|
DoubleMatrix |
DoubleMatrix.mini(DoubleMatrix other)
Computes the minimum between two matrices. |
DoubleMatrix |
DoubleMatrix.mini(DoubleMatrix other,
DoubleMatrix result)
Computes the minimum between two matrices. |
DoubleMatrix |
DoubleMatrix.mmul(DoubleMatrix other)
Matrix-multiply by a matrix (in place). |
DoubleMatrix |
DoubleMatrix.mmuli(double v,
DoubleMatrix result)
Matrix-matrix multiplication with a scalar (for symmetry, does the same as muli(scalar) (in-place). |
DoubleMatrix |
DoubleMatrix.mmuli(DoubleMatrix other)
Matrix-multiply by a matrix (in place). |
DoubleMatrix |
DoubleMatrix.mmuli(DoubleMatrix other,
DoubleMatrix result)
Matrix-matrix multiplication (in-place). |
DoubleMatrix |
DoubleMatrix.mul(DoubleMatrix other)
Elementwise multiply by a matrix (in place). |
DoubleMatrix |
DoubleMatrix.mulColumnVector(DoubleMatrix x)
Multiply all columns with a column vector. |
DoubleMatrix |
DoubleMatrix.muli(double v,
DoubleMatrix result)
Elementwise multiplication with a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.muli(DoubleMatrix other)
Elementwise multiply by a matrix (in place). |
DoubleMatrix |
DoubleMatrix.muli(DoubleMatrix other,
DoubleMatrix result)
Elementwise multiplication (in-place). |
DoubleMatrix |
DoubleMatrix.muliColumnVector(DoubleMatrix x)
Multiply all columns with a column vector (in-place). |
DoubleMatrix |
DoubleMatrix.muliRowVector(DoubleMatrix x)
Multiply all rows with a row vector (in-place). |
DoubleMatrix |
DoubleMatrix.mulRowVector(DoubleMatrix x)
Multiply all rows with a row vector. |
boolean |
DoubleMatrix.multipliesWith(DoubleMatrix a)
Checks whether two matrices can be multiplied (that is, number of columns of this must equal number of rows of a. |
DoubleMatrix |
DoubleMatrix.ne(DoubleMatrix other)
Test for inequality. |
DoubleMatrix |
DoubleMatrix.nei(double value,
DoubleMatrix result)
Test for inequality against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.nei(DoubleMatrix other)
Test for inequality (in-place). |
DoubleMatrix |
DoubleMatrix.nei(DoubleMatrix other,
DoubleMatrix result)
Test for inequality (in-place). |
static DoubleMatrix |
Geometry.normalize(DoubleMatrix x)
Normalize a vector (scale such that its Euclidean norm is 1) (in-place). |
static DoubleMatrix |
Geometry.normalizeColumns(DoubleMatrix x)
Normalize the columns of a matrix (in-place). |
static DoubleMatrix |
Geometry.normalizeRows(DoubleMatrix x)
Normalize the rows of a matrix (in-place). |
static double |
SimpleBlas.nrm2(DoubleMatrix x)
Compute || x ||_2 (2-norm) |
DoubleMatrix |
DoubleMatrix.or(DoubleMatrix other)
Compute elementwise logical or. |
DoubleMatrix |
DoubleMatrix.ori(double value,
DoubleMatrix result)
Compute elementwise logical or against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.ori(DoubleMatrix other)
Compute elementwise logical or (in-place). |
DoubleMatrix |
DoubleMatrix.ori(DoubleMatrix other,
DoubleMatrix result)
Compute elementwise logical or (in-place). |
static DoubleMatrix |
Geometry.pairwiseSquaredDistances(DoubleMatrix X,
DoubleMatrix Y)
Compute the pairwise squared distances between all columns of the two matrices. |
static void |
SimpleBlas.posv(char uplo,
DoubleMatrix A,
DoubleMatrix B)
|
static DoubleMatrix |
MatrixFunctions.pow(double b,
DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.pow(DoubleMatrix x,
double e)
|
static DoubleMatrix |
MatrixFunctions.pow(DoubleMatrix x,
DoubleMatrix e)
|
static DoubleMatrix |
MatrixFunctions.powi(double base,
DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.powi(DoubleMatrix x,
double d)
Element-wise power function. |
static DoubleMatrix |
MatrixFunctions.powi(DoubleMatrix x,
DoubleMatrix e)
|
double |
DoubleMatrix.project(DoubleMatrix other)
Computes the projection coefficient of other on this. |
DoubleMatrix |
DoubleMatrix.put(DoubleMatrix indices,
double v)
Put a single value into the elements specified by the non-zero entries of indices (linear adressing). |
DoubleMatrix |
DoubleMatrix.put(DoubleMatrix indices,
DoubleMatrix v)
Put a sub-matrix into the indices specified by the non-zero entries of indices (linear adressing). |
DoubleMatrix |
DoubleMatrix.put(DoubleMatrix rindices,
DoubleMatrix cindices,
double v)
Put a single value in the specified rows and columns (non-zero entries of rindices and cindices. |
DoubleMatrix |
DoubleMatrix.put(DoubleMatrix rindices,
DoubleMatrix cindices,
DoubleMatrix v)
Put a sub-matrix into the specified rows and columns (non-zero entries of rindices and cindices. |
DoubleMatrix |
DoubleMatrix.put(DoubleMatrix indices,
int c,
double v)
Put a single value into the specified rows (non-zero entries of indices) of a column. |
DoubleMatrix |
DoubleMatrix.put(DoubleMatrix indices,
int c,
DoubleMatrix v)
Put a sub-vector into the specified rows (non-zero entries of indices) of a column. |
DoubleMatrix |
DoubleMatrix.put(int[] indices,
DoubleMatrix x)
Set elements in linear ordering in the specified indices. |
DoubleMatrix |
DoubleMatrix.put(int[] rindices,
int[] cindices,
DoubleMatrix x)
Put a sub-matrix as specified by the indices. |
DoubleMatrix |
DoubleMatrix.put(int[] indices,
int c,
DoubleMatrix x)
Set multiple elements in a row. |
DoubleMatrix |
DoubleMatrix.put(int r,
DoubleMatrix indices,
double v)
Put a single value into the specified columns (non-zero entries of indices) of a row. |
DoubleMatrix |
DoubleMatrix.put(int r,
DoubleMatrix indices,
DoubleMatrix v)
Put a sub-vector into the specified columns (non-zero entries of indices) of a row. |
DoubleMatrix |
DoubleMatrix.put(int r,
int[] indices,
DoubleMatrix x)
Set multiple elements in a row. |
DoubleMatrix |
DoubleMatrix.put(Range rs,
Range cs,
DoubleMatrix x)
Put a matrix into specified indices. |
void |
DoubleMatrix.putColumn(int c,
DoubleMatrix v)
Copy a column back into the matrix. |
void |
DoubleMatrix.putRow(int r,
DoubleMatrix v)
Copy a row back into the matrix. |
DoubleMatrix |
DoubleMatrix.rankOneUpdate(double alpha,
DoubleMatrix x)
Computes a rank-1-update A = A + alpha * x * x'. |
DoubleMatrix |
DoubleMatrix.rankOneUpdate(double alpha,
DoubleMatrix x,
DoubleMatrix y)
Computes a rank-1-update A = A + alpha * x * y'. |
DoubleMatrix |
DoubleMatrix.rankOneUpdate(DoubleMatrix x)
Computes a rank-1-update A = A + x * x'. |
DoubleMatrix |
DoubleMatrix.rankOneUpdate(DoubleMatrix x,
DoubleMatrix y)
Computes a rank-1-update A = A + x * y'. |
DoubleMatrix |
DoubleMatrix.rdiv(DoubleMatrix other)
(right-)elementwise divide by a matrix (in place). |
DoubleMatrix |
DoubleMatrix.rdivi(double a,
DoubleMatrix result)
(Elementwise) division with a scalar, with operands switched. |
DoubleMatrix |
DoubleMatrix.rdivi(DoubleMatrix other)
(right-)elementwise divide by a matrix (in place). |
DoubleMatrix |
DoubleMatrix.rdivi(DoubleMatrix other,
DoubleMatrix result)
Elementwise division, with operands switched. |
DoubleMatrix |
DoubleMatrix.rsub(DoubleMatrix other)
(right-)subtract a matrix (in place). |
DoubleMatrix |
DoubleMatrix.rsubi(double a,
DoubleMatrix result)
Subtract a matrix from a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.rsubi(DoubleMatrix other)
(right-)subtract a matrix (in place). |
DoubleMatrix |
DoubleMatrix.rsubi(DoubleMatrix other,
DoubleMatrix result)
Subtract two matrices, but subtract first from second matrix, that is, compute result = other - this (in-place). |
boolean |
DoubleMatrix.sameLength(DoubleMatrix a)
Checks whether two matrices have the same length. |
boolean |
DoubleMatrix.sameSize(DoubleMatrix a)
Checks whether two matrices have the same size. |
static DoubleMatrix |
SimpleBlas.scal(double alpha,
DoubleMatrix x)
Compute x <- alpha * x (scale a matrix) |
DoubleMatrix |
DoubleMatrix.select(DoubleMatrix where)
|
DoubleMatrix |
DoubleMatrix.selecti(DoubleMatrix where)
|
static DoubleMatrix |
MatrixFunctions.signum(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.signumi(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.sin(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.sinh(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.sinhi(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.sini(DoubleMatrix x)
|
static DoubleMatrix |
Solve.solve(DoubleMatrix A,
DoubleMatrix B)
Solves the linear equation A*X = B. |
static DoubleMatrix |
Solve.solvePositive(DoubleMatrix A,
DoubleMatrix B)
Solves the linear equation A*X = B for symmetric and positive definite A. |
static DoubleMatrix |
Solve.solveSymmetric(DoubleMatrix A,
DoubleMatrix B)
Solves the linear equation A*X = B for symmetric A. |
static DoubleMatrix[] |
Singular.sparseSVD(DoubleMatrix A)
Compute a singular-value decomposition of A (sparse variant). |
static DoubleMatrix |
MatrixFunctions.sqrt(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.sqrti(DoubleMatrix x)
|
double |
DoubleMatrix.squaredDistance(DoubleMatrix other)
Returns the squared (Euclidean) distance. |
DoubleMatrix |
DoubleMatrix.sub(DoubleMatrix other)
Subtract a matrix (in place). |
DoubleMatrix |
DoubleMatrix.subColumnVector(DoubleMatrix x)
Subtract a vector from all columns of the matrix. |
DoubleMatrix |
DoubleMatrix.subi(double v,
DoubleMatrix result)
Subtract a scalar from a matrix (in-place). |
DoubleMatrix |
DoubleMatrix.subi(DoubleMatrix other)
Subtract a matrix (in place). |
DoubleMatrix |
DoubleMatrix.subi(DoubleMatrix other,
DoubleMatrix result)
Subtract two matrices (in-place). |
DoubleMatrix |
DoubleMatrix.subiColumnVector(DoubleMatrix x)
Subtract a column vector from all columns of the matrix (in-place). |
DoubleMatrix |
DoubleMatrix.subiRowVector(DoubleMatrix x)
Subtract a row vector from all rows of the matrix (in-place). |
DoubleMatrix |
DoubleMatrix.subRowVector(DoubleMatrix x)
Subtract a row vector from all rows of the matrix. |
static DoubleMatrix |
Singular.SVDValues(DoubleMatrix A)
Compute the singular values of a matrix. |
static DoubleMatrix |
SimpleBlas.swap(DoubleMatrix x,
DoubleMatrix y)
Compute x <-> y (swap two matrices) |
static int |
SimpleBlas.syev(char jobz,
char uplo,
DoubleMatrix a,
DoubleMatrix w)
|
static int |
SimpleBlas.syevd(char jobz,
char uplo,
DoubleMatrix A,
DoubleMatrix w)
|
static int |
SimpleBlas.syevr(char jobz,
char range,
char uplo,
DoubleMatrix a,
double vl,
double vu,
int il,
int iu,
double abstol,
DoubleMatrix w,
DoubleMatrix z,
int[] isuppz)
|
static int |
SimpleBlas.syevx(char jobz,
char range,
char uplo,
DoubleMatrix a,
double vl,
double vu,
int il,
int iu,
double abstol,
DoubleMatrix w,
DoubleMatrix z)
|
static DoubleMatrix |
Eigen.symmetricEigenvalues(DoubleMatrix A)
Compute the eigenvalues for a symmetric matrix. |
static DoubleMatrix[] |
Eigen.symmetricEigenvectors(DoubleMatrix A)
Computes the eigenvalues and eigenvectors for a symmetric matrix. |
static DoubleMatrix |
SimpleBlas.sysv(char uplo,
DoubleMatrix a,
int[] ipiv,
DoubleMatrix b)
|
static DoubleMatrix |
MatrixFunctions.tan(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.tanh(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.tanhi(DoubleMatrix x)
|
static DoubleMatrix |
MatrixFunctions.tani(DoubleMatrix x)
|
DoubleMatrix |
DoubleMatrix.xor(DoubleMatrix other)
Compute elementwise logical xor. |
DoubleMatrix |
DoubleMatrix.xori(double value,
DoubleMatrix result)
Compute elementwise logical xor against a scalar (in-place). |
DoubleMatrix |
DoubleMatrix.xori(DoubleMatrix other)
Compute elementwise logical xor (in-place). |
DoubleMatrix |
DoubleMatrix.xori(DoubleMatrix other,
DoubleMatrix result)
Compute elementwise logical xor (in-place). |
Constructors in org.jblas with parameters of type DoubleMatrix | |
---|---|
ComplexDoubleMatrix(DoubleMatrix m)
Construct a complex matrix from a real matrix. |
|
ComplexDoubleMatrix(DoubleMatrix real,
DoubleMatrix imag)
Construct a complex matrix from separate real and imaginary parts. |
|
DoubleMatrix.ColumnsAsListView(DoubleMatrix me)
|
|
DoubleMatrix.ElementsAsListView(DoubleMatrix me)
|
|
DoubleMatrix.RowsAsListView(DoubleMatrix me)
|
Uses of DoubleMatrix in org.jblas.ranges |
---|
Methods in org.jblas.ranges with parameters of type DoubleMatrix | |
---|---|
static Range |
RangeUtils.find(DoubleMatrix is)
|
static Range |
RangeUtils.indices(DoubleMatrix is)
|
Constructors in org.jblas.ranges with parameters of type DoubleMatrix | |
---|---|
IndicesRange(DoubleMatrix is)
Initialize from DoubleMatrix. |
Uses of DoubleMatrix in org.jblas.util |
---|
Methods in org.jblas.util that return DoubleMatrix | |
---|---|
static DoubleMatrix |
Permutations.permutationMatrixFromPivotIndices(int size,
int[] ipiv)
Create a permutation matrix from a LAPACK-style 'ipiv' vector. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |