Package | Description |
---|---|
cern.colt.matrix |
Matrix interfaces and factories; efficient and flexible dense and sparse
1, 2, 3 and d-dimensional matrices holding objects or primitive data types such
as int, double, etc; Templated, fixed sized (not dynamically
resizable); Also known as multi-dimensional arrays or Data Cubes.
|
cern.colt.matrix.doublealgo |
Double matrix algorithms such as print formatting, sorting, partitioning and statistics.
|
cern.colt.matrix.impl |
Matrix implementations; You normally need not look at this package, because all concrete classes implement the abstract interfaces of
cern.colt.matrix , without subsetting or supersetting. |
cern.colt.matrix.linalg |
Linear Algebraic matrix computations operating on
DoubleMatrix2D
and DoubleMatrix1D . |
Modifier and Type | Method and Description |
---|---|
DoubleMatrix1D |
DoubleFactory1D.append(DoubleMatrix1D A,
DoubleMatrix1D B)
C = A||B; Constructs a new matrix which is the concatenation of two other matrices.
|
DoubleMatrix1D |
DoubleFactory1D.ascending(int size)
Constructs a matrix with cells having ascending values.
|
DoubleMatrix1D |
DoubleMatrix1D.assign(double value)
Sets all cells to the state specified by value.
|
DoubleMatrix1D |
DoubleMatrix1D.assign(double[] values)
Sets all cells to the state specified by values.
|
DoubleMatrix1D |
DoubleMatrix1D.assign(DoubleFunction function)
Assigns the result of a function to each cell; x[i] = function(x[i]).
|
DoubleMatrix1D |
DoubleMatrix1D.assign(DoubleMatrix1D other)
Replaces all cell values of the receiver with the values of another matrix.
|
DoubleMatrix1D |
DoubleMatrix1D.assign(DoubleMatrix1D y,
DoubleDoubleFunction function)
Assigns the result of a function to each cell; x[i] = function(x[i],y[i]).
|
DoubleMatrix1D |
DoubleMatrix1D.assign(DoubleMatrix1D y,
DoubleDoubleFunction function,
IntArrayList nonZeroIndexes)
Assigns the result of a function to each cell; x[i] = function(x[i],y[i]).
|
DoubleMatrix1D |
DoubleMatrix1D.copy()
Constructs and returns a deep copy of the receiver.
|
DoubleMatrix1D |
DoubleFactory1D.descending(int size)
Constructs a matrix with cells having descending values.
|
DoubleMatrix1D |
DoubleFactory2D.diagonal(DoubleMatrix2D A)
Constructs a new vector consisting of the diagonal elements of A.
|
protected DoubleMatrix1D |
DoubleMatrix1D.getContent()
Returns the content of this matrix if it is a wrapper; or this otherwise.
|
DoubleMatrix1D |
DoubleMatrix1D.like()
Construct and returns a new empty matrix of the same dynamic type as the receiver, having the same size.
|
abstract DoubleMatrix1D |
DoubleMatrix1D.like(int size)
Construct and returns a new empty matrix of the same dynamic type as the receiver, having the specified size.
|
abstract DoubleMatrix1D |
DoubleMatrix2D.like1D(int size)
Construct and returns a new 1-d matrix of the corresponding dynamic type, entirelly independent of the receiver.
|
protected abstract DoubleMatrix1D |
DoubleMatrix2D.like1D(int size,
int zero,
int stride)
Construct and returns a new 1-d matrix of the corresponding dynamic type, sharing the same cells.
|
DoubleMatrix1D |
DoubleFactory1D.make(AbstractDoubleList values)
Constructs a matrix from the values of the given list.
|
DoubleMatrix1D |
DoubleFactory1D.make(double[] values)
Constructs a matrix with the given cell values.
|
DoubleMatrix1D |
DoubleFactory1D.make(DoubleMatrix1D[] parts)
Constructs a matrix which is the concatenation of all given parts.
|
DoubleMatrix1D |
DoubleFactory1D.make(int size)
Constructs a matrix with the given shape, each cell initialized with zero.
|
DoubleMatrix1D |
DoubleFactory1D.make(int size,
double initialValue)
Constructs a matrix with the given shape, each cell initialized with the given value.
|
protected DoubleMatrix1D |
DoubleFactory2D.make1D(int size)
Constructs a 1d matrix of the right dynamic type.
|
DoubleMatrix1D |
DoubleFactory1D.random(int size)
Constructs a matrix with uniformly distributed values in (0,1) (exclusive).
|
DoubleMatrix1D |
DoubleFactory1D.repeat(DoubleMatrix1D A,
int repeat)
C = A||A||..||A; Constructs a new matrix which is concatenated repeat times.
|
DoubleMatrix1D |
DoubleFactory1D.sample(int size,
double value,
double nonZeroFraction)
Constructs a randomly sampled matrix with the given shape.
|
protected DoubleMatrix1D |
DoubleMatrix1D.view()
Constructs and returns a new view equal to the receiver.
|
DoubleMatrix1D |
DoubleMatrix2D.viewColumn(int column)
Constructs and returns a new slice view representing the rows of the given column.
|
DoubleMatrix1D |
DoubleMatrix1D.viewFlip()
Constructs and returns a new flip view.
|
DoubleMatrix1D |
DoubleMatrix1D.viewPart(int index,
int width)
Constructs and returns a new sub-range view that is a width sub matrix starting at index.
|
DoubleMatrix1D |
DoubleMatrix2D.viewRow(int row)
Constructs and returns a new slice view representing the columns of the given row.
|
DoubleMatrix1D |
DoubleMatrix1D.viewSelection(DoubleProcedure condition)
Constructs and returns a new selection view that is a matrix holding the cells matching the given condition.
|
DoubleMatrix1D |
DoubleMatrix1D.viewSelection(int[] indexes)
Constructs and returns a new selection view that is a matrix holding the indicated cells.
|
protected abstract DoubleMatrix1D |
DoubleMatrix1D.viewSelectionLike(int[] offsets)
Construct and returns a new selection view.
|
DoubleMatrix1D |
DoubleMatrix1D.viewSorted()
Sorts the vector into ascending order, according to the natural ordering.
|
DoubleMatrix1D |
DoubleMatrix1D.viewStrides(int stride)
Constructs and returns a new stride view which is a sub matrix consisting of every i-th cell.
|
DoubleMatrix1D |
DoubleMatrix2D.zMult(DoubleMatrix1D y,
DoubleMatrix1D z)
Linear algebraic matrix-vector multiplication; z = A * y;
Equivalent to return A.zMult(y,z,1,0);
|
DoubleMatrix1D |
DoubleMatrix2D.zMult(DoubleMatrix1D y,
DoubleMatrix1D z,
double alpha,
double beta,
boolean transposeA)
Linear algebraic matrix-vector multiplication; z = alpha * A * y + beta*z.
|
Modifier and Type | Method and Description |
---|---|
double |
DoubleMatrix1D.aggregate(DoubleMatrix1D other,
DoubleDoubleFunction aggr,
DoubleDoubleFunction f)
Applies a function to each corresponding cell of two matrices and aggregates the results.
|
DoubleMatrix1D |
DoubleFactory1D.append(DoubleMatrix1D A,
DoubleMatrix1D B)
C = A||B; Constructs a new matrix which is the concatenation of two other matrices.
|
boolean |
DoubleMatrix1DProcedure.apply(DoubleMatrix1D element)
Applies a procedure to an argument.
|
DoubleMatrix1D |
DoubleMatrix1D.assign(DoubleMatrix1D other)
Replaces all cell values of the receiver with the values of another matrix.
|
DoubleMatrix1D |
DoubleMatrix1D.assign(DoubleMatrix1D y,
DoubleDoubleFunction function)
Assigns the result of a function to each cell; x[i] = function(x[i],y[i]).
|
DoubleMatrix1D |
DoubleMatrix1D.assign(DoubleMatrix1D y,
DoubleDoubleFunction function,
IntArrayList nonZeroIndexes)
Assigns the result of a function to each cell; x[i] = function(x[i],y[i]).
|
DoubleMatrix2D |
DoubleFactory2D.diagonal(DoubleMatrix1D vector)
Constructs a new diagonal matrix whose diagonal elements are the elements of vector.
|
protected boolean |
DoubleMatrix1D.haveSharedCells(DoubleMatrix1D other)
Returns true if both matrices share at least one identical cell.
|
protected boolean |
DoubleMatrix1D.haveSharedCellsRaw(DoubleMatrix1D other)
Returns true if both matrices share at least one identical cell.
|
DoubleMatrix1D |
DoubleFactory1D.make(DoubleMatrix1D[] parts)
Constructs a matrix which is the concatenation of all given parts.
|
DoubleMatrix1D |
DoubleFactory1D.repeat(DoubleMatrix1D A,
int repeat)
C = A||A||..||A; Constructs a new matrix which is concatenated repeat times.
|
void |
DoubleMatrix1D.swap(DoubleMatrix1D other)
Swaps each element this[i] with other[i].
|
DoubleArrayList |
DoubleFactory1D.toList(DoubleMatrix1D values)
Constructs a list from the given matrix.
|
double |
DoubleMatrix1D.zDotProduct(DoubleMatrix1D y)
Returns the dot product of two vectors x and y, which is Sum(x[i]*y[i]).
|
protected double |
DoubleMatrix1D.zDotProduct(DoubleMatrix1D y,
IntArrayList nonZeroIndexes)
Returns the dot product of two vectors x and y, which is Sum(x[i]*y[i]).
|
double |
DoubleMatrix1D.zDotProduct(DoubleMatrix1D y,
int from,
int length)
Returns the dot product of two vectors x and y, which is Sum(x[i]*y[i]).
|
double |
DoubleMatrix1D.zDotProduct(DoubleMatrix1D y,
int from,
int length,
IntArrayList nonZeroIndexes)
Returns the dot product of two vectors x and y, which is Sum(x[i]*y[i]).
|
DoubleMatrix1D |
DoubleMatrix2D.zMult(DoubleMatrix1D y,
DoubleMatrix1D z)
Linear algebraic matrix-vector multiplication; z = A * y;
Equivalent to return A.zMult(y,z,1,0);
|
DoubleMatrix1D |
DoubleMatrix2D.zMult(DoubleMatrix1D y,
DoubleMatrix1D z,
double alpha,
double beta,
boolean transposeA)
Linear algebraic matrix-vector multiplication; z = alpha * A * y + beta*z.
|
Modifier and Type | Method and Description |
---|---|
static DoubleMatrix1D |
Transform.abs(DoubleMatrix1D A)
Deprecated.
A[i] = Math.abs(A[i]).
|
static DoubleMatrix1D |
Transform.div(DoubleMatrix1D A,
double s)
Deprecated.
A = A / s <=> A[i] = A[i] / s.
|
static DoubleMatrix1D |
Transform.div(DoubleMatrix1D A,
DoubleMatrix1D B)
Deprecated.
A = A / B <=> A[i] = A[i] / B[i].
|
static DoubleMatrix1D |
Transform.minus(DoubleMatrix1D A,
double s)
Deprecated.
A = A - s <=> A[i] = A[i] - s.
|
static DoubleMatrix1D |
Transform.minus(DoubleMatrix1D A,
DoubleMatrix1D B)
Deprecated.
A = A - B <=> A[i] = A[i] - B[i].
|
static DoubleMatrix1D |
Transform.minusMult(DoubleMatrix1D A,
DoubleMatrix1D B,
double s)
Deprecated.
A = A - B*s <=> A[i] = A[i] - B[i]*s.
|
static DoubleMatrix1D |
Transform.mult(DoubleMatrix1D A,
double s)
Deprecated.
A = A * s <=> A[i] = A[i] * s.
|
static DoubleMatrix1D |
Transform.mult(DoubleMatrix1D A,
DoubleMatrix1D B)
Deprecated.
A = A * B <=> A[i] = A[i] * B[i].
|
static DoubleMatrix1D |
Transform.negate(DoubleMatrix1D A)
Deprecated.
A = -A <=> A[i] = -A[i] for all cells.
|
static DoubleMatrix1D |
Transform.plus(DoubleMatrix1D A,
double s)
Deprecated.
A = A + s <=> A[i] = A[i] + s.
|
static DoubleMatrix1D |
Transform.plus(DoubleMatrix1D A,
DoubleMatrix1D B)
Deprecated.
A = A + B <=> A[i] = A[i] + B[i].
|
static DoubleMatrix1D |
Transform.plusMult(DoubleMatrix1D A,
DoubleMatrix1D B,
double s)
Deprecated.
A = A + B*s<=> A[i] = A[i] + B[i]*s.
|
static DoubleMatrix1D |
Transform.pow(DoubleMatrix1D A,
double s)
Deprecated.
A = As <=> A[i] = Math.pow(A[i], s).
|
static DoubleMatrix1D |
Transform.pow(DoubleMatrix1D A,
DoubleMatrix1D B)
Deprecated.
A = AB <=> A[i] = Math.pow(A[i], B[i]).
|
DoubleMatrix1D |
Sorting.sort(DoubleMatrix1D vector)
Sorts the vector into ascending order, according to the natural ordering.
|
DoubleMatrix1D |
Sorting.sort(DoubleMatrix1D vector,
DoubleComparator c)
Sorts the vector into ascending order, according to the order induced by the specified comparator.
|
static DoubleMatrix1D |
Statistic.viewSample(DoubleMatrix1D matrix,
double fraction,
RandomEngine randomGenerator)
Constructs and returns a sampling view with a size of round(matrix.size() * fraction).
|
Modifier and Type | Method and Description |
---|---|
static DoubleMatrix1D |
Transform.abs(DoubleMatrix1D A)
Deprecated.
A[i] = Math.abs(A[i]).
|
double |
Statistic.VectorVectorFunction.apply(DoubleMatrix1D x,
DoubleMatrix1D y)
Applies a function to two argument vectors.
|
int |
DoubleMatrix1DComparator.compare(DoubleMatrix1D o1,
DoubleMatrix1D o2)
Compares its two arguments for order.
|
static DoubleMatrix1D |
Transform.div(DoubleMatrix1D A,
double s)
Deprecated.
A = A / s <=> A[i] = A[i] / s.
|
static DoubleMatrix1D |
Transform.div(DoubleMatrix1D A,
DoubleMatrix1D B)
Deprecated.
A = A / B <=> A[i] = A[i] / B[i].
|
protected String |
Formatter.form(DoubleMatrix1D matrix,
int index,
Former formatter)
Converts a given cell to a String; no alignment considered.
|
static DoubleMatrix1D |
Transform.minus(DoubleMatrix1D A,
double s)
Deprecated.
A = A - s <=> A[i] = A[i] - s.
|
static DoubleMatrix1D |
Transform.minus(DoubleMatrix1D A,
DoubleMatrix1D B)
Deprecated.
A = A - B <=> A[i] = A[i] - B[i].
|
static DoubleMatrix1D |
Transform.minusMult(DoubleMatrix1D A,
DoubleMatrix1D B,
double s)
Deprecated.
A = A - B*s <=> A[i] = A[i] - B[i]*s.
|
static DoubleMatrix1D |
Transform.mult(DoubleMatrix1D A,
double s)
Deprecated.
A = A * s <=> A[i] = A[i] * s.
|
static DoubleMatrix1D |
Transform.mult(DoubleMatrix1D A,
DoubleMatrix1D B)
Deprecated.
A = A * B <=> A[i] = A[i] * B[i].
|
static DoubleMatrix1D |
Transform.negate(DoubleMatrix1D A)
Deprecated.
A = -A <=> A[i] = -A[i] for all cells.
|
static DoubleMatrix1D |
Transform.plus(DoubleMatrix1D A,
double s)
Deprecated.
A = A + s <=> A[i] = A[i] + s.
|
static DoubleMatrix1D |
Transform.plus(DoubleMatrix1D A,
DoubleMatrix1D B)
Deprecated.
A = A + B <=> A[i] = A[i] + B[i].
|
static DoubleMatrix1D |
Transform.plusMult(DoubleMatrix1D A,
DoubleMatrix1D B,
double s)
Deprecated.
A = A + B*s<=> A[i] = A[i] + B[i]*s.
|
static DoubleMatrix1D |
Transform.pow(DoubleMatrix1D A,
double s)
Deprecated.
A = As <=> A[i] = Math.pow(A[i], s).
|
static DoubleMatrix1D |
Transform.pow(DoubleMatrix1D A,
DoubleMatrix1D B)
Deprecated.
A = AB <=> A[i] = Math.pow(A[i], B[i]).
|
DoubleMatrix1D |
Sorting.sort(DoubleMatrix1D vector)
Sorts the vector into ascending order, according to the natural ordering.
|
DoubleMatrix1D |
Sorting.sort(DoubleMatrix1D vector,
DoubleComparator c)
Sorts the vector into ascending order, according to the order induced by the specified comparator.
|
String |
Formatter.toSourceCode(DoubleMatrix1D matrix)
Returns a string s such that Object[] m = s is a legal Java statement.
|
String |
Formatter.toString(DoubleMatrix1D matrix)
Returns a string representation of the given matrix.
|
static DoubleMatrix1D |
Statistic.viewSample(DoubleMatrix1D matrix,
double fraction,
RandomEngine randomGenerator)
Constructs and returns a sampling view with a size of round(matrix.size() * fraction).
|
Modifier and Type | Class and Description |
---|---|
class |
DenseDoubleMatrix1D
Dense 1-d matrix (aka vector) holding double elements.
|
class |
SparseDoubleMatrix1D
Sparse hashed 1-d matrix (aka vector) holding double elements.
|
Modifier and Type | Method and Description |
---|---|
DoubleMatrix1D |
DenseDoubleMatrix1D.assign(double value)
Sets all cells to the state specified by value.
|
DoubleMatrix1D |
SparseDoubleMatrix1D.assign(double value)
Sets all cells to the state specified by value.
|
DoubleMatrix1D |
DenseDoubleMatrix1D.assign(double[] values)
Sets all cells to the state specified by values.
|
DoubleMatrix1D |
DenseDoubleMatrix1D.assign(DoubleFunction function)
Assigns the result of a function to each cell; x[i] = function(x[i]).
|
DoubleMatrix1D |
DenseDoubleMatrix1D.assign(DoubleMatrix1D source)
Replaces all cell values of the receiver with the values of another matrix.
|
DoubleMatrix1D |
DenseDoubleMatrix1D.assign(DoubleMatrix1D y,
DoubleDoubleFunction function)
Assigns the result of a function to each cell; x[i] = function(x[i],y[i]).
|
DoubleMatrix1D |
DenseDoubleMatrix1D.like(int size)
Construct and returns a new empty matrix of the same dynamic type as the receiver, having the specified size.
|
DoubleMatrix1D |
SparseDoubleMatrix1D.like(int size)
Construct and returns a new empty matrix of the same dynamic type as the receiver, having the specified size.
|
DoubleMatrix1D |
DenseDoubleMatrix2D.like1D(int size)
Construct and returns a new 1-d matrix of the corresponding dynamic type, entirelly independent of the receiver.
|
DoubleMatrix1D |
RCDoubleMatrix2D.like1D(int size)
Construct and returns a new 1-d matrix of the corresponding dynamic type, entirelly independent of the receiver.
|
DoubleMatrix1D |
SparseDoubleMatrix2D.like1D(int size)
Construct and returns a new 1-d matrix of the corresponding dynamic type, entirelly independent of the receiver.
|
protected DoubleMatrix1D |
DenseDoubleMatrix2D.like1D(int size,
int zero,
int stride)
Construct and returns a new 1-d matrix of the corresponding dynamic type, sharing the same cells.
|
protected DoubleMatrix1D |
SparseDoubleMatrix2D.like1D(int size,
int offset,
int stride)
Construct and returns a new 1-d matrix of the corresponding dynamic type, sharing the same cells.
|
protected DoubleMatrix1D |
DenseDoubleMatrix1D.viewSelectionLike(int[] offsets)
Construct and returns a new selection view.
|
protected DoubleMatrix1D |
SparseDoubleMatrix1D.viewSelectionLike(int[] offsets)
Construct and returns a new selection view.
|
DoubleMatrix1D |
DenseDoubleMatrix2D.zMult(DoubleMatrix1D y,
DoubleMatrix1D z,
double alpha,
double beta,
boolean transposeA) |
DoubleMatrix1D |
RCDoubleMatrix2D.zMult(DoubleMatrix1D y,
DoubleMatrix1D z,
double alpha,
double beta,
boolean transposeA) |
DoubleMatrix1D |
SparseDoubleMatrix2D.zMult(DoubleMatrix1D y,
DoubleMatrix1D z,
double alpha,
double beta,
boolean transposeA) |
Modifier and Type | Method and Description |
---|---|
DoubleMatrix1D |
DenseDoubleMatrix1D.assign(DoubleMatrix1D source)
Replaces all cell values of the receiver with the values of another matrix.
|
DoubleMatrix1D |
DenseDoubleMatrix1D.assign(DoubleMatrix1D y,
DoubleDoubleFunction function)
Assigns the result of a function to each cell; x[i] = function(x[i],y[i]).
|
protected boolean |
DenseDoubleMatrix1D.haveSharedCellsRaw(DoubleMatrix1D other)
Returns true if both matrices share at least one identical cell.
|
protected boolean |
SparseDoubleMatrix1D.haveSharedCellsRaw(DoubleMatrix1D other)
Returns true if both matrices share at least one identical cell.
|
void |
DenseDoubleMatrix1D.swap(DoubleMatrix1D other)
Swaps each element this[i] with other[i].
|
double |
DenseDoubleMatrix1D.zDotProduct(DoubleMatrix1D y,
int from,
int length)
Returns the dot product of two vectors x and y, which is Sum(x[i]*y[i]).
|
DoubleMatrix1D |
DenseDoubleMatrix2D.zMult(DoubleMatrix1D y,
DoubleMatrix1D z,
double alpha,
double beta,
boolean transposeA) |
DoubleMatrix1D |
RCDoubleMatrix2D.zMult(DoubleMatrix1D y,
DoubleMatrix1D z,
double alpha,
double beta,
boolean transposeA) |
DoubleMatrix1D |
SparseDoubleMatrix2D.zMult(DoubleMatrix1D y,
DoubleMatrix1D z,
double alpha,
double beta,
boolean transposeA) |
Modifier and Type | Method and Description |
---|---|
DoubleMatrix1D |
EigenvalueDecomposition.getImagEigenvalues()
Returns the imaginary parts of the eigenvalues.
|
DoubleMatrix1D |
EigenvalueDecomposition.getRealEigenvalues()
Returns the real parts of the eigenvalues.
|
DoubleMatrix1D |
Algebra.mult(DoubleMatrix2D A,
DoubleMatrix1D y)
Linear algebraic matrix-vector multiplication; z = A * y.
|
DoubleMatrix1D |
Algebra.permute(DoubleMatrix1D A,
int[] indexes,
double[] work)
Modifies the given vector A such that it is permuted as specified; Useful for pivoting.
|
Modifier and Type | Method and Description |
---|---|
double |
Blas.dasum(DoubleMatrix1D x)
Returns the sum of absolute values; |x[0]| + |x[1]| + ...
|
double |
SeqBlas.dasum(DoubleMatrix1D x) |
double |
SmpBlas.dasum(DoubleMatrix1D x) |
void |
Blas.daxpy(double alpha,
DoubleMatrix1D x,
DoubleMatrix1D y)
Combined vector scaling; y = y + alpha*x.
|
void |
SeqBlas.daxpy(double alpha,
DoubleMatrix1D x,
DoubleMatrix1D y) |
void |
SmpBlas.daxpy(double alpha,
DoubleMatrix1D x,
DoubleMatrix1D y) |
void |
Blas.dcopy(DoubleMatrix1D x,
DoubleMatrix1D y)
Vector assignment (copying); y = x.
|
void |
SeqBlas.dcopy(DoubleMatrix1D x,
DoubleMatrix1D y) |
void |
SmpBlas.dcopy(DoubleMatrix1D x,
DoubleMatrix1D y) |
double |
Blas.ddot(DoubleMatrix1D x,
DoubleMatrix1D y)
Returns the dot product of two vectors x and y, which is Sum(x[i]*y[i]).
|
double |
SeqBlas.ddot(DoubleMatrix1D x,
DoubleMatrix1D y) |
double |
SmpBlas.ddot(DoubleMatrix1D x,
DoubleMatrix1D y) |
void |
Blas.dgemv(boolean transposeA,
double alpha,
DoubleMatrix2D A,
DoubleMatrix1D x,
double beta,
DoubleMatrix1D y)
Generalized linear algebraic matrix-vector multiply; y = alpha*A*x + beta*y.
|
void |
SeqBlas.dgemv(boolean transposeA,
double alpha,
DoubleMatrix2D A,
DoubleMatrix1D x,
double beta,
DoubleMatrix1D y) |
void |
SmpBlas.dgemv(boolean transposeA,
double alpha,
DoubleMatrix2D A,
DoubleMatrix1D x,
double beta,
DoubleMatrix1D y) |
void |
Blas.dger(double alpha,
DoubleMatrix1D x,
DoubleMatrix1D y,
DoubleMatrix2D A)
Performs a rank 1 update; A = A + alpha*x*y'.
|
void |
SeqBlas.dger(double alpha,
DoubleMatrix1D x,
DoubleMatrix1D y,
DoubleMatrix2D A) |
void |
SmpBlas.dger(double alpha,
DoubleMatrix1D x,
DoubleMatrix1D y,
DoubleMatrix2D A) |
double |
Blas.dnrm2(DoubleMatrix1D x)
Return the 2-norm; sqrt(x[0]^2 + x[1]^2 + ...).
|
double |
SeqBlas.dnrm2(DoubleMatrix1D x) |
double |
SmpBlas.dnrm2(DoubleMatrix1D x) |
void |
Blas.drot(DoubleMatrix1D x,
DoubleMatrix1D y,
double c,
double s)
Applies a givens plane rotation to (x,y); x = c*x + s*y; y = c*y - s*x.
|
void |
SeqBlas.drot(DoubleMatrix1D x,
DoubleMatrix1D y,
double c,
double s) |
void |
SmpBlas.drot(DoubleMatrix1D x,
DoubleMatrix1D y,
double c,
double s) |
void |
Blas.dscal(double alpha,
DoubleMatrix1D x)
Vector scaling; x = alpha*x.
|
void |
SeqBlas.dscal(double alpha,
DoubleMatrix1D x) |
void |
SmpBlas.dscal(double alpha,
DoubleMatrix1D x) |
void |
Blas.dswap(DoubleMatrix1D x,
DoubleMatrix1D y)
Swaps the elements of two vectors; y <==> x.
|
void |
SeqBlas.dswap(DoubleMatrix1D x,
DoubleMatrix1D y) |
void |
SmpBlas.dswap(DoubleMatrix1D x,
DoubleMatrix1D y) |
void |
Blas.dsymv(boolean isUpperTriangular,
double alpha,
DoubleMatrix2D A,
DoubleMatrix1D x,
double beta,
DoubleMatrix1D y)
Symmetric matrix-vector multiplication; y = alpha*A*x + beta*y.
|
void |
SeqBlas.dsymv(boolean isUpperTriangular,
double alpha,
DoubleMatrix2D A,
DoubleMatrix1D x,
double beta,
DoubleMatrix1D y) |
void |
SmpBlas.dsymv(boolean isUpperTriangular,
double alpha,
DoubleMatrix2D A,
DoubleMatrix1D x,
double beta,
DoubleMatrix1D y) |
void |
Blas.dtrmv(boolean isUpperTriangular,
boolean transposeA,
boolean isUnitTriangular,
DoubleMatrix2D A,
DoubleMatrix1D x)
Triangular matrix-vector multiplication; x = A*x or x = A'*x.
|
void |
SeqBlas.dtrmv(boolean isUpperTriangular,
boolean transposeA,
boolean isUnitTriangular,
DoubleMatrix2D A,
DoubleMatrix1D x) |
void |
SmpBlas.dtrmv(boolean isUpperTriangular,
boolean transposeA,
boolean isUnitTriangular,
DoubleMatrix2D A,
DoubleMatrix1D x) |
boolean |
Property.equals(DoubleMatrix1D A,
double value)
Returns whether all cells of the given matrix A are equal to the given value.
|
boolean |
Property.equals(DoubleMatrix1D A,
DoubleMatrix1D B)
Returns whether both given matrices A and B are equal.
|
int |
Blas.idamax(DoubleMatrix1D x)
Returns the index of largest absolute value; i such that |x[i]| == max(|x[0]|,|x[1]|,...)..
|
int |
SeqBlas.idamax(DoubleMatrix1D x) |
int |
SmpBlas.idamax(DoubleMatrix1D x) |
double |
Algebra.mult(DoubleMatrix1D x,
DoubleMatrix1D y)
Inner product of two vectors; Sum(x[i] * y[i]).
|
DoubleMatrix1D |
Algebra.mult(DoubleMatrix2D A,
DoubleMatrix1D y)
Linear algebraic matrix-vector multiplication; z = A * y.
|
DoubleMatrix2D |
Algebra.multOuter(DoubleMatrix1D x,
DoubleMatrix1D y,
DoubleMatrix2D A)
Outer product of two vectors; Sets A[i,j] = x[i] * y[j].
|
double |
Algebra.norm1(DoubleMatrix1D x)
Returns the one-norm of vector x, which is Sum(abs(x[i])).
|
double |
Algebra.norm2(DoubleMatrix1D x)
Returns the two-norm (aka euclidean norm) of vector x; equivalent to mult(x,x).
|
double |
Algebra.normInfinity(DoubleMatrix1D x)
Returns the infinity norm of vector x, which is Max(abs(x[i])).
|
DoubleMatrix1D |
Algebra.permute(DoubleMatrix1D A,
int[] indexes,
double[] work)
Modifies the given vector A such that it is permuted as specified; Useful for pivoting.
|
void |
LUDecompositionQuick.solve(DoubleMatrix1D B)
Solves the system of equations A*X = B (in-place).
|
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.