w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
abs

cmp.abs â real Instance Public methods Returns the absolute part of its polar form. Complex(-1).abs #=> 1 Complex(3.0, -4.0).abs #=> 5.0

abs2

cmp.abs2 â real Instance Public methods Returns square of the absolute value. Complex(-1).abs2 #=> 1 Complex(3.0, -4.0).abs2 #=> 25.0

angle

cmp.angle â float Instance Public methods Returns the angle part of its polar form. Complex.polar(3, Math::PI/2).arg #=> 1.5707963267948966

arg

cmp.arg â float Instance Public methods Returns the angle part of its polar form. Complex.polar(3, Math::PI/2).arg #=> 1.5707963267948966

as_json

as_json(*) Instance Public methods

conj

cmp.conj â complexcmp.conjugate â complex Instance Public methods Returns the complex conjugate. Complex(1, 2).conjugate #=> (1-2i)

conjugate

cmp.conjugate â complex Instance Public methods Returns the complex conjugate. Complex(1, 2).conjugate #=> (1-2i)

denominator

cmp.denominator â integer Instance Public methods Returns the denominator (lcm of both denominator - real and imag). See numerator.

fdiv

cmp.fdiv(numeric) â complex Instance Public methods Performs division as each part is a float, never returns a float. Complex(11, 22).fdiv(3) #=> (3.6666666666666665+7.333333333333333i)

imag

cmp.imag â realcmp.imaginary â real Instance Public methods Returns the imaginary part. Complex(7).imaginary #=> 0 Complex(9, -4).imaginary #=> -4

Popular Articles
res.locals res.locals An object that contains response local variables scoped to the request, and therefore available only to the view(s) rendered during that r
Zoomerang.js - allows users to zoom in on elements on page Zoomerang.js is a drop-in library that allows your users to zoom in on (almost) any element on your existing page. No setup, arbitrary styling. And it
markers markers matplotlib.markers This module contains functions to handle markers. Used by both the marker functionality of plot and scatter. All possible
GuardAuthenticatorHandler::authenticateUserAndHandleSuccess() Response|null authenticateUserAndHandleSuccess(UserInterface $user, Request $request, GuardAuthenticatorInterface $authenticator, string $provid
csv.Sniffer.has_header() has_header(sample) Analyze the sample text (presumed to be in CSV format) and return True if the first row appears to be a series of column header


Page 123 of 11844

|< < Prev 120 121 122 123 124 125 126 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions