Package | Description |
---|---|
cern.colt.matrix.tfcomplex |
Matrix interfaces and factories holding elements of fcomplex data type.
|
cern.colt.matrix.tfcomplex.algo |
Algorithms operating on complex matrices.
|
cern.colt.matrix.tfcomplex.impl |
Efficient and flexible dense and sparse 1, 2 and 3-dimensional matrices holding elements of fcomplex data type.
|
Modifier and Type | Method and Description |
---|---|
FComplexMatrix1D |
FComplexFactory1D.append(FComplexMatrix1D A,
FComplexMatrix1D B)
C = A||B; Constructs a new matrix which is the concatenation of two other
matrices.
|
FComplexMatrix1D |
FComplexMatrix1D.assign(FComplexFComplexFunction f)
Assigns the result of a function to each cell;
|
FComplexMatrix1D |
FComplexMatrix1D.assign(FComplexMatrix1D other)
Replaces all cell values of the receiver with the values of another
matrix.
|
FComplexMatrix1D |
FComplexMatrix1D.assign(FComplexMatrix1D y,
FComplexFComplexFComplexFunction f)
Assigns the result of a function to each cell;
|
FComplexMatrix1D |
FComplexMatrix1D.assign(FComplexProcedure cond,
FComplexFComplexFunction f)
Assigns the result of a function to all cells that satisfy a condition.
|
FComplexMatrix1D |
FComplexMatrix1D.assign(FComplexProcedure cond,
float[] value)
Assigns a value to all cells that satisfy a condition.
|
FComplexMatrix1D |
FComplexMatrix1D.assign(FComplexRealFunction f)
Assigns the result of a function to the real part of the receiver.
|
FComplexMatrix1D |
FComplexMatrix1D.assign(float[] values)
Sets all cells to the state specified by values.
|
FComplexMatrix1D |
FComplexMatrix1D.assign(float re,
float im)
Sets all cells to the state specified by re and im.
|
FComplexMatrix1D |
FComplexMatrix1D.assignImaginary(FloatMatrix1D other)
Replaces imaginary part of the receiver with the values of another real
matrix.
|
FComplexMatrix1D |
FComplexMatrix1D.assignReal(FloatMatrix1D other)
Replaces real part of the receiver with the values of another real
matrix.
|
FComplexMatrix1D |
FComplexMatrix1D.copy()
Constructs and returns a deep copy of the receiver.
|
FComplexMatrix1D |
FComplexFactory2D.diagonal(FComplexMatrix2D A)
Constructs a new vector consisting of the diagonal elements of A
.
|
FComplexMatrix1D |
FComplexMatrix1D.like()
Construct and returns a new empty matrix of the same dynamic type
as the receiver, having the same size.
|
abstract FComplexMatrix1D |
FComplexMatrix1D.like(int size)
Construct and returns a new empty matrix of the same dynamic type
as the receiver, having the specified size.
|
abstract FComplexMatrix1D |
FComplexMatrix2D.like1D(int size)
Construct and returns a new 1-d matrix of the corresponding dynamic
type, entirelly independent of the receiver.
|
FComplexMatrix1D |
FComplexFactory1D.make(ArrayList<float[]> values)
Constructs a matrix from the values of the given list.
|
FComplexMatrix1D |
FComplexFactory1D.make(FComplexMatrix1D[] parts)
Constructs a matrix which is the concatenation of all given parts.
|
FComplexMatrix1D |
FComplexFactory1D.make(float[] values)
Constructs a matrix with the given cell values.
|
FComplexMatrix1D |
FComplexFactory1D.make(int size)
Constructs a matrix with the given shape, each cell initialized with
zero.
|
FComplexMatrix1D |
FComplexFactory1D.make(int size,
float[] initialValue)
Constructs a matrix with the given shape, each cell initialized with the
given value.
|
FComplexMatrix1D |
FComplexFactory1D.random(int size)
Constructs a matrix with uniformly distributed values in (0,1)
(exclusive).
|
FComplexMatrix1D |
FComplexFactory1D.repeat(FComplexMatrix1D A,
int repeat)
C = A||A||..||A; Constructs a new matrix which is concatenated
repeat times.
|
FComplexMatrix1D |
FComplexFactory1D.sample(int size,
float[] value,
float nonZeroFraction)
Constructs a randomly sampled matrix with the given shape.
|
abstract FComplexMatrix1D |
FComplexMatrix2D.vectorize()
Returns a vector obtained by stacking the columns of this matrix on top
of one another.
|
abstract FComplexMatrix1D |
FComplexMatrix3D.vectorize()
Returns a vector obtained by stacking the columns of each slice of the
matrix on top of one another.
|
FComplexMatrix1D |
FComplexMatrix2D.viewColumn(int column)
Constructs and returns a new slice view representing the rows of
the given column.
|
FComplexMatrix1D |
FComplexMatrix1D.viewFlip()
Constructs and returns a new flip view.
|
FComplexMatrix1D |
FComplexMatrix1D.viewPart(int index,
int width)
Constructs and returns a new sub-range view that is a
width sub matrix starting at index.
|
FComplexMatrix1D |
FComplexMatrix2D.viewRow(int row)
Constructs and returns a new slice view representing the columns
of the given row.
|
FComplexMatrix1D |
FComplexMatrix1D.viewSelection(FComplexProcedure condition)
Constructs and returns a new selection view that is a matrix
holding the cells matching the given condition.
|
FComplexMatrix1D |
FComplexMatrix1D.viewSelection(int[] indexes)
Constructs and returns a new selection view that is a matrix
holding the indicated cells.
|
FComplexMatrix1D |
FComplexMatrix1D.viewStrides(int stride)
Constructs and returns a new stride view which is a sub matrix
consisting of every i-th cell.
|
FComplexMatrix1D |
FComplexMatrix2D.zMult(FComplexMatrix1D y,
FComplexMatrix1D z)
Linear algebraic matrix-vector multiplication; z = A * y;
Equivalent to return A.zMult(y,z,1,0);
|
FComplexMatrix1D |
FComplexMatrix2D.zMult(FComplexMatrix1D y,
FComplexMatrix1D z,
float[] alpha,
float[] beta,
boolean transposeA)
Linear algebraic matrix-vector multiplication;
z = alpha * A * y + beta*z.
|
Modifier and Type | Method and Description |
---|---|
float[] |
FComplexMatrix1D.aggregate(FComplexMatrix1D other,
FComplexFComplexFComplexFunction aggr,
FComplexFComplexFComplexFunction f)
Applies a function to each corresponding cell of two matrices and
aggregates the results.
|
FComplexMatrix1D |
FComplexFactory1D.append(FComplexMatrix1D A,
FComplexMatrix1D B)
C = A||B; Constructs a new matrix which is the concatenation of two other
matrices.
|
FComplexMatrix2D |
FComplexFactory2D.appendColumn(FComplexMatrix2D A,
FComplexMatrix1D b)
C = A||b; Constructs a new matrix which is the column-wise concatenation
of two other matrices.
|
FComplexMatrix2D |
FComplexFactory2D.appendRow(FComplexMatrix2D A,
FComplexMatrix1D b)
C = A||b; Constructs a new matrix which is the row-wise concatenation of
two other matrices.
|
boolean |
FComplexMatrix1DProcedure.apply(FComplexMatrix1D element)
Applies a procedure to an argument.
|
FComplexMatrix1D |
FComplexMatrix1D.assign(FComplexMatrix1D other)
Replaces all cell values of the receiver with the values of another
matrix.
|
FComplexMatrix1D |
FComplexMatrix1D.assign(FComplexMatrix1D y,
FComplexFComplexFComplexFunction f)
Assigns the result of a function to each cell;
|
FComplexMatrix2D |
FComplexFactory2D.diagonal(FComplexMatrix1D vector)
Constructs a new diagonal matrix whose diagonal elements are the elements
of vector.
|
FComplexMatrix1D |
FComplexFactory1D.make(FComplexMatrix1D[] parts)
Constructs a matrix which is the concatenation of all given parts.
|
FComplexMatrix1D |
FComplexFactory1D.repeat(FComplexMatrix1D A,
int repeat)
C = A||A||..||A; Constructs a new matrix which is concatenated
repeat times.
|
void |
FComplexMatrix1D.swap(FComplexMatrix1D other)
Swaps each element this[i] with other[i].
|
ArrayList<float[]> |
FComplexFactory1D.toList(FComplexMatrix1D values)
Constructs a list from the given matrix.
|
float[] |
FComplexMatrix1D.zDotProduct(FComplexMatrix1D y)
Returns the dot product of two vectors x and y.
|
float[] |
FComplexMatrix1D.zDotProduct(FComplexMatrix1D y,
int from,
int length)
Returns the dot product of two vectors x and y.
|
float[] |
FComplexMatrix1D.zDotProduct(FComplexMatrix1D y,
int from,
int length,
IntArrayList nonZeroIndexes)
Returns the dot product of two vectors x and y.
|
FComplexMatrix1D |
FComplexMatrix2D.zMult(FComplexMatrix1D y,
FComplexMatrix1D z)
Linear algebraic matrix-vector multiplication; z = A * y;
Equivalent to return A.zMult(y,z,1,0);
|
FComplexMatrix1D |
FComplexMatrix2D.zMult(FComplexMatrix1D y,
FComplexMatrix1D z,
float[] alpha,
float[] beta,
boolean transposeA)
Linear algebraic matrix-vector multiplication;
z = alpha * A * y + beta*z.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FComplexProperty.equals(FComplexMatrix1D A,
FComplexMatrix1D B)
Returns whether both given matrices A and B are equal.
|
boolean |
FComplexProperty.equals(FComplexMatrix1D A,
float[] value)
Returns whether all cells of the given matrix A are equal to the
given value.
|
Modifier and Type | Class and Description |
---|---|
class |
DenseFComplexMatrix1D
Dense 1-d matrix (aka vector) holding complex elements.
|
class |
SparseFComplexMatrix1D
Sparse hashed 1-d matrix (aka vector) holding complex
elements.
|
class |
WrapperFComplexMatrix1D
1-d matrix holding complex elements; either a view wrapping another
matrix or a matrix whose views are wrappers.
|
Modifier and Type | Method and Description |
---|---|
FComplexMatrix1D |
DenseFComplexMatrix1D.assign(FComplexFComplexFunction function) |
FComplexMatrix1D |
DenseFComplexMatrix1D.assign(FComplexMatrix1D source) |
FComplexMatrix1D |
DenseFComplexMatrix1D.assign(FComplexMatrix1D y,
FComplexFComplexFComplexFunction function) |
FComplexMatrix1D |
DenseFComplexMatrix1D.assign(FComplexProcedure cond,
FComplexFComplexFunction function) |
FComplexMatrix1D |
DenseFComplexMatrix1D.assign(FComplexProcedure cond,
float[] value) |
FComplexMatrix1D |
DenseFComplexMatrix1D.assign(FComplexRealFunction function) |
FComplexMatrix1D |
DenseFComplexMatrix1D.assign(float[] values) |
FComplexMatrix1D |
SparseFComplexMatrix1D.assign(float[] value) |
FComplexMatrix1D |
DenseFComplexMatrix1D.assign(float re,
float im) |
FComplexMatrix1D |
DenseFComplexMatrix1D.assignImaginary(FloatMatrix1D other) |
FComplexMatrix1D |
DenseFComplexMatrix1D.assignReal(FloatMatrix1D other) |
FComplexMatrix1D |
WrapperFComplexMatrix1D.like(int size) |
FComplexMatrix1D |
DenseFComplexMatrix1D.like(int size) |
FComplexMatrix1D |
SparseFComplexMatrix1D.like(int size) |
FComplexMatrix1D |
DenseLargeFComplexMatrix2D.like1D(int size) |
FComplexMatrix1D |
WrapperFComplexMatrix2D.like1D(int size) |
FComplexMatrix1D |
SparseFComplexMatrix2D.like1D(int size) |
FComplexMatrix1D |
SparseCCFComplexMatrix2D.like1D(int size) |
FComplexMatrix1D |
DenseColumnFComplexMatrix2D.like1D(int size) |
FComplexMatrix1D |
DenseFComplexMatrix2D.like1D(int size) |
FComplexMatrix1D |
SparseRCFComplexMatrix2D.like1D(int size) |
FComplexMatrix1D |
DiagonalFComplexMatrix2D.like1D(int size) |
FComplexMatrix1D |
SparseFComplexMatrix3D.vectorize() |
FComplexMatrix1D |
WrapperFComplexMatrix2D.vectorize() |
FComplexMatrix1D |
SparseFComplexMatrix2D.vectorize() |
FComplexMatrix1D |
WrapperFComplexMatrix3D.vectorize() |
FComplexMatrix1D |
DenseColumnFComplexMatrix2D.vectorize() |
FComplexMatrix1D |
DenseFComplexMatrix2D.vectorize() |
FComplexMatrix1D |
DenseFComplexMatrix3D.vectorize() |
FComplexMatrix1D |
WrapperFComplexMatrix2D.viewColumn(int column) |
FComplexMatrix1D |
WrapperFComplexMatrix1D.viewFlip() |
FComplexMatrix1D |
WrapperFComplexMatrix1D.viewPart(int index,
int width) |
FComplexMatrix1D |
WrapperFComplexMatrix2D.viewRow(int row) |
FComplexMatrix1D |
WrapperFComplexMatrix1D.viewSelection(int[] indexes) |
FComplexMatrix1D |
WrapperFComplexMatrix1D.viewStrides(int _stride) |
FComplexMatrix1D |
SparseCCFComplexMatrix2D.zMult(FComplexMatrix1D y,
FComplexMatrix1D z,
float[] alpha,
float[] beta,
boolean transposeA) |
FComplexMatrix1D |
DenseFComplexMatrix2D.zMult(FComplexMatrix1D y,
FComplexMatrix1D z,
float[] alpha,
float[] beta,
boolean transposeA) |
FComplexMatrix1D |
SparseRCFComplexMatrix2D.zMult(FComplexMatrix1D y,
FComplexMatrix1D z,
float[] alpha,
float[] beta,
boolean transposeA) |
FComplexMatrix1D |
DiagonalFComplexMatrix2D.zMult(FComplexMatrix1D y,
FComplexMatrix1D z,
float[] alpha,
float[] beta,
boolean transposeA) |
Modifier and Type | Method and Description |
---|---|
float[] |
DenseFComplexMatrix1D.aggregate(FComplexMatrix1D other,
FComplexFComplexFComplexFunction aggr,
FComplexFComplexFComplexFunction f) |
FComplexMatrix1D |
DenseFComplexMatrix1D.assign(FComplexMatrix1D source) |
FComplexMatrix1D |
DenseFComplexMatrix1D.assign(FComplexMatrix1D y,
FComplexFComplexFComplexFunction function) |
void |
DenseFComplexMatrix1D.swap(FComplexMatrix1D other) |
float[] |
DenseFComplexMatrix1D.zDotProduct(FComplexMatrix1D y,
int from,
int length) |
FComplexMatrix1D |
SparseCCFComplexMatrix2D.zMult(FComplexMatrix1D y,
FComplexMatrix1D z,
float[] alpha,
float[] beta,
boolean transposeA) |
FComplexMatrix1D |
DenseFComplexMatrix2D.zMult(FComplexMatrix1D y,
FComplexMatrix1D z,
float[] alpha,
float[] beta,
boolean transposeA) |
FComplexMatrix1D |
SparseRCFComplexMatrix2D.zMult(FComplexMatrix1D y,
FComplexMatrix1D z,
float[] alpha,
float[] beta,
boolean transposeA) |
FComplexMatrix1D |
DiagonalFComplexMatrix2D.zMult(FComplexMatrix1D y,
FComplexMatrix1D z,
float[] alpha,
float[] beta,
boolean transposeA) |
Constructor and Description |
---|
WrapperFComplexMatrix1D(FComplexMatrix1D newContent) |
Jump to the Parallel Colt Homepage