Class: Renjin::ComplexVector
- Defined in:
- lib/JRubyR/vector.rb
Instance Attribute Summary
Attributes inherited from Vector
Attributes included from RBSexp
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
497 498 499 |
# File 'lib/JRubyR/vector.rb', line 497 def arg R.Arg(self) end |
#conj ⇒ Object
Returns a vector with the conjugate of this complex vector
505 506 507 |
# File 'lib/JRubyR/vector.rb', line 505 def conj R.Conj(self) end |
#im ⇒ Object
Returns a vector with the imaginary part of this vector
481 482 483 |
# File 'lib/JRubyR/vector.rb', line 481 def im R.Im(self) end |
#mod ⇒ Object
Returns a vector with the modulus of this vector
489 490 491 |
# File 'lib/JRubyR/vector.rb', line 489 def mod R.Mod(self) end |
#re ⇒ Object
Returns a vector with the real part of this vector
473 474 475 |
# File 'lib/JRubyR/vector.rb', line 473 def re R.Re(self) end |