File:Nearest integer.svg

From formulasearchengine
Jump to navigation Jump to search
    Original file (SVG file, nominally 595 × 478 pixels, file size: 52 KB)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Summary

    Description
    English: The nearest integer (round) function, which rounds to the nearest even integer.
    Date
    Source Own work
    Author Eviatar Bach
    SVG development
    InfoField
     This image was created with Sage.

    Source code

    The logo of Sage – mathematical software application
    The logo of Sage – mathematical software application
    This media was created with Sage (mathematical software application)
    Here is a listing of the source used to create this file.

    Deutsch ∙ македонски ∙ English ∙ +/−

    (plot(round, -3.5, 3.5, exclude=[a - 0.5 for a in range(-3, 5)], ymax=3, zorder=3, axes_labels=['$x$', r'$\mathrm{nint}(x)$'], fontsize=14, thickness=1.5) +
    point((-2.5, -2), rgbcolor='blue', pointsize=45, zorder=4) + point((-1.5, -2), rgbcolor='blue', pointsize=45, zorder=4) +
    point((-0.5, 0), rgbcolor='blue', pointsize=45, zorder=4) + point((0.5, 0), rgbcolor='blue', pointsize=45, zorder=4) +
    point((1.5, 2), rgbcolor='blue', pointsize=45, zorder=4) + point((2.5, 2), rgbcolor='blue', pointsize=45, zorder=4) +
    point((-3.5, -3), pointsize=45, zorder=4) + point((-2.5, -3), pointsize=45, zorder=4) +
    point((-1.5, -1), pointsize=45, zorder=4) + point((-0.5, -1), pointsize=45, zorder=4) +
    point((0.5, 1), pointsize=45, zorder=4) + point((1.5, 1), pointsize=45, zorder=4) +
    point((2.5, 3), pointsize=45, zorder=4) + point((3.5, 3), pointsize=45, zorder=4) +
    point((-3.5, -3), rgbcolor='white', pointsize=20, zorder=5) +
    point((-2.5, -3), rgbcolor='white', pointsize=20, zorder=5) +
    point((-1.5, -1), rgbcolor='white', pointsize=20, zorder=5) +
    point((-0.5, -1), rgbcolor='white', pointsize=20, zorder=5) +
    point((0.5, 1), rgbcolor='white', pointsize=20, zorder=5) +
    point((1.5, 1), rgbcolor='white', pointsize=20, zorder=5) +
    point((2.5, 3), rgbcolor='white', pointsize=20, zorder=5) +
    point((3.5, 3), rgbcolor='white', pointsize=20, zorder=5))
    

    Licensing

    Eviatar Bach, the copyright holder of this work, hereby publishes it under the following license:
    Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
    The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    5 January 2012

    52,809 byte

    image/svg+xml

    8d829eaa8f65c9e4bdb807321f4e96d160904b32

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current20:04, 28 May 2012Thumbnail for version as of 20:04, 28 May 2012595 × 478 (52 KB)wikimediacommons>InverseHypercubeblue points

    There are no pages that use this file.