This file is indexed.

/usr/lib/python2.7/dist-packages/mathgl.py is in python-mathgl 2.3.3+svn1216-1build3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.8
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.





from sys import version_info
if version_info >= (2, 6, 0):
    def swig_import_helper():
        from os.path import dirname
        import imp
        fp = None
        try:
            fp, pathname, description = imp.find_module('_mathgl', [dirname(__file__)])
        except ImportError:
            import _mathgl
            return _mathgl
        if fp is not None:
            try:
                _mod = imp.load_module('_mathgl', fp, pathname, description)
            finally:
                fp.close()
            return _mod
    _mathgl = swig_import_helper()
    del swig_import_helper
else:
    import _mathgl
del version_info
try:
    _swig_property = property
except NameError:
    pass  # Python < 2.2 doesn't have 'property'.


def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
    if (name == "thisown"):
        return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'SwigPyObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name, None)
    if method:
        return method(self, value)
    if (not static):
        if _newclass:
            object.__setattr__(self, name, value)
        else:
            self.__dict__[name] = value
    else:
        raise AttributeError("You cannot add attributes to %s" % self)


def _swig_setattr(self, class_type, name, value):
    return _swig_setattr_nondynamic(self, class_type, name, value, 0)


def _swig_getattr_nondynamic(self, class_type, name, static=1):
    if (name == "thisown"):
        return self.this.own()
    method = class_type.__swig_getmethods__.get(name, None)
    if method:
        return method(self)
    if (not static):
        return object.__getattr__(self, name)
    else:
        raise AttributeError(name)

def _swig_getattr(self, class_type, name):
    return _swig_getattr_nondynamic(self, class_type, name, 0)


def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except Exception:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

try:
    _object = object
    _newclass = 1
except AttributeError:
    class _object:
        pass
    _newclass = 0


class mglPoint(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, mglPoint, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, mglPoint, name)
    __repr__ = _swig_repr
    __swig_setmethods__["x"] = _mathgl.mglPoint_x_set
    __swig_getmethods__["x"] = _mathgl.mglPoint_x_get
    if _newclass:
        x = _swig_property(_mathgl.mglPoint_x_get, _mathgl.mglPoint_x_set)
    __swig_setmethods__["y"] = _mathgl.mglPoint_y_set
    __swig_getmethods__["y"] = _mathgl.mglPoint_y_get
    if _newclass:
        y = _swig_property(_mathgl.mglPoint_y_get, _mathgl.mglPoint_y_set)
    __swig_setmethods__["z"] = _mathgl.mglPoint_z_set
    __swig_getmethods__["z"] = _mathgl.mglPoint_z_get
    if _newclass:
        z = _swig_property(_mathgl.mglPoint_z_get, _mathgl.mglPoint_z_set)
    __swig_setmethods__["c"] = _mathgl.mglPoint_c_set
    __swig_getmethods__["c"] = _mathgl.mglPoint_c_get
    if _newclass:
        c = _swig_property(_mathgl.mglPoint_c_get, _mathgl.mglPoint_c_set)

    def __init__(self, X=0, Y=0, Z=0, C=0):
        this = _mathgl.new_mglPoint(X, Y, Z, C)
        try:
            self.this.append(this)
        except Exception:
            self.this = this

    def IsNAN(self):
        return _mathgl.mglPoint_IsNAN(self)

    def val(self, i):
        return _mathgl.mglPoint_val(self, i)

    def norm(self):
        return _mathgl.mglPoint_norm(self)

    def Normalize(self):
        return _mathgl.mglPoint_Normalize(self)
    __swig_destroy__ = _mathgl.delete_mglPoint
    __del__ = lambda self: None
mglPoint_swigregister = _mathgl.mglPoint_swigregister
mglPoint_swigregister(mglPoint)
cvar = _mathgl.cvar
Pi = cvar.Pi
NaN = cvar.NaN
Inf = cvar.Inf
mgl_min_a = cvar.mgl_min_a

class mglColor(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, mglColor, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, mglColor, name)
    __repr__ = _swig_repr
    __swig_setmethods__["r"] = _mathgl.mglColor_r_set
    __swig_getmethods__["r"] = _mathgl.mglColor_r_get
    if _newclass:
        r = _swig_property(_mathgl.mglColor_r_get, _mathgl.mglColor_r_set)
    __swig_setmethods__["g"] = _mathgl.mglColor_g_set
    __swig_getmethods__["g"] = _mathgl.mglColor_g_get
    if _newclass:
        g = _swig_property(_mathgl.mglColor_g_get, _mathgl.mglColor_g_set)
    __swig_setmethods__["b"] = _mathgl.mglColor_b_set
    __swig_getmethods__["b"] = _mathgl.mglColor_b_get
    if _newclass:
        b = _swig_property(_mathgl.mglColor_b_get, _mathgl.mglColor_b_set)
    __swig_setmethods__["a"] = _mathgl.mglColor_a_set
    __swig_getmethods__["a"] = _mathgl.mglColor_a_get
    if _newclass:
        a = _swig_property(_mathgl.mglColor_a_get, _mathgl.mglColor_a_set)

    def __init__(self, *args):
        this = _mathgl.new_mglColor(*args)
        try:
            self.this.append(this)
        except Exception:
            self.this = this

    def Valid(self):
        return _mathgl.mglColor_Valid(self)

    def Norm(self):
        return _mathgl.mglColor_Norm(self)

    def NormS(self):
        return _mathgl.mglColor_NormS(self)

    def Set(self, *args):
        return _mathgl.mglColor_Set(self, *args)

    def __eq__(self, c):
        return _mathgl.mglColor___eq__(self, c)

    def __ne__(self, c):
        return _mathgl.mglColor___ne__(self, c)

    def __lt__(self, c):
        return _mathgl.mglColor___lt__(self, c)
    __swig_destroy__ = _mathgl.delete_mglColor
    __del__ = lambda self: None
mglColor_swigregister = _mathgl.mglColor_swigregister
mglColor_swigregister(mglColor)

class mglData(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, mglData, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, mglData, name)
    __repr__ = _swig_repr
    __swig_setmethods__["nx"] = _mathgl.mglData_nx_set
    __swig_getmethods__["nx"] = _mathgl.mglData_nx_get
    if _newclass:
        nx = _swig_property(_mathgl.mglData_nx_get, _mathgl.mglData_nx_set)
    __swig_setmethods__["ny"] = _mathgl.mglData_ny_set
    __swig_getmethods__["ny"] = _mathgl.mglData_ny_get
    if _newclass:
        ny = _swig_property(_mathgl.mglData_ny_get, _mathgl.mglData_ny_set)
    __swig_setmethods__["nz"] = _mathgl.mglData_nz_set
    __swig_getmethods__["nz"] = _mathgl.mglData_nz_get
    if _newclass:
        nz = _swig_property(_mathgl.mglData_nz_get, _mathgl.mglData_nz_set)
    __swig_setmethods__["a"] = _mathgl.mglData_a_set
    __swig_getmethods__["a"] = _mathgl.mglData_a_get
    if _newclass:
        a = _swig_property(_mathgl.mglData_a_get, _mathgl.mglData_a_set)
    __swig_setmethods__["id"] = _mathgl.mglData_id_set
    __swig_getmethods__["id"] = _mathgl.mglData_id_get
    if _newclass:
        id = _swig_property(_mathgl.mglData_id_get, _mathgl.mglData_id_set)
    __swig_setmethods__["link"] = _mathgl.mglData_link_set
    __swig_getmethods__["link"] = _mathgl.mglData_link_get
    if _newclass:
        link = _swig_property(_mathgl.mglData_link_get, _mathgl.mglData_link_set)

    def __init__(self, *args):
        this = _mathgl.new_mglData(*args)
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _mathgl.delete_mglData
    __del__ = lambda self: None

    def GetVal(self, i, j=0, k=0):
        return _mathgl.mglData_GetVal(self, i, j, k)

    def SetVal(self, f, i, j=0, k=0):
        return _mathgl.mglData_SetVal(self, f, i, j, k)

    def GetNx(self):
        return _mathgl.mglData_GetNx(self)

    def GetNy(self):
        return _mathgl.mglData_GetNy(self)

    def GetNz(self):
        return _mathgl.mglData_GetNz(self)

    def Link(self, *args):
        return _mathgl.mglData_Link(self, *args)

    def Set(self, *args):
        return _mathgl.mglData_Set(self, *args)

    def Create(self, mx, my=1, mz=1):
        return _mathgl.mglData_Create(self, mx, my, mz)

    def Rearrange(self, mx, my=0, mz=0):
        return _mathgl.mglData_Rearrange(self, mx, my, mz)

    def Transpose(self, *args):
        return _mathgl.mglData_Transpose(self, *args)

    def Extend(self, n1, n2=0):
        return _mathgl.mglData_Extend(self, n1, n2)

    def Squeeze(self, rx, ry=1, rz=1, smooth=False):
        return _mathgl.mglData_Squeeze(self, rx, ry, rz, smooth)

    def Crop(self, *args):
        return _mathgl.mglData_Crop(self, *args)

    def Insert(self, dir, at=0, num=1):
        return _mathgl.mglData_Insert(self, dir, at, num)

    def Delete(self, dir, at=0, num=1):
        return _mathgl.mglData_Delete(self, dir, at, num)

    def Clean(self, id):
        return _mathgl.mglData_Clean(self, id)

    def Join(self, d):
        return _mathgl.mglData_Join(self, d)

    def Modify(self, *args):
        return _mathgl.mglData_Modify(self, *args)

    def Fill(self, *args):
        return _mathgl.mglData_Fill(self, *args)

    def RefillGS(self, xdat, vdat, x1, x2, sl=-1):
        return _mathgl.mglData_RefillGS(self, xdat, vdat, x1, x2, sl)

    def Refill(self, *args):
        return _mathgl.mglData_Refill(self, *args)

    def Grid(self, *args):
        return _mathgl.mglData_Grid(self, *args)

    def Put(self, *args):
        return _mathgl.mglData_Put(self, *args)

    def SetColumnId(self, ids):
        return _mathgl.mglData_SetColumnId(self, ids)

    def NewId(self):
        return _mathgl.mglData_NewId(self)

    def Read(self, *args):
        return _mathgl.mglData_Read(self, *args)

    def Save(self, fname, ns=-1):
        return _mathgl.mglData_Save(self, fname, ns)

    def Export(self, fname, scheme, v1=0, v2=0, ns=-1):
        return _mathgl.mglData_Export(self, fname, scheme, v1, v2, ns)

    def Import(self, fname, scheme, v1=0, v2=1):
        return _mathgl.mglData_Import(self, fname, scheme, v1, v2)

    def ReadRange(self, templ, arg3, to, step=1, as_slice=False):
        return _mathgl.mglData_ReadRange(self, templ, arg3, to, step, as_slice)

    def ReadAll(self, templ, as_slice=False):
        return _mathgl.mglData_ReadAll(self, templ, as_slice)

    def ReadMat(self, fname, dim=2):
        return _mathgl.mglData_ReadMat(self, fname, dim)

    def ReadHDF(self, fname, data):
        return _mathgl.mglData_ReadHDF(self, fname, data)

    def SaveHDF(self, fname, data, rewrite=False):
        return _mathgl.mglData_SaveHDF(self, fname, data, rewrite)
    __swig_getmethods__["DatasHDF"] = lambda x: _mathgl.mglData_DatasHDF
    if _newclass:
        DatasHDF = staticmethod(_mathgl.mglData_DatasHDF)

    def Column(self, eq):
        return _mathgl.mglData_Column(self, eq)

    def SubData(self, *args):
        return _mathgl.mglData_SubData(self, *args)

    def Trace(self):
        return _mathgl.mglData_Trace(self)

    def Hist(self, *args):
        return _mathgl.mglData_Hist(self, *args)

    def Sum(self, dir):
        return _mathgl.mglData_Sum(self, dir)

    def Max(self, dir):
        return _mathgl.mglData_Max(self, dir)

    def Min(self, dir):
        return _mathgl.mglData_Min(self, dir)

    def Combine(self, dat):
        return _mathgl.mglData_Combine(self, dat)

    def Resize(self, mx, my=0, mz=0, x1=0, x2=1, y1=0, y2=1, z1=0, z2=1):
        return _mathgl.mglData_Resize(self, mx, my, mz, x1, x2, y1, y2, z1, z2)

    def Evaluate(self, *args):
        return _mathgl.mglData_Evaluate(self, *args)

    def Roots(self, *args):
        return _mathgl.mglData_Roots(self, *args)

    def Correl(self, dat, dir):
        return _mathgl.mglData_Correl(self, dat, dir)

    def AutoCorrel(self, dir):
        return _mathgl.mglData_AutoCorrel(self, dir)

    def CumSum(self, dir):
        return _mathgl.mglData_CumSum(self, dir)

    def Integral(self, dir):
        return _mathgl.mglData_Integral(self, dir)

    def Diff(self, *args):
        return _mathgl.mglData_Diff(self, *args)

    def Diff2(self, dir):
        return _mathgl.mglData_Diff2(self, dir)

    def Swap(self, dir):
        return _mathgl.mglData_Swap(self, dir)

    def Roll(self, dir, num):
        return _mathgl.mglData_Roll(self, dir, num)

    def Mirror(self, dir):
        return _mathgl.mglData_Mirror(self, dir)

    def Sort(self, idx, idy=-1):
        return _mathgl.mglData_Sort(self, idx, idy)

    def Envelop(self, *args):
        return _mathgl.mglData_Envelop(self, *args)

    def Sew(self, *args):
        return _mathgl.mglData_Sew(self, *args)

    def Smooth(self, *args):
        return _mathgl.mglData_Smooth(self, *args)

    def Norm(self, v1=0, v2=1, sym=False, dim=0):
        return _mathgl.mglData_Norm(self, v1, v2, sym, dim)

    def NormSl(self, *args):
        return _mathgl.mglData_NormSl(self, *args)

    def Hankel(self, dir):
        return _mathgl.mglData_Hankel(self, dir)

    def SinFFT(self, dir):
        return _mathgl.mglData_SinFFT(self, dir)

    def CosFFT(self, dir):
        return _mathgl.mglData_CosFFT(self, dir)

    def FillSample(self, how):
        return _mathgl.mglData_FillSample(self, how)

    def Solve(self, *args):
        return _mathgl.mglData_Solve(self, *args)

    def Spline(self, *args):
        return _mathgl.mglData_Spline(self, *args)

    def Spline1(self, *args):
        return _mathgl.mglData_Spline1(self, *args)

    def Linear(self, *args):
        return _mathgl.mglData_Linear(self, *args)

    def Linear1(self, *args):
        return _mathgl.mglData_Linear1(self, *args)

    def PrintInfo(self, *args):
        return _mathgl.mglData_PrintInfo(self, *args)

    def MaximalNeg(self):
        return _mathgl.mglData_MaximalNeg(self)

    def MinimalPos(self):
        return _mathgl.mglData_MinimalPos(self)

    def Maximal(self, *args):
        return _mathgl.mglData_Maximal(self, *args)

    def Minimal(self, *args):
        return _mathgl.mglData_Minimal(self, *args)

    def Momentum(self, *args):
        return _mathgl.mglData_Momentum(self, *args)

    def Last(self, cond, i, j, k):
        return _mathgl.mglData_Last(self, cond, i, j, k)

    def Find(self, *args):
        return _mathgl.mglData_Find(self, *args)

    def FindAny(self, cond):
        return _mathgl.mglData_FindAny(self, cond)

    def __getitem__(self, i):
        return _mathgl.mglData___getitem__(self, i)

    def __paren(self, i):
        return _mathgl.mglData___paren(self, i)

    def __setitem__(self, i, y):
        return _mathgl.mglData___setitem__(self, i, y)

    def __paren_asgn(self, i, y):
        return _mathgl.mglData___paren_asgn(self, i, y)
mglData_swigregister = _mathgl.mglData_swigregister
mglData_swigregister(mglData)

def mglData_DatasHDF(fname, buf, size):
    return _mathgl.mglData_DatasHDF(fname, buf, size)
mglData_DatasHDF = _mathgl.mglData_DatasHDF


def mglTransformA(am, ph, tr):
    return _mathgl.mglTransformA(am, ph, tr)
mglTransformA = _mathgl.mglTransformA

def mglTransform(re, im, tr):
    return _mathgl.mglTransform(re, im, tr)
mglTransform = _mathgl.mglTransform

def mglFourier(re, im, dir):
    return _mathgl.mglFourier(re, im, dir)
mglFourier = _mathgl.mglFourier

def mglSTFA(*args):
    return _mathgl.mglSTFA(*args)
mglSTFA = _mathgl.mglSTFA

def mglPDE(*args):
    return _mathgl.mglPDE(*args)
mglPDE = _mathgl.mglPDE

def mglQO2d(*args):
    return _mathgl.mglQO2d(*args)
mglQO2d = _mathgl.mglQO2d

def mglQO3d(*args):
    return _mathgl.mglQO3d(*args)
mglQO3d = _mathgl.mglQO3d

def mglRay(ham, r0, p0, dt=0.1, tmax=10):
    return _mathgl.mglRay(ham, r0, p0, dt, tmax)
mglRay = _mathgl.mglRay

def mglODE(df, var, ini, dt=0.1, tmax=10):
    return _mathgl.mglODE(df, var, ini, dt, tmax)
mglODE = _mathgl.mglODE

def mglJacobian(*args):
    return _mathgl.mglJacobian(*args)
mglJacobian = _mathgl.mglJacobian

