|
Parallel Colt 0.9.4 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use LongMatrix1D | |
---|---|
cern.colt.matrix.tlong | Matrix interfaces and factories holding elements of long data type. |
cern.colt.matrix.tlong.algo | Algorithms operating on long integer matrices. |
cern.colt.matrix.tlong.impl | Efficient and flexible dense and sparse 1, 2 and 3-dimensional matrices holding elements of long data type. |
Uses of LongMatrix1D in cern.colt.matrix.tlong |
---|
Methods in cern.colt.matrix.tlong that return LongMatrix1D | |
---|---|
LongMatrix1D |
LongFactory1D.append(LongMatrix1D A,
LongMatrix1D B)
C = A||B; Constructs a new matrix which is the concatenation of two other matrices. |
LongMatrix1D |
LongFactory1D.ascending(int size)
Constructs a matrix with cells having ascending values. |
LongMatrix1D |
LongMatrix1D.assign(int[] values)
Sets all cells to the state specified by values. |
LongMatrix1D |
LongMatrix1D.assign(long value)
Sets all cells to the state specified by value. |
LongMatrix1D |
LongMatrix1D.assign(long[] values)
Sets all cells to the state specified by values. |
LongMatrix1D |
LongMatrix1D.assign(LongFunction f)
Assigns the result of a function to each cell; x[i] = function(x[i]). |
LongMatrix1D |
LongMatrix1D.assign(LongMatrix1D other)
Replaces all cell values of the receiver with the values of another matrix. |
LongMatrix1D |
LongMatrix1D.assign(LongMatrix1D y,
LongLongFunction function)
Assigns the result of a function to each cell; x[i] = function(x[i],y[i]). |
LongMatrix1D |
LongMatrix1D.assign(LongMatrix1D y,
LongLongFunction function,
IntArrayList nonZeroIndexes)
Assigns the result of a function to each cell; x[i] = function(x[i],y[i]). |
LongMatrix1D |
LongMatrix1D.assign(LongProcedure cond,
long value)
Assigns a value to all cells that satisfy a condition. |
LongMatrix1D |
LongMatrix1D.assign(LongProcedure cond,
LongFunction f)
Assigns the result of a function to all cells that satisfy a condition. |
LongMatrix1D |
LongMatrix1D.copy()
Constructs and returns a deep copy of the receiver. |
LongMatrix1D |
LongFactory1D.descending(int size)
Constructs a matrix with cells having descending values. |
LongMatrix1D |
LongFactory2D.diagonal(LongMatrix2D A)
Constructs a new vector consisting of the diagonal elements of A . |
LongMatrix1D |
LongMatrix1D.like()
Construct and returns a new empty matrix of the same dynamic type as the receiver, having the same size. |
abstract LongMatrix1D |
LongMatrix1D.like(int size)
Construct and returns a new empty matrix of the same dynamic type as the receiver, having the specified size. |
abstract LongMatrix1D |
LongMatrix2D.like1D(int size)
Construct and returns a new 1-d matrix of the corresponding dynamic type, entirelly independent of the receiver. |
LongMatrix1D |
LongFactory1D.make(AbstractLongList values)
Constructs a matrix from the values of the given list. |
LongMatrix1D |
LongFactory1D.make(int size)
Constructs a matrix with the given shape, each cell initialized with zero. |
LongMatrix1D |
LongFactory1D.make(int size,
long initialValue)
Constructs a matrix with the given shape, each cell initialized with the given value. |
LongMatrix1D |
LongFactory1D.make(long[] values)
Constructs a matrix with the given cell values. |
LongMatrix1D |
LongFactory1D.make(LongMatrix1D[] parts)
Constructs a matrix which is the concatenation of all given parts. |
LongMatrix1D |
LongFactory1D.random(int size)
Constructs a matrix with uniformly distributed values in (0,1) (exclusive). |
LongMatrix1D |
LongFactory1D.repeat(LongMatrix1D A,
int repeat)
C = A||A||..||A; Constructs a new matrix which is concatenated repeat times. |
LongMatrix1D |
LongFactory1D.sample(int size,
int value,
int nonZeroFraction)
Constructs a randomly sampled matrix with the given shape. |
abstract LongMatrix1D |
LongMatrix3D.vectorize()
Returns a vector obtained by stacking the columns of each slice of the matrix on top of one another. |
abstract LongMatrix1D |
LongMatrix2D.vectorize()
Returns a vector obtained by stacking the columns of the matrix on top of one another. |
LongMatrix1D |
LongMatrix2D.viewColumn(int column)
Constructs and returns a new slice view representing the rows of the given column. |
LongMatrix1D |
LongMatrix1D.viewFlip()
Constructs and returns a new flip view. |
LongMatrix1D |
LongMatrix1D.viewPart(int index,
int width)
Constructs and returns a new sub-range view that is a width sub matrix starting at index. |
LongMatrix1D |
LongMatrix2D.viewRow(int row)
Constructs and returns a new slice view representing the columns of the given row. |
LongMatrix1D |
LongMatrix1D.viewSelection(int[] indexes)
Constructs and returns a new selection view that is a matrix holding the indicated cells. |
LongMatrix1D |
LongMatrix1D.viewSelection(LongProcedure condition)
Constructs and returns a new selection view that is a matrix holding the cells matching the given condition. |
LongMatrix1D |
LongMatrix1D.viewSorted()
Sorts the vector into ascending order, according to the natural ordering. |
LongMatrix1D |
LongMatrix1D.viewStrides(int stride)
Constructs and returns a new stride view which is a sub matrix consisting of every i-th cell. |
LongMatrix1D |
LongMatrix2D.zMult(LongMatrix1D y,
LongMatrix1D z)
Linear algebraic matrix-vector multiplication; z = A * y; Equivalent to return A.zMult(y,z,1,0); |
LongMatrix1D |
LongMatrix2D.zMult(LongMatrix1D y,
LongMatrix1D z,
long alpha,
long beta,
boolean transposeA)
Linear algebraic matrix-vector multiplication; z = alpha * A * y + beta*z. |
Methods in cern.colt.matrix.tlong with parameters of type LongMatrix1D | |
---|---|
long |
LongMatrix1D.aggregate(LongMatrix1D other,
LongLongFunction aggr,
LongLongFunction f)
Applies a function to each corresponding cell of two matrices and aggregates the results. |
LongMatrix1D |
LongFactory1D.append(LongMatrix1D A,
LongMatrix1D B)
C = A||B; Constructs a new matrix which is the concatenation of two other matrices. |
LongMatrix2D |
LongFactory2D.appendColumn(LongMatrix2D A,
LongMatrix1D b)
|
LongMatrix2D |
LongFactory2D.appendRow(LongMatrix2D A,
LongMatrix1D b)
|
boolean |
LongMatrix1DProcedure.apply(LongMatrix1D element)
Applies a procedure to an argument. |
LongMatrix1D |
LongMatrix1D.assign(LongMatrix1D other)
Replaces all cell values of the receiver with the values of another matrix. |
LongMatrix1D |
LongMatrix1D.assign(LongMatrix1D y,
LongLongFunction function)
Assigns the result of a function to each cell; x[i] = function(x[i],y[i]). |
LongMatrix1D |
LongMatrix1D.assign(LongMatrix1D y,
LongLongFunction function,
IntArrayList nonZeroIndexes)
Assigns the result of a function to each cell; x[i] = function(x[i],y[i]). |
LongMatrix2D |
LongFactory2D.diagonal(LongMatrix1D vector)
Constructs a new diagonal matrix whose diagonal elements are the elements of vector. |
LongMatrix1D |
LongFactory1D.make(LongMatrix1D[] parts)
Constructs a matrix which is the concatenation of all given parts. |
LongMatrix1D |
LongFactory1D.repeat(LongMatrix1D A,
int repeat)
C = A||A||..||A; Constructs a new matrix which is concatenated repeat times. |
LongMatrix2D |
LongFactory2D.reshape(LongMatrix1D a,
int rows,
int columns)
|
void |
LongMatrix1D.swap(LongMatrix1D other)
Swaps each element this[i] with other[i]. |
LongArrayList |
LongFactory1D.toList(LongMatrix1D values)
Constructs a list from the given matrix. |
long |
LongMatrix1D.zDotProduct(LongMatrix1D y)
Returns the dot product of two vectors x and y, which is Sum(x[i]*y[i]). |
long |
LongMatrix1D.zDotProduct(LongMatrix1D y,
int from,
int length)
Returns the dot product of two vectors x and y, which is Sum(x[i]*y[i]). |
long |
LongMatrix1D.zDotProduct(LongMatrix1D y,
int from,
int length,
IntArrayList nonZeroIndexes)
Returns the dot product of two vectors x and y, which is Sum(x[i]*y[i]). |
LongMatrix1D |
LongMatrix2D.zMult(LongMatrix1D y,
LongMatrix1D z)
Linear algebraic matrix-vector multiplication; z = A * y; Equivalent to return A.zMult(y,z,1,0); |
LongMatrix1D |
LongMatrix2D.zMult(LongMatrix1D y,
LongMatrix1D z,
long alpha,
long beta,
boolean transposeA)
Linear algebraic matrix-vector multiplication; z = alpha * A * y + beta*z. |
Uses of LongMatrix1D in cern.colt.matrix.tlong.algo |
---|
Methods in cern.colt.matrix.tlong.algo that return LongMatrix1D | |
---|---|
LongMatrix1D |
LongSorting.sort(LongMatrix1D vector)
Sorts the vector into ascending order, according to the natural ordering. |
LongMatrix1D |
LongSorting.sort(LongMatrix1D vector,
LongComparator c)
Sorts the vector into ascending order, according to the order induced by the specified comparator. |
Methods in cern.colt.matrix.tlong.algo with parameters of type LongMatrix1D | |
---|---|
int |
LongMatrix1DComparator.compare(LongMatrix1D o1,
LongMatrix1D o2)
Compares its two arguments for order. |
boolean |
LongProperty.equals(LongMatrix1D A,
long value)
Returns whether all cells of the given matrix A are equal to the given value. |
boolean |
LongProperty.equals(LongMatrix1D A,
LongMatrix1D B)
Returns whether both given matrices A and B are equal. |
LongMatrix1D |
LongSorting.sort(LongMatrix1D vector)
Sorts the vector into ascending order, according to the natural ordering. |
LongMatrix1D |
LongSorting.sort(LongMatrix1D vector,
LongComparator c)
Sorts the vector into ascending order, according to the order induced by the specified comparator. |
int[] |
LongSorting.sortIndex(LongMatrix1D vector)
Sorts indexes of the vector into ascending order. |
int[] |
LongSorting.sortIndex(LongMatrix1D vector,
LongComparator c)
Sorts indexes of the vector according to the comparator
c . |
String |
LongFormatter.toSourceCode(LongMatrix1D matrix)
Returns a string s such that Object[] m = s is a legal Java statement. |
String |
LongFormatter.toString(LongMatrix1D matrix)
Returns a string representation of the given matrix. |
Uses of LongMatrix1D in cern.colt.matrix.tlong.impl |
---|
Subclasses of LongMatrix1D in cern.colt.matrix.tlong.impl | |
---|---|
class |
DenseLongMatrix1D
Dense 1-d matrix (aka vector) holding int elements. |
class |
SparseLongMatrix1D
Sparse hashed 1-d matrix (aka vector) holding long elements. |
class |
WrapperLongMatrix1D
1-d matrix holding int elements; either a view wrapping another matrix or a matrix whose views are wrappers. |
Methods in cern.colt.matrix.tlong.impl that return LongMatrix1D | |
---|---|
LongMatrix1D |
DenseLongMatrix1D.assign(int[] values)
|
LongMatrix1D |
SparseLongMatrix1D.assign(long value)
Sets all cells to the state specified by value. |
LongMatrix1D |
DenseLongMatrix1D.assign(long value)
|
LongMatrix1D |
DenseLongMatrix1D.assign(long[] values)
|
LongMatrix1D |
DenseLongMatrix1D.assign(LongFunction function)
|
LongMatrix1D |
DenseLongMatrix1D.assign(LongMatrix1D source)
|
LongMatrix1D |
DenseLongMatrix1D.assign(LongMatrix1D y,
LongLongFunction function)
|
LongMatrix1D |
DenseLongMatrix1D.assign(LongProcedure cond,
long value)
|
LongMatrix1D |
DenseLongMatrix1D.assign(LongProcedure cond,
LongFunction function)
|
LongMatrix1D |
WrapperLongMatrix1D.like(int size)
Construct and returns a new empty matrix of the same dynamic type as the receiver, having the specified size. |
LongMatrix1D |
SparseLongMatrix1D.like(int size)
Construct and returns a new empty matrix of the same dynamic type as the receiver, having the specified size. |
LongMatrix1D |
DenseLongMatrix1D.like(int size)
|
LongMatrix1D |
WrapperLongMatrix2D.like1D(int size)
|
LongMatrix1D |
SparseRCLongMatrix2D.like1D(int size)
|
LongMatrix1D |
SparseLongMatrix2D.like1D(int size)
|
LongMatrix1D |
SparseCCLongMatrix2D.like1D(int size)
|
LongMatrix1D |
DiagonalLongMatrix2D.like1D(int size)
|
LongMatrix1D |
DenseLongMatrix2D.like1D(int size)
|
LongMatrix1D |
DenseLargeLongMatrix2D.like1D(int size)
|
LongMatrix1D |
DenseColumnLongMatrix2D.like1D(int size)
|
LongMatrix1D |
WrapperLongMatrix3D.vectorize()
|
LongMatrix1D |
WrapperLongMatrix2D.vectorize()
|
LongMatrix1D |
SparseLongMatrix3D.vectorize()
|
LongMatrix1D |
SparseLongMatrix2D.vectorize()
|
LongMatrix1D |
DenseLongMatrix3D.vectorize()
|
LongMatrix1D |
DenseLongMatrix2D.vectorize()
|
LongMatrix1D |
DenseColumnLongMatrix2D.vectorize()
|
LongMatrix1D |
WrapperLongMatrix2D.viewColumn(int column)
|
LongMatrix1D |
WrapperLongMatrix1D.viewFlip()
Constructs and returns a new flip view. |
LongMatrix1D |
WrapperLongMatrix1D.viewPart(int index,
int width)
Constructs and returns a new sub-range view that is a width sub matrix starting at index. |
LongMatrix1D |
WrapperLongMatrix2D.viewRow(int row)
|
LongMatrix1D |
WrapperLongMatrix1D.viewSelection(int[] indexes)
Constructs and returns a new selection view that is a matrix holding the indicated cells. |
LongMatrix1D |
WrapperLongMatrix1D.viewStrides(int _stride)
Constructs and returns a new stride view which is a sub matrix consisting of every i-th cell. |
LongMatrix1D |
SparseRCLongMatrix2D.zMult(LongMatrix1D y,
LongMatrix1D z,
long alpha,
long beta,
boolean transposeA)
|
LongMatrix1D |
SparseLongMatrix2D.zMult(LongMatrix1D y,
LongMatrix1D z,
long alpha,
long beta,
boolean transposeA)
|
LongMatrix1D |
SparseCCLongMatrix2D.zMult(LongMatrix1D y,
LongMatrix1D z,
long alpha,
long beta,
boolean transposeA)
|
LongMatrix1D |
DiagonalLongMatrix2D.zMult(LongMatrix1D y,
LongMatrix1D z,
long alpha,
long beta,
boolean transposeA)
|
LongMatrix1D |
DenseLongMatrix2D.zMult(LongMatrix1D y,
LongMatrix1D z,
long alpha,
long beta,
boolean transposeA)
|
Methods in cern.colt.matrix.tlong.impl with parameters of type LongMatrix1D | |
---|---|
long |
DenseLongMatrix1D.aggregate(LongMatrix1D other,
LongLongFunction aggr,
LongLongFunction f)
|
LongMatrix1D |
DenseLongMatrix1D.assign(LongMatrix1D source)
|
LongMatrix1D |
DenseLongMatrix1D.assign(LongMatrix1D y,
LongLongFunction function)
|
void |
DenseLongMatrix1D.swap(LongMatrix1D other)
|
long |
DenseLongMatrix1D.zDotProduct(LongMatrix1D y)
|
long |
DenseLongMatrix1D.zDotProduct(LongMatrix1D y,
int from,
int length)
|
LongMatrix1D |
SparseRCLongMatrix2D.zMult(LongMatrix1D y,
LongMatrix1D z,
long alpha,
long beta,
boolean transposeA)
|
LongMatrix1D |
SparseLongMatrix2D.zMult(LongMatrix1D y,
LongMatrix1D z,
long alpha,
long beta,
boolean transposeA)
|
LongMatrix1D |
SparseCCLongMatrix2D.zMult(LongMatrix1D y,
LongMatrix1D z,
long alpha,
long beta,
boolean transposeA)
|
LongMatrix1D |
DiagonalLongMatrix2D.zMult(LongMatrix1D y,
LongMatrix1D z,
long alpha,
long beta,
boolean transposeA)
|
LongMatrix1D |
DenseLongMatrix2D.zMult(LongMatrix1D y,
LongMatrix1D z,
long alpha,
long beta,
boolean transposeA)
|
Constructors in cern.colt.matrix.tlong.impl with parameters of type LongMatrix1D | |
---|---|
WrapperLongMatrix1D(LongMatrix1D newContent)
|
|
Parallel Colt 0.9.4 | |||||||||
PREV NEXT | FRAMES NO FRAMES |