File:Abstract syntax tree for Euclidean algorithm.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 1,147 × 1,294 pixels, file size: 50 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: An abstract syntax tree for the following pseudocode, implementing the Euclidean algorithm to find the greatest common divisor of a and b:
    while b ≠ 0:
        if a > b:
            a := a - b
        else:
            b := b - a
    return a
    
    Date
    Source Own work
    Author Dcoetzee
    SVG development
    InfoField
     The SVG code is valid.
     This vector image was created with Inkscape.
     This file uses translateable embedded text.

    Licensing

    I, the copyright holder of this work, hereby publish 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

    Abstract syntax tree for the Euclidean algorithm to find the greatest common divisor of a and b.

    22 March 2011

    image/svg+xml

    7735a0a45a538b7cf9be14fbfb9a0358158df78d

    50,805 byte

    1,294 pixel

    1,147 pixel

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current10:18, 23 March 2011Thumbnail for version as of 10:18, 23 March 20111,147 × 1,294 (50 KB)wikimediacommons>DcoetzeeSome colour

    There are no pages that use this file.