def mglTriangulation(*args):
    return _mathgl.mglTriangulation(*args)
mglTriangulation = _mathgl.mglTriangulation

def mglSubData(*args):
    return _mathgl.mglSubData(*args)
mglSubData = _mathgl.mglSubData

def mglGSplineInit(xdat, ydat):
    return _mathgl.mglGSplineInit(xdat, ydat)
mglGSplineInit = _mathgl.mglGSplineInit

def mglGSpline(coef, dx, d1=None, d2=None):
    return _mathgl.mglGSpline(coef, dx, d1, d2)
mglGSpline = _mathgl.mglGSpline
class mglExpr(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, mglExpr, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, mglExpr, name)
    __repr__ = _swig_repr

    def __init__(self, expr):
        this = _mathgl.new_mglExpr(expr)
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _mathgl.delete_mglExpr
    __del__ = lambda self: None

    def Eval(self, x, y=0, z=0):
        return _mathgl.mglExpr_Eval(self, x, y, z)

    def Diff(self, dir, x, y=0, z=0):
        return _mathgl.mglExpr_Diff(self, dir, x, y, z)
mglExpr_swigregister = _mathgl.mglExpr_swigregister
mglExpr_swigregister(mglExpr)

class mglGraph(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, mglGraph, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, mglGraph, name)
    __repr__ = _swig_repr

    def __init__(self, *args):
        this = _mathgl.new_mglGraph(*args)
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _mathgl.delete_mglGraph
    __del__ = lambda self: None

    def Self(self):
        return _mathgl.mglGraph_Self(self)

    def DefaultPlotParam(self):
        return _mathgl.mglGraph_DefaultPlotParam(self)

    def SetPlotId(self, id):
        return _mathgl.mglGraph_SetPlotId(self, id)

    def GetPlotId(self):
        return _mathgl.mglGraph_GetPlotId(self)

    def Stop(self, stop=True):
        return _mathgl.mglGraph_Stop(self, stop)

    def NeedStop(self):
        return _mathgl.mglGraph_NeedStop(self)

    def SetEventFunc(self, func, par=None):
        return _mathgl.mglGraph_SetEventFunc(self, func, par)

    def Alpha(self, enable):
        return _mathgl.mglGraph_Alpha(self, enable)

    def SetAlphaDef(self, alpha):
        return _mathgl.mglGraph_SetAlphaDef(self, alpha)

    def SetTranspType(self, type):
        return _mathgl.mglGraph_SetTranspType(self, type)

    def Light(self, *args):
        return _mathgl.mglGraph_Light(self, *args)

    def SetDifLight(self, dif):
        return _mathgl.mglGraph_SetDifLight(self, dif)

    def AddLight(self, *args):
        return _mathgl.mglGraph_AddLight(self, *args)

    def SetAmbient(self, i):
        return _mathgl.mglGraph_SetAmbient(self, i)

    def SetDiffuse(self, i):
        return _mathgl.mglGraph_SetDiffuse(self, i)

    def Fog(self, d, dz=0.25):
        return _mathgl.mglGraph_Fog(self, d, dz)

    def SetBarWidth(self, width):
        return _mathgl.mglGraph_SetBarWidth(self, width)

    def SetMarkSize(self, size):
        return _mathgl.mglGraph_SetMarkSize(self, size)

    def SetArrowSize(self, size):
        return _mathgl.mglGraph_SetArrowSize(self, size)

    def SetMeshNum(self, num):
        return _mathgl.mglGraph_SetMeshNum(self, num)

    def SetFaceNum(self, num):
        return _mathgl.mglGraph_SetFaceNum(self, num)

    def SetCut(self, cut):
        return _mathgl.mglGraph_SetCut(self, cut)

    def SetCutBox(self, p1, p2):
        return _mathgl.mglGraph_SetCutBox(self, p1, p2)

    def CutOff(self, EqC):
        return _mathgl.mglGraph_CutOff(self, EqC)

    def SetFontSize(self, size):
        return _mathgl.mglGraph_SetFontSize(self, size)

    def SetFontDef(self, fnt):
        return _mathgl.mglGraph_SetFontDef(self, fnt)

    def SetFontSizePT(self, pt, dpi=72):
        return _mathgl.mglGraph_SetFontSizePT(self, pt, dpi)

    def SetFontSizeCM(self, cm, dpi=72):
        return _mathgl.mglGraph_SetFontSizeCM(self, cm, dpi)

    def SetFontSizeIN(self, arg2, dpi=72):
        return _mathgl.mglGraph_SetFontSizeIN(self, arg2, dpi)

    def LoadFont(self, name, path=None):
        return _mathgl.mglGraph_LoadFont(self, name, path)

    def CopyFont(self, GR):
        return _mathgl.mglGraph_CopyFont(self, GR)

    def RestoreFont(self):
        return _mathgl.mglGraph_RestoreFont(self)

    def SetRotatedText(self, rotated):
        return _mathgl.mglGraph_SetRotatedText(self, rotated)

    def SetPalette(self, colors):
        return _mathgl.mglGraph_SetPalette(self, colors)

    def SetDefScheme(self, sch):
        return _mathgl.mglGraph_SetDefScheme(self, sch)
    __swig_getmethods__["SetColor"] = lambda x: _mathgl.mglGraph_SetColor
    if _newclass:
        SetColor = staticmethod(_mathgl.mglGraph_SetColor)
    __swig_getmethods__["SetMask"] = lambda x: _mathgl.mglGraph_SetMask
    if _newclass:
        SetMask = staticmethod(_mathgl.mglGraph_SetMask)

    def SetMaskAngle(self, angle):
        return _mathgl.mglGraph_SetMaskAngle(self, angle)

    def GetWarn(self):
        return _mathgl.mglGraph_GetWarn(self)

    def SetWarn(self, code, info):
        return _mathgl.mglGraph_SetWarn(self, code, info)

    def Message(self):
        return _mathgl.mglGraph_Message(self)

    def ZoomAxis(self, *args):
        return _mathgl.mglGraph_ZoomAxis(self, *args)

    def AddRange(self, dir, v1, v2):
        return _mathgl.mglGraph_AddRange(self, dir, v1, v2)

    def SetRange(self, *args):
        return _mathgl.mglGraph_SetRange(self, *args)

    def SetRanges(self, *args):
        return _mathgl.mglGraph_SetRanges(self, *args)

    def SetAutoRanges(self, *args):
        return _mathgl.mglGraph_SetAutoRanges(self, *args)

    def SetOrigin(self, *args):
        return _mathgl.mglGraph_SetOrigin(self, *args)

    def SetFunc(self, EqX, EqY, EqZ=None, EqA=None):
        return _mathgl.mglGraph_SetFunc(self, EqX, EqY, EqZ, EqA)

    def SetCoor(self, how):
        return _mathgl.mglGraph_SetCoor(self, how)

    def Ternary(self, val):
        return _mathgl.mglGraph_Ternary(self, val)

    def SetTickRotate(self, val):
        return _mathgl.mglGraph_SetTickRotate(self, val)

    def SetTickSkip(self, val):
        return _mathgl.mglGraph_SetTickSkip(self, val)

    def SetTickLen(self, len, stt=1):
        return _mathgl.mglGraph_SetTickLen(self, len, stt)

    def SetAxisStl(self, *args):
        return _mathgl.mglGraph_SetAxisStl(self, *args)

    def SetTicksTime(self, *args):
        return _mathgl.mglGraph_SetTicksTime(self, *args)

    def SetTicksVal(self, *args):
        return _mathgl.mglGraph_SetTicksVal(self, *args)

    def AddTick(self, *args):
        return _mathgl.mglGraph_AddTick(self, *args)

    def SetTicks(self, *args):
        return _mathgl.mglGraph_SetTicks(self, *args)

    def Adjust(self, *args):
        return _mathgl.mglGraph_Adjust(self, *args)

    def SetTickTempl(self, *args):
        return _mathgl.mglGraph_SetTickTempl(self, *args)

    def SetTuneTicks(self, tune, fact_pos=1.15):
        return _mathgl.mglGraph_SetTuneTicks(self, tune, fact_pos)

    def SetTickShift(self, p):
        return _mathgl.mglGraph_SetTickShift(self, p)

    def SetTimeUTC(self, enable):
        return _mathgl.mglGraph_SetTimeUTC(self, enable)

    def SetOriginTick(self, enable=True):
        return _mathgl.mglGraph_SetOriginTick(self, enable)

    def SubPlot(self, *args):
        return _mathgl.mglGraph_SubPlot(self, *args)

    def MultiPlot(self, *args):
        return _mathgl.mglGraph_MultiPlot(self, *args)

    def InPlot(self, x1, x2, y1, y2, rel=True):
        return _mathgl.mglGraph_InPlot(self, x1, x2, y1, y2, rel)

    def ColumnPlot(self, num, ind, d=0):
        return _mathgl.mglGraph_ColumnPlot(self, num, ind, d)

    def GridPlot(self, nx, ny, ind, d=0):
        return _mathgl.mglGraph_GridPlot(self, nx, ny, ind, d)

    def StickPlot(self, num, i, tet, phi):
        return _mathgl.mglGraph_StickPlot(self, num, i, tet, phi)

    def SetPlotFactor(self, val):
        return _mathgl.mglGraph_SetPlotFactor(self, val)

    def Push(self):
        return _mathgl.mglGraph_Push(self)

    def Pop(self):
        return _mathgl.mglGraph_Pop(self)

    def Title(self, *args):
        return _mathgl.mglGraph_Title(self, *args)

    def Aspect(self, Ax, Ay, Az=1):
        return _mathgl.mglGraph_Aspect(self, Ax, Ay, Az)

    def Rotate(self, TetX, TetZ=0, TetY=0):
        return _mathgl.mglGraph_Rotate(self, TetX, TetZ, TetY)

    def RotateN(self, Tet, x, y, z):
        return _mathgl.mglGraph_RotateN(self, Tet, x, y, z)

    def Perspective(self, val):
        return _mathgl.mglGraph_Perspective(self, val)

    def View(self, TetX, TetZ=0, TetY=0):
        return _mathgl.mglGraph_View(self, TetX, TetZ, TetY)

    def ViewAsRotate(self, TetZ, TetX, TetY=0):
        return _mathgl.mglGraph_ViewAsRotate(self, TetZ, TetX, TetY)

    def Zoom(self, x1, y1, x2, y2):
        return _mathgl.mglGraph_Zoom(self, x1, y1, x2, y2)

    def SetSize(self, width, height):
        return _mathgl.mglGraph_SetSize(self, width, height)

    def SetQuality(self, *args):
        return _mathgl.mglGraph_SetQuality(self, *args)

    def GetQuality(self):
        return _mathgl.mglGraph_GetQuality(self)

    def SetDrawReg(self, nx=1, ny=1, m=0):
        return _mathgl.mglGraph_SetDrawReg(self, nx, ny, m)

    def StartGroup(self, name):
        return _mathgl.mglGraph_StartGroup(self, name)

    def EndGroup(self):
        return _mathgl.mglGraph_EndGroup(self)

    def Highlight(self, id):
        return _mathgl.mglGraph_Highlight(self, id)

    def ShowImage(self, viewer, keep=False):
        return _mathgl.mglGraph_ShowImage(self, viewer, keep)

    def WriteFrame(self, *args):
        return _mathgl.mglGraph_WriteFrame(self, *args)

    def WriteJPEG(self, *args):
        return _mathgl.mglGraph_WriteJPEG(self, *args)

    def WritePNG(self, *args):
        return _mathgl.mglGraph_WritePNG(self, *args)

    def WriteBMP(self, *args):
        return _mathgl.mglGraph_WriteBMP(self, *args)

    def WriteTGA(self, *args):
        return _mathgl.mglGraph_WriteTGA(self, *args)

    def WriteEPS(self, *args):
        return _mathgl.mglGraph_WriteEPS(self, *args)

    def WriteTEX(self, *args):
        return _mathgl.mglGraph_WriteTEX(self, *args)

    def WriteBPS(self, *args):
        return _mathgl.mglGraph_WriteBPS(self, *args)

    def WriteSVG(self, *args):
        return _mathgl.mglGraph_WriteSVG(self, *args)

    def WriteGIF(self, *args):
        return _mathgl.mglGraph_WriteGIF(self, *args)

    def WriteOBJ(self, *args):
        return _mathgl.mglGraph_WriteOBJ(self, *args)

    def WriteOBJold(self, *args):
        return _mathgl.mglGraph_WriteOBJold(self, *args)

    def WriteXYZ(self, *args):
        return _mathgl.mglGraph_WriteXYZ(self, *args)

    def WriteSTL(self, *args):
        return _mathgl.mglGraph_WriteSTL(self, *args)

    def WriteOFF(self, *args):
        return _mathgl.mglGraph_WriteOFF(self, *args)

    def WritePRC(self, *args):
        return _mathgl.mglGraph_WritePRC(self, *args)

    def WriteJSON(self, *args):
        return _mathgl.mglGraph_WriteJSON(self, *args)

    def GetJSON(self):
        return _mathgl.mglGraph_GetJSON(self)

    def Finish(self):
        return _mathgl.mglGraph_Finish(self)

    def NewFrame(self):
        return _mathgl.mglGraph_NewFrame(self)

    def EndFrame(self):
        return _mathgl.mglGraph_EndFrame(self)

    def GetNumFrame(self):
        return _mathgl.mglGraph_GetNumFrame(self)

    def ResetFrames(self):
        return _mathgl.mglGraph_ResetFrames(self)

    def DelFrame(self, i):
        return _mathgl.mglGraph_DelFrame(self, i)

    def GetFrame(self, i):
        return _mathgl.mglGraph_GetFrame(self, i)

    def SetFrame(self, i):
        return _mathgl.mglGraph_SetFrame(self, i)

    def ShowFrame(self, i):
        return _mathgl.mglGraph_ShowFrame(self, i)

    def ClearFrame(self):
        return _mathgl.mglGraph_ClearFrame(self)

    def StartGIF(self, fname, ms=100):
        return _mathgl.mglGraph_StartGIF(self, fname, ms)

    def CloseGIF(self):
        return _mathgl.mglGraph_CloseGIF(self)

    def ExportMGLD(self, fname, descr=None):
        return _mathgl.mglGraph_ExportMGLD(self, fname, descr)

    def ImportMGLD(self, fname, add=False):
        return _mathgl.mglGraph_ImportMGLD(self, fname, add)

    def GetRGB(self, *args):
        return _mathgl.mglGraph_GetRGB(self, *args)

    def GetRGBA(self, *args):
        return _mathgl.mglGraph_GetRGBA(self, *args)

    def GetBGRN(self, imgdata, imglen):
        return _mathgl.mglGraph_GetBGRN(self, imgdata, imglen)

    def GetBackground(self, *args):
        return _mathgl.mglGraph_GetBackground(self, *args)

    def GetWidth(self):
        return _mathgl.mglGraph_GetWidth(self)

    def GetHeight(self):
        return _mathgl.mglGraph_GetHeight(self)

    def CalcXYZ(self, xs, ys):
        return _mathgl.mglGraph_CalcXYZ(self, xs, ys)

    def CalcScr(self, p):
        return _mathgl.mglGraph_CalcScr(self, p)

    def SetObjId(self, id):
        return _mathgl.mglGraph_SetObjId(self, id)

    def GetObjId(self, x, y):
        return _mathgl.mglGraph_GetObjId(self, x, y)

    def GetSplId(self, x, y):
        return _mathgl.mglGraph_GetSplId(self, x, y)

    def IsActive(self, xs, ys, d=1):
        return _mathgl.mglGraph_IsActive(self, xs, ys, d)

    def Combine(self, g):
        return _mathgl.mglGraph_Combine(self, g)

    def Clf(self, *args):
        return _mathgl.mglGraph_Clf(self, *args)

    def ClearUnused(self):
        return _mathgl.mglGraph_ClearUnused(self)

    def LoadBackground(self, fname, alpha=1):
        return _mathgl.mglGraph_LoadBackground(self, fname, alpha)

    def Rasterize(self):
        return _mathgl.mglGraph_Rasterize(self)

    def Ball(self, *args):
        return _mathgl.mglGraph_Ball(self, *args)

    def Line(self, *args):
        return _mathgl.mglGraph_Line(self, *args)

    def Curve(self, *args):
        return _mathgl.mglGraph_Curve(self, *args)

    def Face(self, *args):
        return _mathgl.mglGraph_Face(self, *args)

    def FaceX(self, *args):
        return _mathgl.mglGraph_FaceX(self, *args)

    def FaceY(self, *args):
        return _mathgl.mglGraph_FaceY(self, *args)

    def FaceZ(self, *args):
        return _mathgl.mglGraph_FaceZ(self, *args)

    def Drop(self, *args):
        return _mathgl.mglGraph_Drop(self, *args)

    def Sphere(self, *args):
        return _mathgl.mglGraph_Sphere(self, *args)

    def Cone(self, *args):
        return _mathgl.mglGraph_Cone(self, *args)

    def Ellipse(self, *args):
        return _mathgl.mglGraph_Ellipse(self, *args)

    def Circle(self, *args):
        return _mathgl.mglGraph_Circle(self, *args)

    def Rhomb(self, *args):
        return _mathgl.mglGraph_Rhomb(self, *args)

    def Polygon(self, *args):
        return _mathgl.mglGraph_Polygon(self, *args)

    def Arc(self, *args):
        return _mathgl.mglGraph_Arc(self, *args)

    def Putsw(self, *args):
        return _mathgl.mglGraph_Putsw(self, *args)

    def Puts(self, *args):
        return _mathgl.mglGraph_Puts(self, *args)

    def Text(self, *args):
        return _mathgl.mglGraph_Text(self, *args)

    def Box(self, *args):
        return _mathgl.mglGraph_Box(self, *args)

    def Axis(self, *args):
        return _mathgl.mglGraph_Axis(self, *args)

    def Colorbar(self, *args):
        return _mathgl.mglGraph_Colorbar(self, *args)

    def AddLegend(self, *args):
        return _mathgl.mglGraph_AddLegend(self, *args)

    def ClearLegend(self):
        return _mathgl.mglGraph_ClearLegend(self)

    def Legend(self, *args):
        return _mathgl.mglGraph_Legend(self, *args)

    def SetLegendMarks(self, num):
        return _mathgl.mglGraph_SetLegendMarks(self, num)

    def Plot(self, *args):
        return _mathgl.mglGraph_Plot(self, *args)

    def Tape(self, *args):
        return _mathgl.mglGraph_Tape(self, *args)

    def Radar(self, *args):
        return _mathgl.mglGraph_Radar(self, *args)

    def Step(self, *args):
        return _mathgl.mglGraph_Step(self, *args)

    def Tens(self, *args):
        return _mathgl.mglGraph_Tens(self, *args)

    def Area(self, *args):
        return _mathgl.mglGraph_Area(self, *args)

    def Region(self, *args):
        return _mathgl.mglGraph_Region(self, *args)

    def Stem(self, *args):
        return _mathgl.mglGraph_Stem(self, *args)

    def Bars(self, *args):
        return _mathgl.mglGraph_Bars(self, *args)

    def Barh(self, *args):
        return _mathgl.mglGraph_Barh(self, *args)

    def Chart(self, *args):
        return _mathgl.mglGraph_Chart(self, *args)

    def OHLC(self, *args):
        return _mathgl.mglGraph_OHLC(self, *args)

    def BoxPlot(self, *args):
        return _mathgl.mglGraph_BoxPlot(self, *args)

    def Candle(self, *args):
        return _mathgl.mglGraph_Candle(self, *args)

    def Cones(self, *args):
        return _mathgl.mglGraph_Cones(self, *args)

    def Error(self, *args):
        return _mathgl.mglGraph_Error(self, *args)

    def Mark(self, *args):
        return _mathgl.mglGraph_Mark(self, *args)

    def TextMark(self, *args):
        return _mathgl.mglGraph_TextMark(self, *args)

    def Label(self, *args):
        return _mathgl.mglGraph_Label(self, *args)

    def Table(self, *args):
        return _mathgl.mglGraph_Table(self, *args)

    def Tube(self, *args):
        return _mathgl.mglGraph_Tube(self, *args)

    def Torus(self, *args):
        return _mathgl.mglGraph_Torus(self, *args)

    def Mesh(self, *args):
        return _mathgl.mglGraph_Mesh(self, *args)

    def Fall(self, *args):
        return _mathgl.mglGraph_Fall(self, *args)

    def Belt(self, *args):
        return _mathgl.mglGraph_Belt(self, *args)

    def Surf(self, *args):
        return _mathgl.mglGraph_Surf(self, *args)

    def Grid(self, *args):
        return _mathgl.mglGraph_Grid(self, *args)

    def Tile(self, *args):
        return _mathgl.mglGraph_Tile(self, *args)

    def Dens(self, *args):
        return _mathgl.mglGraph_Dens(self, *args)

    def Boxs(self, *args):
        return _mathgl.mglGraph_Boxs(self, *args)

    def Cont(self, *args):
        return _mathgl.mglGraph_Cont(self, *args)

    def ContF(self, *args):
        return _mathgl.mglGraph_ContF(self, *args)

    def ContD(self, *args):
        return _mathgl.mglGraph_ContD(self, *args)

    def ContV(self, *args):
        return _mathgl.mglGraph_ContV(self, *args)

    def Axial(self, *args):
        return _mathgl.mglGraph_Axial(self, *args)

    def Grid3(self, *args):
        return _mathgl.mglGraph_Grid3(self, *args)

    def Dens3(self, *args):
        return _mathgl.mglGraph_Dens3(self, *args)

    def Surf3(self, *args):
        return _mathgl.mglGraph_Surf3(self, *args)

    def Cloud(self, *args):
        return _mathgl.mglGraph_Cloud(self, *args)

    def Cont3(self, *args):
        return _mathgl.mglGraph_Cont3(self, *args)

    def ContF3(self, *args):
        return _mathgl.mglGraph_ContF3(self, *args)

    def Beam(self, *args):
        return _mathgl.mglGraph_Beam(self, *args)

    def TileS(self, *args):
        return _mathgl.mglGraph_TileS(self, *args)

    def SurfC(self, *args):
        return _mathgl.mglGraph_SurfC(self, *args)

    def SurfA(self, *args):
        return _mathgl.mglGraph_SurfA(self, *args)

    def Map(self, *args):
        return _mathgl.mglGraph_Map(self, *args)

    def STFA(self, *args):
        return _mathgl.mglGraph_STFA(self, *args)

    def Surf3A(self, *args):
        return _mathgl.mglGraph_Surf3A(self, *args)

    def Surf3C(self, *args):
        return _mathgl.mglGraph_Surf3C(self, *args)

    def Dew(self, *args):
        return _mathgl.mglGraph_Dew(self, *args)

    def Traj(self, *args):
        return _mathgl.mglGraph_Traj(self, *args)

    def Vect(self, *args):
        return _mathgl.mglGraph_Vect(self, *args)

    def Vect3(self, *args):
        return _mathgl.mglGraph_Vect3(self, *args)

    def Flow(self, *args):
        return _mathgl.mglGraph_Flow(self, *args)

    def FlowP(self, *args):
        return _mathgl.mglGraph_FlowP(self, *args)

    def Grad(self, *args):
        return _mathgl.mglGraph_Grad(self, *args)

    def Pipe(self, *args):
        return _mathgl.mglGraph_Pipe(self, *args)

    def DensX(self, *args):
        return _mathgl.mglGraph_DensX(self, *args)

    def DensY(self, *args):
        return _mathgl.mglGraph_DensY(self, *args)

    def DensZ(self, *args):
        return _mathgl.mglGraph_DensZ(self, *args)

    def ContX(self, *args):
        return _mathgl.mglGraph_ContX(self, *args)

    def ContY(self, *args):
        return _mathgl.mglGraph_ContY(self, *args)

    def ContZ(self, *args):
        return _mathgl.mglGraph_ContZ(self, *args)

    def ContFX(self, *args):
        return _mathgl.mglGraph_ContFX(self, *args)

    def ContFY(self, *args):
        return _mathgl.mglGraph_ContFY(self, *args)

    def ContFZ(self, *args):
        return _mathgl.mglGraph_ContFZ(self, *args)

    def FPlot(self, *args):
        return _mathgl.mglGraph_FPlot(self, *args)

    def FSurf(self, *args):
        return _mathgl.mglGraph_FSurf(self, *args)

    def TriPlot(self, *args):
        return _mathgl.mglGraph_TriPlot(self, *args)

    def QuadPlot(self, *args):
        return _mathgl.mglGraph_QuadPlot(self, *args)

    def TriContV(self, *args):
        return _mathgl.mglGraph_TriContV(self, *args)

    def TriCont(self, *args):
        return _mathgl.mglGraph_TriCont(self, *args)

    def TriContVt(self, *args):
        return _mathgl.mglGraph_TriContVt(self, *args)

    def Dots(self, *args):
        return _mathgl.mglGraph_Dots(self, *args)

    def Crust(self, *args):
        return _mathgl.mglGraph_Crust(self, *args)

    def Fit2(self, *args):
        return _mathgl.mglGraph_Fit2(self, *args)

    def Fit3(self, *args):
        return _mathgl.mglGraph_Fit3(self, *args)

    def Fit(self, *args):
        return _mathgl.mglGraph_Fit(self, *args)

    def FitS(self, *args):
        return _mathgl.mglGraph_FitS(self, *args)

    def PutsFit(self, *args):
        return _mathgl.mglGraph_PutsFit(self, *args)

    def GetFit(self):
        return _mathgl.mglGraph_GetFit(self)

    def PDE(self, *args):
        return _mathgl.mglGraph_PDE(self, *args)

    def Fill(self, *args):
        return _mathgl.mglGraph_Fill(self, *args)

    def Refill(self, *args):
        return _mathgl.mglGraph_Refill(self, *args)

    def DataGrid(self, *args):
        return _mathgl.mglGraph_DataGrid(self, *args)

    def Hist(self, *args):
        return _mathgl.mglGraph_Hist(self, *args)

    def Compression(self, arg2):
        return _mathgl.mglGraph_Compression(self, arg2)

    def VertexColor(self, enable):
        return _mathgl.mglGraph_VertexColor(self, enable)

    def DoubleSided(self, enable):
        return _mathgl.mglGraph_DoubleSided(self, enable)
mglGraph_swigregister = _mathgl.mglGraph_swigregister
mglGraph_swigregister(mglGraph)

def mglGraph_SetColor(id, r, g, b):
    return _mathgl.mglGraph_SetColor(id, r, g, b)
mglGraph_SetColor = _mathgl.mglGraph_SetColor

def mglGraph_SetMask(*args):
    return _mathgl.mglGraph_SetMask(*args)
mglGraph_SetMask = _mathgl.mglGraph_SetMask

class mglParse(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, mglParse, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, mglParse, name)
    __repr__ = _swig_repr

    def __init__(self, *args):
        this = _mathgl.new_mglParse(*args)
        try:
            self.this.append(this)
        except Exception:
            self.this = this
    __swig_destroy__ = _mathgl.delete_mglParse
    __del__ = lambda self: None

    def Self(self):
        return _mathgl.mglParse_Self(self)

    def Parse(self, *args):
        return _mathgl.mglParse_Parse(self, *args)

    def Execute(self, *args):
        return _mathgl.mglParse_Execute(self, *args)

    def CmdType(self, name):
        return _mathgl.mglParse_CmdType(self, name)

    def CmdFormat(self, name):
        return _mathgl.mglParse_CmdFormat(self, name)

    def CmdDesc(self, name):
        return _mathgl.mglParse_CmdDesc(self, name)

    def GetCmdName(self, n):
        return _mathgl.mglParse_GetCmdName(self, n)

    def GetCmdNum(self):
        return _mathgl.mglParse_GetCmdNum(self)

    def AddParam(self, *args):
        return _mathgl.mglParse_AddParam(self, *args)

    def RestoreOnce(self):
        return _mathgl.mglParse_RestoreOnce(self)

    def AllowSetSize(self, allow):
        return _mathgl.mglParse_AllowSetSize(self, allow)

    def AllowFileIO(self, allow):
        return _mathgl.mglParse_AllowFileIO(self, allow)

    def Stop(self):
        return _mathgl.mglParse_Stop(self)

    def Calc(self, *args):
        return _mathgl.mglParse_Calc(self, *args)

    def AddVar(self, *args):
        return _mathgl.mglParse_AddVar(self, *args)

    def FindVar(self, *args):
        return _mathgl.mglParse_FindVar(self, *args)

    def GetVar(self, id):
        return _mathgl.mglParse_GetVar(self, id)

    def GetNumVar(self):
        return _mathgl.mglParse_GetNumVar(self)

    def DeleteVar(self, *args):
        return _mathgl.mglParse_DeleteVar(self, *args)

    def DeleteAll(self):
        return _mathgl.mglParse_DeleteAll(self)
mglParse_swigregister = _mathgl.mglParse_swigregister
mglParse_swigregister(mglParse)

# This file is compatible with both classic and new-style classes.