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
-
#conj ⇒ Object
Compute complex conjugate.
-
#conj! ⇒ Object
Compute complex conjugate (in-place).
-
#dotc ⇒ Object
Compute transposed scalar product (self.t * other).
-
#dotu(other) ⇒ Object
Compute complex conjugate scalar product (self.h * other).
-
#h ⇒ Object
Compute the hermitian transpose (transpose and complex conjugate).
-
#hermitian ⇒ Object
Compute the hermitian transpose (transpoe and complex conjugate).
-
#imag ⇒ Object
Get only the imaginary part.
-
#real ⇒ Object
Get only the real part.
Instance Method Details
#conj ⇒ Object
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 |
#dotc ⇒ Object
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 |
#h ⇒ Object
Compute the hermitian transpose (transpose and complex conjugate). See hermitian.
41 |
# File 'lib/jblas/mixin_complex_matrix.rb', line 41 def h; hermitian; end |
#hermitian ⇒ Object
Compute the hermitian transpose (transpoe and complex conjugate).
44 |
# File 'lib/jblas/mixin_complex_matrix.rb', line 44 def hermitian; JAVA_METHOD; end |
#imag ⇒ Object
Get only the imaginary part.
62 |
# File 'lib/jblas/mixin_complex_matrix.rb', line 62 def imag; JAVA_METHOD; end |
#real ⇒ Object
Get only the real part.
59 |
# File 'lib/jblas/mixin_complex_matrix.rb', line 59 def real; JAVA_METHOD; end |