Package | Description |
---|---|
cern.colt.matrix.tdcomplex |
Matrix interfaces and factories holding elements of dcomplex data type.
|
cern.colt.matrix.tdcomplex.algo |
Algorithms operating on complex matrices.
|
cern.colt.matrix.tdcomplex.algo.decomposition |
Complex matrix decompositions.
|
cern.colt.matrix.tdcomplex.impl |
Efficient and flexible dense and sparse 1, 2 and 3-dimensional matrices holding elements of dcomplex data type.
|
edu.emory.mathcs.utils |
Utility classes.
|
Modifier and Type | Method and Description |
---|---|
DComplexMatrix1D |
DComplexFactory1D.append(DComplexMatrix1D A,
DComplexMatrix1D B)
C = A||B; Constructs a new matrix which is the concatenation of two other
matrices.
|
DComplexMatrix1D |
DComplexMatrix1D.assign(DComplexDComplexFunction f)
Assigns the result of a function to each cell;
|
DComplexMatrix1D |
DComplexMatrix1D.assign(DComplexMatrix1D other)
Replaces all cell values of the receiver with the values of another
matrix.
|
DComplexMatrix1D |
DComplexMatrix1D.assign(DComplexMatrix1D y,
DComplexDComplexDComplexFunction f)
Assigns the result of a function to each cell;
|
DComplexMatrix1D |
DComplexMatrix1D.assign(DComplexProcedure cond,
DComplexDComplexFunction f)
Assigns the result of a function to all cells that satisfy a condition.
|
DComplexMatrix1D |
DComplexMatrix1D.assign(DComplexProcedure cond,
double[] value)
Assigns a value to all cells that satisfy a condition.
|
DComplexMatrix1D |
DComplexMatrix1D.assign(DComplexRealFunction f)
Assigns the result of a function to the real part of the receiver.
|
DComplexMatrix1D |
DComplexMatrix1D.assign(double[] values)
Sets all cells to the state specified by values.
|
DComplexMatrix1D |
DComplexMatrix1D.assign(double re,
double im)
Sets all cells to the state specified by re and im.
|
DComplexMatrix1D |
DComplexMatrix1D.assignImaginary(DoubleMatrix1D other)
Replaces imaginary part of the receiver with the values of another real
matrix.
|
DComplexMatrix1D |
DComplexMatrix1D.assignReal(DoubleMatrix1D other)
Replaces real part of the receiver with the values of another real
matrix.
|
DComplexMatrix1D |
DComplexMatrix1D.copy()
Constructs and returns a deep copy of the receiver.
|
DComplexMatrix1D |
DComplexFactory2D.diagonal(DComplexMatrix2D A)
Constructs a new vector consisting of the diagonal elements of A
.
|
DComplexMatrix1D |
DComplexMatrix1D.like()
Construct and returns a new empty matrix of the same dynamic type
as the receiver, having the same size.
|
abstract DComplexMatrix1D |
DComplexMatrix1D.like(int size)
Construct and returns a new empty matrix of the same dynamic type
as the receiver, having the specified size.
|
abstract DComplexMatrix1D |
DComplexMatrix2D.like1D(int size)
Construct and returns a new 1-d matrix of the corresponding dynamic
type, entirelly independent of the receiver.
|
DComplexMatrix1D |
DComplexFactory1D.make(ArrayList<double[]> values)
Constructs a matrix from the values of the given list.
|
DComplexMatrix1D |
DComplexFactory1D.make(DComplexMatrix1D[] parts)
Constructs a matrix which is the concatenation of all given parts.
|
DComplexMatrix1D |
DComplexFactory1D.make(double[] values)
Constructs a matrix with the given cell values.
|
DComplexMatrix1D |
DComplexFactory1D.make(int size)
Constructs a matrix with the given shape, each cell initialized with
zero.
|
DComplexMatrix1D |
DComplexFactory1D.make(int size,
double[] initialValue)
Constructs a matrix with the given shape, each cell initialized with the
given value.
|
DComplexMatrix1D |
DComplexFactory1D.random(int size)
Constructs a matrix with uniformly distributed values in (0,1)
(exclusive).
|
DComplexMatrix1D |
DComplexFactory1D.repeat(DComplexMatrix1D A,
int repeat)
C = A||A||..||A; Constructs a new matrix which is concatenated
repeat times.
|
DComplexMatrix1D |
DComplexFactory1D.sample(int size,
double[] value,
double nonZeroFraction)
Constructs a randomly sampled matrix with the given shape.
|
abstract DComplexMatrix1D |
DComplexMatrix2D.vectorize()
Returns a vector obtained by stacking the columns of this matrix on top
of one another.
|
abstract DComplexMatrix1D |
DComplexMatrix3D.vectorize()
Returns a vector obtained by stacking the columns of each slice of the
matrix on top of one another.
|
DComplexMatrix1D |
DComplexMatrix2D.viewColumn(int column)
Constructs and returns a new slice view representing the rows of
the given column.
|
DComplexMatrix1D |
DComplexMatrix1D.viewFlip()
Constructs and returns a new flip view.
|
DComplexMatrix1D |
DComplexMatrix1D.viewPart(int index,
int width)
Constructs and returns a new sub-range view that is a
width sub matrix starting at index.
|
DComplexMatrix1D |
DComplexMatrix2D.viewRow(int row)
Constructs and returns a new slice view representing the columns
of the given row.
|
DComplexMatrix1D |
DComplexMatrix1D.viewSelection(DComplexProcedure condition)
Constructs and returns a new selection view that is a matrix
holding the cells matching the given condition.
|
DComplexMatrix1D |
DComplexMatrix1D.viewSelection(int[] indexes)
Constructs and returns a new selection view that is a matrix
holding the indicated cells.
|
DComplexMatrix1D |
DComplexMatrix1D.viewStrides(int stride)
Constructs and returns a new stride view which is a sub matrix
consisting of every i-th cell.
|
DComplexMatrix1D |
DComplexMatrix2D.zMult(DComplexMatrix1D y,
DComplexMatrix1D z)
Linear algebraic matrix-vector multiplication; z = A * y;
Equivalent to return A.zMult(y,z,1,0);
|
DComplexMatrix1D |
DComplexMatrix2D.zMult(DComplexMatrix1D y,
DComplexMatrix1D 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[] |
DComplexMatrix1D.aggregate(DComplexMatrix1D other,
DComplexDComplexDComplexFunction aggr,
DComplexDComplexDComplexFunction f)
Applies a function to each corresponding cell of two matrices and
aggregates the results.
|
DComplexMatrix1D |
DComplexFactory1D.append(DComplexMatrix1D A,
DComplexMatrix1D B)
C = A||B; Constructs a new matrix which is the concatenation of two other
matrices.
|
DComplexMatrix2D |
DComplexFactory2D.appendColumn(DComplexMatrix2D A,
DComplexMatrix1D b)
C = A||b; Constructs a new matrix which is the column-wise concatenation
of two other matrices.
|
DComplexMatrix2D |
DComplexFactory2D.appendRow(DComplexMatrix2D A,
DComplexMatrix1D b)
C = A||b; Constructs a new matrix which is the row-wise concatenation of
two other matrices.
|
boolean |
DComplexMatrix1DProcedure.apply(DComplexMatrix1D element)
Applies a procedure to an argument.
|
DComplexMatrix1D |
DComplexMatrix1D.assign(DComplexMatrix1D other)
Replaces all cell values of the receiver with the values of another
matrix.
|
DComplexMatrix1D |
DComplexMatrix1D.assign(DComplexMatrix1D y,
DComplexDComplexDComplexFunction f)
Assigns the result of a function to each cell;
|
DComplexMatrix2D |
DComplexFactory2D.diagonal(DComplexMatrix1D vector)
Constructs a new diagonal matrix whose diagonal elements are the elements
of vector.
|
DComplexMatrix1D |
DComplexFactory1D.make(DComplexMatrix1D[] parts)
Constructs a matrix which is the concatenation of all given parts.
|
DComplexMatrix1D |
DComplexFactory1D.repeat(DComplexMatrix1D A,
int repeat)
C = A||A||..||A; Constructs a new matrix which is concatenated
repeat times.
|
void |
DComplexMatrix1D.swap(DComplexMatrix1D other)
Swaps each element this[i] with other[i].
|
ArrayList<double[]> |
DComplexFactory1D.toList(DComplexMatrix1D values)
Constructs a list from the given matrix.
|
double[] |
DComplexMatrix1D.zDotProduct(DComplexMatrix1D y)
Returns the dot product of two vectors x and y.
|
double[] |
DComplexMatrix1D.zDotProduct(DComplexMatrix1D y,
int from,
int length)
Returns the dot product of two vectors x and y.
|
double[] |
DComplexMatrix1D.zDotProduct(DComplexMatrix1D y,
int from,
int length,
IntArrayList nonZeroIndexes)
Returns the dot product of two vectors x and y.
|
DComplexMatrix1D |
DComplexMatrix2D.zMult(DComplexMatrix1D y,
DComplexMatrix1D z)
Linear algebraic matrix-vector multiplication; z = A * y;
Equivalent to return A.zMult(y,z,1,0);
|
DComplexMatrix1D |
DComplexMatrix2D.zMult(DComplexMatrix1D y,
DComplexMatrix1D z,
double[] alpha,
double[] beta,
boolean transposeA)
Linear algebraic matrix-vector multiplication;
z = alpha * A * y + beta*z.
|
Modifier and Type | Method and Description |
---|---|
DComplexMatrix1D |
SparseDComplexAlgebra.solve(DComplexMatrix2D A,
DComplexMatrix1D b)
Solves A*x = b.
|
Modifier and Type | Method and Description |
---|---|
void |
DComplexProperty.checkDense(DComplexMatrix1D A) |
boolean |
DComplexProperty.equals(DComplexMatrix1D A,
DComplexMatrix1D B)
Returns whether both given matrices A and B are equal.
|
boolean |
DComplexProperty.equals(DComplexMatrix1D A,
double[] value)
Returns whether all cells of the given matrix A are equal to the
given value.
|
double |
DenseDComplexAlgebra.normInfinity(DComplexMatrix1D x)
Returns the infinity norm of vector x, which is
Max(abs(x[i])).
|
DComplexMatrix1D |
SparseDComplexAlgebra.solve(DComplexMatrix2D A,
DComplexMatrix1D b)
Solves A*x = b.
|
Modifier and Type | Method and Description |
---|---|
void |
SparseDComplexQRDecomposition.solve(DComplexMatrix1D b)
Solve a least-squares problem (min ||Ax-b||_2, where A is m-by-n with m
>= n) or underdetermined system (Ax=b, where m < n).
|
void |
SparseDComplexCholeskyDecomposition.solve(DComplexMatrix1D b)
Solves A*x = b(in-place).
|
void |
SparseDComplexLUDecomposition.solve(DComplexMatrix1D b)
Solves A*x = b(in-place).
|
Modifier and Type | Class and Description |
---|---|
class |
DenseDComplexMatrix1D
Dense 1-d matrix (aka vector) holding complex elements.
|
class |
SparseDComplexMatrix1D
Sparse hashed 1-d matrix (aka vector) holding complex
elements.
|
class |
WrapperDComplexMatrix1D
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 |
---|---|
DComplexMatrix1D |
DenseDComplexMatrix1D.assign(DComplexDComplexFunction function) |
DComplexMatrix1D |
DenseDComplexMatrix1D.assign(DComplexMatrix1D source) |
DComplexMatrix1D |
DenseDComplexMatrix1D.assign(DComplexMatrix1D y,
DComplexDComplexDComplexFunction function) |
DComplexMatrix1D |
DenseDComplexMatrix1D.assign(DComplexProcedure cond,
DComplexDComplexFunction function) |
DComplexMatrix1D |
DenseDComplexMatrix1D.assign(DComplexProcedure cond,
double[] value) |
DComplexMatrix1D |
DenseDComplexMatrix1D.assign(DComplexRealFunction function) |
DComplexMatrix1D |
SparseDComplexMatrix1D.assign(double[] value) |
DComplexMatrix1D |
DenseDComplexMatrix1D.assign(double[] values) |
DComplexMatrix1D |
DenseDComplexMatrix1D.assign(double re,
double im) |
DComplexMatrix1D |
DenseDComplexMatrix1D.assignImaginary(DoubleMatrix1D other) |
DComplexMatrix1D |
DenseDComplexMatrix1D.assignReal(DoubleMatrix1D other) |
DComplexMatrix1D |
WrapperDComplexMatrix1D.like(int size) |
DComplexMatrix1D |
SparseDComplexMatrix1D.like(int size) |
DComplexMatrix1D |
DenseDComplexMatrix1D.like(int size) |
DComplexMatrix1D |
DenseLargeDComplexMatrix2D.like1D(int size) |
DComplexMatrix1D |
WrapperDComplexMatrix2D.like1D(int size) |
DComplexMatrix1D |
SparseRCDComplexMatrix2D.like1D(int size) |
DComplexMatrix1D |
DiagonalDComplexMatrix2D.like1D(int size) |
DComplexMatrix1D |
DenseColumnDComplexMatrix2D.like1D(int size) |
DComplexMatrix1D |
SparseDComplexMatrix2D.like1D(int size) |
DComplexMatrix1D |
SparseCCDComplexMatrix2D.like1D(int size) |
DComplexMatrix1D |
DenseDComplexMatrix2D.like1D(int size) |
DComplexMatrix1D |
DenseDComplexMatrix3D.vectorize() |
DComplexMatrix1D |
WrapperDComplexMatrix2D.vectorize() |
DComplexMatrix1D |
DenseColumnDComplexMatrix2D.vectorize() |
DComplexMatrix1D |
SparseDComplexMatrix2D.vectorize() |
DComplexMatrix1D |
WrapperDComplexMatrix3D.vectorize() |
DComplexMatrix1D |
DenseDComplexMatrix2D.vectorize() |
DComplexMatrix1D |
SparseDComplexMatrix3D.vectorize() |
DComplexMatrix1D |
WrapperDComplexMatrix2D.viewColumn(int column) |
DComplexMatrix1D |
WrapperDComplexMatrix1D.viewFlip() |
DComplexMatrix1D |
WrapperDComplexMatrix1D.viewPart(int index,
int width) |
DComplexMatrix1D |
WrapperDComplexMatrix2D.viewRow(int row) |
DComplexMatrix1D |
WrapperDComplexMatrix1D.viewSelection(int[] indexes) |
DComplexMatrix1D |
WrapperDComplexMatrix1D.viewStrides(int _stride) |
DComplexMatrix1D |
SparseRCDComplexMatrix2D.zMult(DComplexMatrix1D y,
DComplexMatrix1D z,
double[] alpha,
double[] beta,
boolean transposeA) |
DComplexMatrix1D |
DiagonalDComplexMatrix2D.zMult(DComplexMatrix1D y,
DComplexMatrix1D z,
double[] alpha,
double[] beta,
boolean transposeA) |
DComplexMatrix1D |
SparseCCDComplexMatrix2D.zMult(DComplexMatrix1D y,
DComplexMatrix1D z,
double[] alpha,
double[] beta,
boolean transposeA) |
DComplexMatrix1D |
DenseDComplexMatrix2D.zMult(DComplexMatrix1D y,
DComplexMatrix1D z,
double[] alpha,
double[] beta,
boolean transposeA) |
Modifier and Type | Method and Description |
---|---|
double[] |
DenseDComplexMatrix1D.aggregate(DComplexMatrix1D other,
DComplexDComplexDComplexFunction aggr,
DComplexDComplexDComplexFunction f) |
DComplexMatrix1D |
DenseDComplexMatrix1D.assign(DComplexMatrix1D source) |
DComplexMatrix1D |
DenseDComplexMatrix1D.assign(DComplexMatrix1D y,
DComplexDComplexDComplexFunction function) |
void |
DenseDComplexMatrix1D.swap(DComplexMatrix1D other) |
double[] |
DenseDComplexMatrix1D.zDotProduct(DComplexMatrix1D y,
int from,
int length) |
DComplexMatrix1D |
SparseRCDComplexMatrix2D.zMult(DComplexMatrix1D y,
DComplexMatrix1D z,
double[] alpha,
double[] beta,
boolean transposeA) |
DComplexMatrix1D |
DiagonalDComplexMatrix2D.zMult(DComplexMatrix1D y,
DComplexMatrix1D z,
double[] alpha,
double[] beta,
boolean transposeA) |
DComplexMatrix1D |
SparseCCDComplexMatrix2D.zMult(DComplexMatrix1D y,
DComplexMatrix1D z,
double[] alpha,
double[] beta,
boolean transposeA) |
DComplexMatrix1D |
DenseDComplexMatrix2D.zMult(DComplexMatrix1D y,
DComplexMatrix1D z,
double[] alpha,
double[] beta,
boolean transposeA) |
Constructor and Description |
---|
WrapperDComplexMatrix1D(DComplexMatrix1D newContent) |
Modifier and Type | Method and Description |
---|---|
static DComplexMatrix1D |
Utils.complex(DoubleMatrix1D real,
DoubleMatrix1D imaginary) |
static DComplexMatrix1D |
Utils.cplxm(IntMatrix1D ix) |
static DComplexMatrix1D |
Utils.polar(DoubleMatrix1D r,
DoubleMatrix1D theta) |
static DComplexMatrix1D |
Utils.polar(DoubleMatrix1D r,
DoubleMatrix1D theta,
boolean radians) |
Modifier and Type | Method and Description |
---|---|
static DComplexMatrix2D |
Utils.unflatten(DComplexMatrix1D a,
boolean col)
Creates a 2-dimensional copy of the given matrix
|
Jump to the Parallel Colt Homepage