File:Shepard interpolation 2.png

From testwiki
Jump to navigation Jump to search
    Original file (640 × 160 pixels, file size: 24 KB, MIME type: image/png)

    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: Shepards interpolation method, sampling a smooth function, exp(-x^2-y^2). See also File:Shepard interpolation.png
    Date
    Source Own work
    Author Hankwang

    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.

     This plot was created with gnuplot by n.

    Data

    #!/usr/bin/perl -w
    
    $n=40;
    $p=0.1;
    srand(6);
    for ($i = 0; $i < $n; ++$i) {
        $x = rand(1);
        $y = rand(1);
        $v = (rand(1) < $p) ? 1 : 0;
        print("$x $y $v\n");
    }
    

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    7 May 2012

    24,251 byte

    160 pixel

    640 pixel

    image/png

    7b0853c5559d64cc6732fe870c2539f6c3404936

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current21:04, 7 May 2012Thumbnail for version as of 21:04, 7 May 2012640 × 160 (24 KB)wikimediacommons>Hankwang

    There are no pages that use this file.