Module: JBLAS::ComplexMatrixMixin

Included in:
ComplexDoubleMatrix, ComplexFloatMatrix
Defined in:
lib/jblas/mixin_complex_matrix.rb

Overview

Mixin defining some extra methods for complex matrices.

Collected in MatrixMixin.

Instance Method Summary collapse

Instance Method Details

#conjObject

Compute complex conjugate.



47
# File 'lib/jblas/mixin_complex_matrix.rb', line 47

def conj; JAVA_METHOD; end

#conj!Object

Compute complex conjugate (in-place).



50
# File 'lib/jblas/mixin_complex_matrix.rb', line 50

def conj!; JAVA_METHOD; end

#dotcObject

Compute transposed scalar product (self.t * other).



56
# File 'lib/jblas/mixin_complex_matrix.rb', line 56

def dotc; JAVA_METHOD; end

#dotu(other) ⇒ Object

Compute complex conjugate scalar product (self.h * other).



53
# File 'lib/jblas/mixin_complex_matrix.rb', line 53

def dotu(other); JAVA_METHOD; end

#hObject

Compute the hermitian transpose (transpose and complex conjugate). See hermitian.



41
# File 'lib/jblas/mixin_complex_matrix.rb', line 41

def h; hermitian; end

#hermitianObject

Compute the hermitian transpose (transpoe and complex conjugate).



44
# File 'lib/jblas/mixin_complex_matrix.rb', line 44

def hermitian; JAVA_METHOD; end

#imagObject

Get only the imaginary part.



62
# File 'lib/jblas/mixin_complex_matrix.rb', line 62

def imag; JAVA_METHOD; end

#realObject

Get only the real part.



59
# File 'lib/jblas/mixin_complex_matrix.rb', line 59

def real; JAVA_METHOD; end