Class: Renjin::ComplexVector
- Defined in:
- lib/JRubyR/vector.rb
Instance Attribute Summary
Attributes inherited from Vector
Attributes included from RBSexp
#attr, #refresh, #rvar, #scope, #sexp
Instance Method Summary collapse
-
#arg ⇒ Object
—————————————————————————————- Returns a vector with the argument of this complex vector —————————————————————————————-.
-
#conj ⇒ Object
—————————————————————————————- Returns a vector with the conjugate of this complex vector —————————————————————————————-.
-
#im ⇒ Object
—————————————————————————————- Returns a vector with the imaginary part of this vector —————————————————————————————-.
-
#mod ⇒ Object
—————————————————————————————- Returns a vector with the modulus of this vector —————————————————————————————-.
-
#re ⇒ Object
—————————————————————————————- Returns a vector with the real part of this vector —————————————————————————————-.
Methods inherited from Vector
#!=, #%, #&, #*, #**, #+, #+@, #-, #-@, #/, #<, #<=, #==, #>, #>=, #as__mdarray, #atomic?, #character?, #coerce, #complex?, #double?, #eq, #get, #gt, #gz, #initialize, #int_div, #integer?, #l_and, #l_or, #logical?, #numeric?, #ri, #xor, #|
Methods included from Index
#[], #[]=, #_, #each, #method_missing, #parse
Methods inherited from RubySexp
build, #fassign, #initialize, #to_string
Methods included from RBSexp
#destroy, #pp, #print, #r, #rclass, #sexp?, #typeof, #unbind
Constructor Details
This class inherits a constructor from Renjin::Vector
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Renjin::Index
Instance Method Details
#arg ⇒ Object
Returns a vector with the argument of this complex vector
469 470 471 |
# File 'lib/JRubyR/vector.rb', line 469 def arg R.Arg(self) end |
#conj ⇒ Object
Returns a vector with the conjugate of this complex vector
477 478 479 |
# File 'lib/JRubyR/vector.rb', line 477 def conj R.Conj(self) end |
#im ⇒ Object
Returns a vector with the imaginary part of this vector
453 454 455 |
# File 'lib/JRubyR/vector.rb', line 453 def im R.Im(self) end |
#mod ⇒ Object
Returns a vector with the modulus of this vector
461 462 463 |
# File 'lib/JRubyR/vector.rb', line 461 def mod R.Mod(self) end |
#re ⇒ Object
Returns a vector with the real part of this vector
445 446 447 |
# File 'lib/JRubyR/vector.rb', line 445 def re R.Re(self) end |