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
next

next() Instance Public methods Alias for: succ

rewind

rewind() Instance Public methods

succ

succ() Instance Public methods Also aliased as: next

each

each(&block) Instance Public methods Overwrites Prime#each. Iterates the given block over all prime numbers. Note that enumeration starts from the current position of internal pointer, not rewound.

next

next() Instance Public methods Alias for: succ

succ

succ() Instance Public methods Returns the next prime number and forwards internal pointer. next

new

new(ubound = nil) Class Public methods

each

each(&block) Instance Public methods Iterates the given block for each prime numbers.

next

next() Instance Public methods alias of succ.

rewind

rewind() Instance Public methods Rewinds the internal position for enumeration. See Enumerator#rewind.

Popular Articles
multiprocessing.Lock class multiprocessing.Lock A non-recursive lock object: a close analog of threading.Lock. Once a process or thread has acquired a lock, subsequent
numpy.polynomial.hermite.hermval() numpy.polynomial.hermite.hermval(x, c, tensor=True) [source] Evaluate an Hermite series at points x. If c is of length n + 1, this function retur
points-in-poly points_in_poly skimage.measure.points_in_poly() Test whether points lie inside a polygon. Parameters: points : (N, 2) array Input points, (x, y)
domain.intercept() domain.intercept(callback) callback <Function> The callback function return: <Function> The intercepted function This method is almost
numpy.polynomial.hermite.hermmul() numpy.polynomial.hermite.hermmul(c1, c2) [source] Multiply one Hermite series by another. Returns the product of two Hermite series c1 * c2. The


Page 802 of 11844

|< < Prev 799 800 801 802 803 804 805 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions