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