~ubuntu-branches/ubuntu/vivid/nip2/vivid-proposed

« back to all changes in this revision

Viewing changes to share/nip2/start/Math.def

  • Committer: Bazaar Package Importer
  • Author(s): Jay Berkenbilt
  • Date: 2010-12-27 14:53:08 UTC
  • mfrom: (2.1.12 sid)
  • Revision ID: james.westby@ubuntu.com-20101227145308-vampjbuuft281j3l
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
426
426
 
427
427
Math_stats_item = class 
428
428
        Menupullright "_Statistics" "measure various statistics of objects" {
 
429
        Value_item = class 
 
430
                Menuaction "_Value" "value of point in object" {
 
431
                action a = class _result {
 
432
                        _vislevel = 3;
 
433
        
 
434
                        position = Expression "Coordinate" (0, 0);
 
435
        
 
436
                        _result = map_binary point position.expr a;
 
437
                }
 
438
        }
 
439
 
429
440
        Mean_item = class 
430
441
                Menuaction "_Mean" "arithmetic mean value" {
431
442
                action a = map_unary mean a;
542
553
        Cluster_item = class 
543
554
                Menuaction "_Cluster" "cluster a list of numbers" {
544
555
                action l = class {
545
 
                        _vislevel = 2;
 
556
                        _vislevel = 3;
546
557
        
547
558
                        thresh = Expression "Threshold" 10;
548
559