|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DoubleMatrix1D | |
---|---|
org.apache.mahout.math.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. |
org.apache.mahout.math.matrix.impl | Matrix implementations; You normally need not look at this package, because all concrete classes implement the
abstract interfaces of org.apache.mahout.math.matrix , without subsetting or supersetting. |
org.apache.mahout.math.matrix.linalg | Linear Algebraic matrix computations operating on DoubleMatrix2D
and DoubleMatrix1D . |
Uses of DoubleMatrix1D in org.apache.mahout.math.matrix |
---|
Methods in org.apache.mahout.math.matrix that return DoubleMatrix1D | |
---|---|
DoubleMatrix1D |
DoubleFactory1D.append(DoubleMatrix1D A,
DoubleMatrix1D B)
Deprecated. C = A||B; Constructs a new matrix which is the concatenation of two other matrices. |
DoubleMatrix1D |
DoubleFactory1D.ascending(int size)
Deprecated. Constructs a matrix with cells having ascending values. |
DoubleMatrix1D |
DoubleMatrix1D.assign(double value)
Deprecated. Sets all cells to the state specified by value. |
DoubleMatrix1D |
DoubleMatrix1D.assign(double[] values)
Deprecated. Sets all cells to the state specified by values. |
DoubleMatrix1D |
DoubleMatrix1D.assign(DoubleMatrix1D other)
Deprecated. Replaces all cell values of the receiver with the values of another matrix. |
DoubleMatrix1D |
DoubleMatrix1D.assign(DoubleMatrix1D y,
BinaryFunction function)
Deprecated. Assigns the result of a function to each cell; x[i] = function(x[i],y[i]). |
DoubleMatrix1D |
DoubleMatrix1D.assign(DoubleMatrix1D y,
BinaryFunction function,
org.apache.mahout.math.list.IntArrayList nonZeroIndexes)
Deprecated. Assigns the result of a function to each cell; x[i] = function(x[i],y[i]). |
DoubleMatrix1D |
DoubleMatrix1D.assign(UnaryFunction function)
Deprecated. Assigns the result of a function to each cell; x[i] = function(x[i]). |
DoubleMatrix1D |
DoubleMatrix1D.copy()
Deprecated. Constructs and returns a deep copy of the receiver. |
DoubleMatrix1D |
DoubleFactory1D.descending(int size)
Deprecated. Constructs a matrix with cells having descending values. |
DoubleMatrix1D |
DoubleFactory2D.diagonal(DoubleMatrix2D A)
Deprecated. Constructs a new vector consisting of the diagonal elements of A. |
protected DoubleMatrix1D |
DoubleMatrix1D.getContent()
Deprecated. Returns the content of this matrix if it is a wrapper; or this otherwise. |
DoubleMatrix1D |
DoubleMatrix1D.like()
Deprecated. 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)
Deprecated. 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)
Deprecated. 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)
Deprecated. Construct and returns a new 1-d matrix of the corresponding dynamic type, sharing the same cells. |
DoubleMatrix1D |
DoubleFactory1D.make(org.apache.mahout.math.list.AbstractDoubleList values)
Deprecated. Constructs a matrix from the values of the given list. |
DoubleMatrix1D |
DoubleFactory1D.make(double[] values)
Deprecated. Constructs a matrix with the given cell values. |
DoubleMatrix1D |
DoubleFactory1D.make(DoubleMatrix1D[] parts)
Deprecated. Constructs a matrix which is the concatenation of all given parts. |
DoubleMatrix1D |
DoubleFactory1D.make(int size)
Deprecated. Constructs a matrix with the given shape, each cell initialized with zero. |
DoubleMatrix1D |
DoubleFactory1D.make(int size,
double initialValue)
Deprecated. Constructs a matrix with the given shape, each cell initialized with the given value. |
protected DoubleMatrix1D |
DoubleFactory2D.make1D(int size)
Deprecated. Constructs a 1d matrix of the right dynamic type. |
DoubleMatrix1D |
DoubleFactory1D.random(int size)
Deprecated. Constructs a matrix with uniformly distributed values in (0,1) (exclusive). |
DoubleMatrix1D |
DoubleFactory1D.repeat(DoubleMatrix1D A,
int repeat)
Deprecated. C = A||A||..||A; Constructs a new matrix which is concatenated repeat times. |
DoubleMatrix1D |
DoubleFactory1D.sample(int size,
double value,
double nonZeroFraction)
Deprecated. Constructs a randomly sampled matrix with the given shape. |
protected DoubleMatrix1D |
DoubleMatrix1D.view()
Deprecated. Constructs and returns a new view equal to the receiver. |
DoubleMatrix1D |
DoubleMatrix2D.viewColumn(int column)
Deprecated. Constructs and returns a new slice view representing the rows of the given column. |
DoubleMatrix1D |
DoubleMatrix1D.viewFlip()
Deprecated. Constructs and returns a new flip view. |
DoubleMatrix1D |
DoubleMatrix1D.viewPart(int index,
int width)
Deprecated. Constructs and returns a new sub-range view that is a width sub matrix starting at index. |
DoubleMatrix1D |
DoubleMatrix2D.viewRow(int row)
Deprecated. Constructs and returns a new slice view representing the columns of the given row. |
DoubleMatrix1D |
DoubleMatrix1D.viewSelection(org.apache.mahout.math.function.DoubleProcedure condition)
Deprecated. Constructs and returns a new selection view that is a matrix holding the cells matching the given condition. |
DoubleMatrix1D |
DoubleMatrix1D.viewSelection(int[] indexes)
Deprecated. Constructs and returns a new selection view that is a matrix holding the indicated cells. |
protected abstract DoubleMatrix1D |
DoubleMatrix1D.viewSelectionLike(int[] offsets)
Deprecated. Construct and returns a new selection view. |
DoubleMatrix1D |
DoubleMatrix1D.viewStrides(int stride)
Deprecated. 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)
Deprecated. 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)
Deprecated. Linear algebraic matrix-vector multiplication; z = alpha * A * y + beta*z. |
Methods in org.apache.mahout.math.matrix with parameters of type DoubleMatrix1D | |
---|---|
double |
DoubleMatrix1D.aggregate(DoubleMatrix1D other,
BinaryFunction aggr,
BinaryFunction f)
Deprecated. Applies a function to each corresponding cell of two matrices and aggregates the results. |
DoubleMatrix1D |
DoubleFactory1D.append(DoubleMatrix1D A,
DoubleMatrix1D B)
Deprecated. C = A||B; Constructs a new matrix which is the concatenation of two other matrices. |
boolean |
DoubleMatrix1DProcedure.apply(DoubleMatrix1D element)
Deprecated. Applies a procedure to an argument. |
DoubleMatrix1D |
DoubleMatrix1D.assign(DoubleMatrix1D other)
Deprecated. Replaces all cell values of the receiver with the values of another matrix. |
DoubleMatrix1D |
DoubleMatrix1D.assign(DoubleMatrix1D y,
BinaryFunction function)
Deprecated. Assigns the result of a function to each cell; x[i] = function(x[i],y[i]). |
DoubleMatrix1D |
DoubleMatrix1D.assign(DoubleMatrix1D y,
BinaryFunction function,
org.apache.mahout.math.list.IntArrayList nonZeroIndexes)
Deprecated. Assigns the result of a function to each cell; x[i] = function(x[i],y[i]). |
DoubleMatrix2D |
DoubleFactory2D.diagonal(DoubleMatrix1D vector)
Deprecated. Constructs a new diagonal matrix whose diagonal elements are the elements of vector. |
protected boolean |
DoubleMatrix1D.haveSharedCells(DoubleMatrix1D other)
Deprecated. Returns true if both matrices share at least one identical cell. |
protected boolean |
DoubleMatrix1D.haveSharedCellsRaw(DoubleMatrix1D other)
Deprecated. Returns true if both matrices share at least one identical cell. |
DoubleMatrix1D |
DoubleFactory1D.make(DoubleMatrix1D[] parts)
Deprecated. Constructs a matrix which is the concatenation of all given parts. |
DoubleMatrix1D |
DoubleFactory1D.repeat(DoubleMatrix1D A,
int repeat)
Deprecated. C = A||A||..||A; Constructs a new matrix which is concatenated repeat times. |
void |
DoubleMatrix1D.swap(DoubleMatrix1D other)
Deprecated. Swaps each element this[i] with other[i]. |
org.apache.mahout.math.list.DoubleArrayList |
DoubleFactory1D.toList(DoubleMatrix1D values)
Deprecated. Constructs a list from the given matrix. |
double |
DoubleMatrix1D.zDotProduct(DoubleMatrix1D y)
Deprecated. Returns the dot product of two vectors x and y, which is Sum(x[i]*y[i]). |
protected double |
DoubleMatrix1D.zDotProduct(DoubleMatrix1D y,
org.apache.mahout.math.list.IntArrayList nonZeroIndexes)
Deprecated. 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)
Deprecated. 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,
org.apache.mahout.math.list.IntArrayList nonZeroIndexes)
Deprecated. Returns the dot product of two vectors x and y, which is Sum(x[i]*y[i]). |
DoubleMatrix1D |
DoubleMatrix2D.zMult(DoubleMatrix1D y,
DoubleMatrix1D z)
Deprecated. 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)
Deprecated. Linear algebraic matrix-vector multiplication; z = alpha * A * y + beta*z. |
Uses of DoubleMatrix1D in org.apache.mahout.math.matrix.impl |
---|
Subclasses of DoubleMatrix1D in org.apache.mahout.math.matrix.impl | |
---|---|
class |
DenseDoubleMatrix1D
Deprecated. until unit tests are in place. Until this time, this class/interface is unsupported. |
class |
SparseDoubleMatrix1D
Deprecated. until unit tests are in place. Until this time, this class/interface is unsupported. |
Methods in org.apache.mahout.math.matrix.impl that return DoubleMatrix1D | |
---|---|
DoubleMatrix1D |
SparseDoubleMatrix1D.assign(double value)
Deprecated. Sets all cells to the state specified by value. |
DoubleMatrix1D |
DenseDoubleMatrix1D.assign(double value)
Deprecated. Sets all cells to the state specified by value. |
DoubleMatrix1D |
DenseDoubleMatrix1D.assign(double[] values)
Deprecated. Sets all cells to the state specified by values. |
DoubleMatrix1D |
DenseDoubleMatrix1D.assign(DoubleMatrix1D source)
Deprecated. Replaces all cell values of the receiver with the values of another matrix. |
DoubleMatrix1D |
DenseDoubleMatrix1D.assign(DoubleMatrix1D y,
BinaryFunction function)
Deprecated. Assigns the result of a function to each cell; x[i] = function(x[i],y[i]). |
DoubleMatrix1D |
DenseDoubleMatrix1D.assign(UnaryFunction function)
Deprecated. Assigns the result of a function to each cell; x[i] = function(x[i]). |
DoubleMatrix1D |
SparseDoubleMatrix1D.like(int size)
Deprecated. Construct and returns a new empty matrix of the same dynamic type as the receiver, having the specified size. |
DoubleMatrix1D |
DenseDoubleMatrix1D.like(int size)
Deprecated. Construct and returns a new empty matrix of the same dynamic type as the receiver, having the specified size. |
DoubleMatrix1D |
SparseDoubleMatrix2D.like1D(int size)
Deprecated. Construct and returns a new 1-d matrix of the corresponding dynamic type, entirelly independent of the receiver. |
DoubleMatrix1D |
DenseDoubleMatrix2D.like1D(int size)
Deprecated. Construct and returns a new 1-d matrix of the corresponding dynamic type, entirelly independent of the receiver. |
protected DoubleMatrix1D |
SparseDoubleMatrix2D.like1D(int size,
int offset,
int stride)
Deprecated. Construct and returns a new 1-d matrix of the corresponding dynamic type, sharing the same cells. |
protected DoubleMatrix1D |
DenseDoubleMatrix2D.like1D(int size,
int zero,
int stride)
Deprecated. Construct and returns a new 1-d matrix of the corresponding dynamic type, sharing the same cells. |
protected DoubleMatrix1D |
SparseDoubleMatrix1D.viewSelectionLike(int[] offsets)
Deprecated. Construct and returns a new selection view. |
protected DoubleMatrix1D |
DenseDoubleMatrix1D.viewSelectionLike(int[] offsets)
Deprecated. Construct and returns a new selection view. |
DoubleMatrix1D |
SparseDoubleMatrix2D.zMult(DoubleMatrix1D y,
DoubleMatrix1D z,
double alpha,
double beta,
boolean transposeA)
Deprecated. |
DoubleMatrix1D |
DenseDoubleMatrix2D.zMult(DoubleMatrix1D y,
DoubleMatrix1D z,
double alpha,
double beta,
boolean transposeA)
Deprecated. |
Methods in org.apache.mahout.math.matrix.impl with parameters of type DoubleMatrix1D | |
---|---|
DoubleMatrix1D |
DenseDoubleMatrix1D.assign(DoubleMatrix1D source)
Deprecated. Replaces all cell values of the receiver with the values of another matrix. |
DoubleMatrix1D |
DenseDoubleMatrix1D.assign(DoubleMatrix1D y,
BinaryFunction function)
Deprecated. Assigns the result of a function to each cell; x[i] = function(x[i],y[i]). |
protected boolean |
SparseDoubleMatrix1D.haveSharedCellsRaw(DoubleMatrix1D other)
Deprecated. Returns true if both matrices share at least one identical cell. |
protected boolean |
DenseDoubleMatrix1D.haveSharedCellsRaw(DoubleMatrix1D other)
Deprecated. Returns true if both matrices share at least one identical cell. |
void |
DenseDoubleMatrix1D.swap(DoubleMatrix1D other)
Deprecated. Swaps each element this[i] with other[i]. |
double |
DenseDoubleMatrix1D.zDotProduct(DoubleMatrix1D y,
int from,
int length)
Deprecated. Returns the dot product of two vectors x and y, which is Sum(x[i]*y[i]). |
DoubleMatrix1D |
SparseDoubleMatrix2D.zMult(DoubleMatrix1D y,
DoubleMatrix1D z,
double alpha,
double beta,
boolean transposeA)
Deprecated. |
DoubleMatrix1D |
DenseDoubleMatrix2D.zMult(DoubleMatrix1D y,
DoubleMatrix1D z,
double alpha,
double beta,
boolean transposeA)
Deprecated. |
Uses of DoubleMatrix1D in org.apache.mahout.math.matrix.linalg |
---|
Methods in org.apache.mahout.math.matrix.linalg that return DoubleMatrix1D | |
---|---|
DoubleMatrix1D |
EigenvalueDecomposition.getImagEigenvalues()
Deprecated. Returns the imaginary parts of the eigenvalues. |
DoubleMatrix1D |
EigenvalueDecomposition.getRealEigenvalues()
Deprecated. Returns the real parts of the eigenvalues. |
static DoubleMatrix1D |
Algebra.permute(DoubleMatrix1D A,
int[] indexes,
double[] work)
Deprecated. Modifies the given vector A such that it is permuted as specified; Useful for pivoting. |
Methods in org.apache.mahout.math.matrix.linalg with parameters of type DoubleMatrix1D | |
---|---|
boolean |
Property.equals(DoubleMatrix1D a,
double value)
Deprecated. Returns whether all cells of the given matrix A are equal to the given value. |
boolean |
Property.equals(DoubleMatrix1D a,
DoubleMatrix1D b)
Deprecated. Returns whether both given matrices A and B are equal. |
static DoubleMatrix1D |
Algebra.permute(DoubleMatrix1D A,
int[] indexes,
double[] work)
Deprecated. Modifies the given vector A such that it is permuted as specified; Useful for pivoting. |
void |
LUDecompositionQuick.solve(DoubleMatrix1D B)
Deprecated. Solves the system of equations A*X = B (in-place). |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |