Package | Description |
---|---|
org.jblas |
Main linear algebra package.
|
Modifier and Type | Field and Description |
---|---|
static ComplexDouble |
ComplexDouble.I |
static ComplexDouble |
ComplexDouble.NEG_I |
static ComplexDouble |
ComplexDouble.NEG_UNIT |
static ComplexDouble |
ComplexDouble.UNIT |
static ComplexDouble |
ComplexDouble.ZERO |
Modifier and Type | Method and Description |
---|---|
ComplexDouble |
ComplexDouble.add(ComplexDouble c)
Add two complex numbers.
|
ComplexDouble |
ComplexDouble.add(double c)
Add a real number to a complex number.
|
ComplexDouble |
ComplexDouble.addi(ComplexDouble c)
Add two complex numbers in-place storing the result in this.
|
ComplexDouble |
ComplexDouble.addi(ComplexDouble c,
ComplexDouble result)
Add two complex numbers in-place
|
ComplexDouble |
ComplexDouble.addi(double c)
Add a real number to complex number in-place, storing the result in this.
|
ComplexDouble |
ComplexDouble.addi(double a,
ComplexDouble result)
Add a real number to a complex number in-place.
|
ComplexDouble |
ComplexDouble.conj() |
ComplexDouble |
ComplexDouble.conji() |
ComplexDouble |
ComplexDouble.copy(ComplexDouble other) |
ComplexDouble |
ComplexDouble.div(ComplexDouble c)
Divide two complex numbers
|
ComplexDouble |
ComplexDouble.div(double v) |
ComplexDouble |
ComplexDouble.divi(ComplexDouble c) |
ComplexDouble |
ComplexDouble.divi(ComplexDouble c,
ComplexDouble result)
Divide two complex numbers, in-place
|
ComplexDouble |
ComplexDouble.divi(double v) |
ComplexDouble |
ComplexDouble.divi(double v,
ComplexDouble result) |
ComplexDouble |
ComplexDoubleMatrix.dotc(ComplexDoubleMatrix other)
Computes this^T * other
|
static ComplexDouble |
SimpleBlas.dotc(ComplexDoubleMatrix x,
ComplexDoubleMatrix y)
Compute x^T * y (dot product)
|
ComplexDouble |
ComplexDoubleMatrix.dotu(ComplexDoubleMatrix other)
Computes this^H * other
|
static ComplexDouble |
SimpleBlas.dotu(ComplexDoubleMatrix x,
ComplexDoubleMatrix y)
Compute x^T * y (dot product)
|
ComplexDouble |
ComplexDouble.dup() |
ComplexDouble |
ComplexDoubleMatrix.get(int i) |
ComplexDouble |
ComplexDoubleMatrix.get(int i,
ComplexDouble result) |
ComplexDouble |
ComplexDoubleMatrix.get(int rowIndex,
int columnIndex)
Retrieve matrix element
|
ComplexDouble |
ComplexDoubleMatrix.get(int rowIndex,
int columnIndex,
ComplexDouble result)
Get matrix element, passing the variable to store the result.
|
ComplexDouble |
ComplexDouble.inv() |
ComplexDouble |
ComplexDouble.invi() |
ComplexDouble |
ComplexDoubleMatrix.mean() |
ComplexDouble |
ComplexDouble.mul(ComplexDouble c)
Multiply two complex numbers
|
ComplexDouble |
ComplexDouble.mul(double v) |
ComplexDouble |
ComplexDouble.muli(ComplexDouble c) |
ComplexDouble |
ComplexDouble.muli(ComplexDouble c,
ComplexDouble result)
Multiply two complex numbers, in-place
|
ComplexDouble |
ComplexDouble.muli(double v) |
ComplexDouble |
ComplexDouble.muli(double v,
ComplexDouble result) |
ComplexDouble |
ComplexDouble.neg() |
ComplexDouble |
ComplexDouble.negi() |
ComplexDouble |
ComplexDoubleMatrix.scalar()
Return the first element of the matrix
|
ComplexDouble |
ComplexDouble.set(double real,
double imag) |
ComplexDouble |
ComplexDouble.sqrt() |
ComplexDouble |
ComplexDouble.sub(ComplexDouble c)
Subtract two complex numbers
|
ComplexDouble |
ComplexDouble.sub(double r) |
ComplexDouble |
ComplexDouble.subi(ComplexDouble c) |
ComplexDouble |
ComplexDouble.subi(ComplexDouble c,
ComplexDouble result)
Subtract two complex numbers, in-place
|
ComplexDouble |
ComplexDouble.subi(double a) |
ComplexDouble |
ComplexDouble.subi(double a,
ComplexDouble result) |
ComplexDouble |
ComplexDoubleMatrix.sum()
Logical operations
|
ComplexDouble[] |
ComplexDoubleMatrix.toArray() |
ComplexDouble[][] |
ComplexDoubleMatrix.toArray2() |
static ComplexDouble |
NativeBlas.zdotc(int n,
double[] zx,
int zxIdx,
int incx,
double[] zy,
int zyIdx,
int incy) |
static ComplexDouble |
NativeBlas.zdotu(int n,
double[] zx,
int zxIdx,
int incx,
double[] zy,
int zyIdx,
int incy) |
Modifier and Type | Method and Description |
---|---|
ComplexDouble |
ComplexDouble.add(ComplexDouble c)
Add two complex numbers.
|
ComplexDoubleMatrix |
ComplexDoubleMatrix.add(ComplexDouble v) |
ComplexDouble |
ComplexDouble.addi(ComplexDouble c)
Add two complex numbers in-place storing the result in this.
|
ComplexDoubleMatrix |
ComplexDoubleMatrix.addi(ComplexDouble v) |
ComplexDouble |
ComplexDouble.addi(ComplexDouble c,
ComplexDouble result)
Add two complex numbers in-place
|
ComplexDoubleMatrix |
ComplexDoubleMatrix.addi(ComplexDouble v,
ComplexDoubleMatrix result)
Add a scalar to a matrix.
|
ComplexDouble |
ComplexDouble.addi(double a,
ComplexDouble result)
Add a real number to a complex number in-place.
|
ComplexDoubleMatrix |
ComplexDoubleMatrix.and(ComplexDouble value) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.andi(ComplexDouble value) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.andi(ComplexDouble value,
ComplexDoubleMatrix result) |
static ComplexDoubleMatrix |
SimpleBlas.axpy(ComplexDouble da,
ComplexDoubleMatrix dx,
ComplexDoubleMatrix dy) |
ComplexDouble |
ComplexDouble.copy(ComplexDouble other) |
ComplexDouble |
ComplexDouble.div(ComplexDouble c)
Divide two complex numbers
|
ComplexDoubleMatrix |
ComplexDoubleMatrix.div(ComplexDouble v) |
ComplexDouble |
ComplexDouble.divi(ComplexDouble c) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.divi(ComplexDouble v) |
ComplexDouble |
ComplexDouble.divi(ComplexDouble c,
ComplexDouble result)
Divide two complex numbers, in-place
|
ComplexDoubleMatrix |
ComplexDoubleMatrix.divi(ComplexDouble a,
ComplexDoubleMatrix result)
(Elementwise) division with a scalar
|
ComplexDouble |
ComplexDouble.divi(double v,
ComplexDouble result) |
boolean |
ComplexDouble.eq(ComplexDouble c) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.eq(ComplexDouble value) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.eqi(ComplexDouble value) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.eqi(ComplexDouble value,
ComplexDoubleMatrix result) |
static ComplexDoubleMatrix |
SimpleBlas.gemm(ComplexDouble alpha,
ComplexDoubleMatrix a,
ComplexDoubleMatrix b,
ComplexDouble beta,
ComplexDoubleMatrix c) |
static ComplexDoubleMatrix |
SimpleBlas.gerc(ComplexDouble alpha,
ComplexDoubleMatrix x,
ComplexDoubleMatrix y,
ComplexDoubleMatrix a)
Compute A <- alpha * x * y^H + A (general rank-1 update)
|
static ComplexDoubleMatrix |
SimpleBlas.geru(ComplexDouble alpha,
ComplexDoubleMatrix x,
ComplexDoubleMatrix y,
ComplexDoubleMatrix a)
Compute A <- alpha * x * y^T + A (general rank-1 update)
|
ComplexDouble |
ComplexDoubleMatrix.get(int i,
ComplexDouble result) |
ComplexDouble |
ComplexDoubleMatrix.get(int rowIndex,
int columnIndex,
ComplexDouble result)
Get matrix element, passing the variable to store the result.
|
ComplexDoubleMatrix |
ComplexDoubleMatrix.mmul(ComplexDouble v) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.mmuli(ComplexDouble v) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.mmuli(ComplexDouble v,
ComplexDoubleMatrix result)
Matrix-Matrix Multiplication with a scalar (for symmetry, does the
same as muli(scalar)
|
ComplexDouble |
ComplexDouble.mul(ComplexDouble c)
Multiply two complex numbers
|
ComplexDoubleMatrix |
ComplexDoubleMatrix.mul(ComplexDouble v) |
ComplexDouble |
ComplexDouble.muli(ComplexDouble c) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.muli(ComplexDouble v) |
ComplexDouble |
ComplexDouble.muli(ComplexDouble c,
ComplexDouble result)
Multiply two complex numbers, in-place
|
ComplexDoubleMatrix |
ComplexDoubleMatrix.muli(ComplexDouble v,
ComplexDoubleMatrix result)
(Elementwise) Multiplication with a scalar
|
ComplexDouble |
ComplexDouble.muli(double v,
ComplexDouble result) |
boolean |
ComplexDouble.ne(ComplexDouble c) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.ne(ComplexDouble value) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.nei(ComplexDouble value) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.nei(ComplexDouble value,
ComplexDoubleMatrix result) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.or(ComplexDouble value) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.ori(ComplexDouble value) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.ori(ComplexDouble value,
ComplexDoubleMatrix result) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.put(ComplexDoubleMatrix indices,
ComplexDouble v) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.put(ComplexDoubleMatrix rindices,
ComplexDoubleMatrix cindices,
ComplexDouble v) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.put(ComplexDoubleMatrix indices,
int c,
ComplexDouble v) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.put(int[] indices,
ComplexDouble v) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.put(int[] rindices,
int[] cindices,
ComplexDouble v) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.put(int[] indices,
int c,
ComplexDouble v) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.put(int i,
ComplexDouble v) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.put(int r,
ComplexDoubleMatrix indices,
ComplexDouble v) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.put(int r,
int[] indices,
ComplexDouble v) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.put(int rowIndex,
int columnIndex,
ComplexDouble value) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.rankOneUpdate(ComplexDouble alpha,
ComplexDoubleMatrix x)
Computes a rank-1-update A = A + alpha * x * x'.
|
ComplexDoubleMatrix |
ComplexDoubleMatrix.rankOneUpdate(ComplexDouble alpha,
ComplexDoubleMatrix x,
ComplexDoubleMatrix y)
Computes a rank-1-update A = A + alpha * x * y'.
|
ComplexDoubleMatrix |
ComplexDoubleMatrix.rdiv(ComplexDouble v) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.rdivi(ComplexDouble v) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.rdivi(ComplexDouble a,
ComplexDoubleMatrix result)
(Elementwise) division with a scalar, with operands switched.
|
ComplexDoubleMatrix |
ComplexDoubleMatrix.rsub(ComplexDouble v) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.rsubi(ComplexDouble v) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.rsubi(ComplexDouble a,
ComplexDoubleMatrix result)
Subtract a matrix from a scalar
|
static ComplexDoubleMatrix |
SimpleBlas.scal(ComplexDouble alpha,
ComplexDoubleMatrix x) |
ComplexDouble |
ComplexDouble.sub(ComplexDouble c)
Subtract two complex numbers
|
ComplexDoubleMatrix |
ComplexDoubleMatrix.sub(ComplexDouble v) |
ComplexDouble |
ComplexDouble.subi(ComplexDouble c) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.subi(ComplexDouble v) |
ComplexDouble |
ComplexDouble.subi(ComplexDouble c,
ComplexDouble result)
Subtract two complex numbers, in-place
|
ComplexDoubleMatrix |
ComplexDoubleMatrix.subi(ComplexDouble v,
ComplexDoubleMatrix result)
Subtract a scalar from a matrix
|
ComplexDouble |
ComplexDouble.subi(double a,
ComplexDouble result) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.xor(ComplexDouble value) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.xori(ComplexDouble value) |
ComplexDoubleMatrix |
ComplexDoubleMatrix.xori(ComplexDouble value,
ComplexDoubleMatrix result) |
static void |
NativeBlas.zaxpy(int n,
ComplexDouble za,
double[] zx,
int zxIdx,
int incx,
double[] zy,
int zyIdx,
int incy) |
static void |
NativeBlas.zgemm(char transa,
char transb,
int m,
int n,
int k,
ComplexDouble alpha,
double[] a,
int aIdx,
int lda,
double[] b,
int bIdx,
int ldb,
ComplexDouble beta,
double[] c,
int cIdx,
int ldc) |
static void |
NativeBlas.zgemv(char trans,
int m,
int n,
ComplexDouble alpha,
double[] a,
int aIdx,
int lda,
double[] x,
int xIdx,
int incx,
ComplexDouble beta,
double[] y,
int yIdx,
int incy) |
static void |
NativeBlas.zgerc(int m,
int n,
ComplexDouble alpha,
double[] x,
int xIdx,
int incx,
double[] y,
int yIdx,
int incy,
double[] a,
int aIdx,
int lda) |
static void |
NativeBlas.zgeru(int m,
int n,
ComplexDouble alpha,
double[] x,
int xIdx,
int incx,
double[] y,
int yIdx,
int incy,
double[] a,
int aIdx,
int lda) |
static void |
NativeBlas.zscal(int n,
ComplexDouble za,
double[] zx,
int zxIdx,
int incx) |
Constructor and Description |
---|
ComplexDoubleMatrix(ComplexDouble[] newData) |
Copyright © 2015. All rights reserved.