[ Index ] |
|
Code source de DokuWiki 2006-11-06 |
1 <?php 2 /************************************************************************************* 3 * matlab.php 4 * ----------- 5 * Author: Florian Knorn (floz@gmx.de) 6 * Copyright: (c) 2004 Florian Knorn (http://www.florian-knorn.com) 7 * Release Version: 1.0.7.15 8 * CVS Revision Version: $Revision: 1.15.2.4 $ 9 * Date Started: 2005/02/09 10 * Last Modified: $Date: 2006/09/23 02:05:47 $ 11 * 12 * Matlab M-file language file for GeSHi. 13 * 14 * CHANGES 15 * ------- 16 * 2006-03-25 17 * - support for the transpose operator 18 * - many keywords added 19 * - links to the matlab documentation at mathworks 20 * by: Olivier Verdier (olivier.verdier@free.fr) 21 * 2005/05/07 (1.0.0) 22 * - First Release 23 * 24 * 25 ************************************************************************************* 26 * 27 * This file is part of GeSHi. 28 * 29 * GeSHi is free software; you can redistribute it and/or modify 30 * it under the terms of the GNU General Public License as published by 31 * the Free Software Foundation; either version 2 of the License, or 32 * (at your option) any later version. 33 * 34 * GeSHi is distributed in the hope that it will be useful, 35 * but WITHOUT ANY WARRANTY; without even the implied warranty of 36 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 37 * GNU General Public License for more details. 38 * 39 * You should have received a copy of the GNU General Public License 40 * along with GeSHi; if not, write to the Free Software 41 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 42 * 43 ************************************************************************************/ 44 45 $language_data = array ( 46 'LANG_NAME' => 'Matlab M', 47 'COMMENT_SINGLE' => array(1 => '%'), 48 'COMMENT_MULTI' => array(), 49 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 50 'QUOTEMARKS' => array(), 51 'ESCAPE_CHAR' => '', 52 'KEYWORDS' => array( 53 1 => array( 54 'break', 'case', 'catch', 'continue', 'elseif', 'else', 'end', 'for', 55 'function', 'global', 'if', 'otherwise', 'persistent', 'return', 56 'switch', 'try', 'while','...' 57 ), 58 2 => array( 59 'all', 60 'any', 61 'exist', 62 'find', 63 'is', 64 'isa', 65 'logical', 66 'mislocked', 67 68 'builtin', 69 'eval', 70 'evalc', 71 'evalin', 72 'feval', 73 'function', 74 'global', 75 'nargchk', 76 'persistent', 77 'script', 78 'break', 79 'case', 80 'catch', 81 'else', 82 'elseif', 83 'end', 84 'error', 85 'for', 86 'if', 87 'otherwise', 88 'return', 89 'switch', 90 'try', 91 'warning', 92 'while', 93 'input', 94 'keyboard', 95 'menu', 96 'pause', 97 'class', 98 'double', 99 'inferiorto', 100 'inline', 101 'int8', 102 'int16', 103 'int32', 104 'isa', 105 'loadobj', 106 'saveobj', 107 'single', 108 'superiorto', 109 'uint8', 110 'int16', 111 'uint32', 112 'dbclear', 113 'dbcont', 114 'dbdown', 115 'dbmex', 116 'dbquit', 117 'dbstack', 118 'dbstatus', 119 'dbstep', 120 'dbstop', 121 'dbtype', 122 'dbup', 123 124 'blkdiag', 125 'eye', 126 'linspace', 127 'logspace', 128 'ones', 129 'rand', 130 'randn', 131 'zeros', 132 'ans', 133 'computer', 134 'eps', 135 'flops', 136 'i', 137 'Inf', 138 'inputname', 139 'j', 140 'NaN', 141 'nargin', 142 'nargout', 143 'pi', 144 'realmax', 145 'realmin', 146 'varargin', 147 'varargout', 148 'calendar', 149 'clock', 150 'cputime', 151 'date', 152 'datenum', 153 'datestr', 154 'datevec', 155 'eomday', 156 'etime', 157 'now', 158 'tic', 159 'toc', 160 'weekday', 161 'cat', 162 'diag', 163 'fliplr', 164 'flipud', 165 'repmat', 166 'reshape', 167 'rot90', 168 'tril', 169 'triu', 170 'compan', 171 'gallery', 172 'hadamard', 173 'hankel', 174 'hilb', 175 'invhilb', 176 'magic', 177 'pascal', 178 'toeplitz', 179 'wilkinson', 180 'abs', 181 'acos', 182 'acosh', 183 'acot', 184 'acoth', 185 'acsc', 186 'acsch', 187 'angle', 188 'asec', 189 'asech', 190 'asin', 191 'asinh', 192 'atan', 193 'atanh', 194 'atan2', 195 'ceil', 196 'complex', 197 'conj', 198 'cos', 199 'cosh', 200 'cot', 201 'coth', 202 'csc', 203 'csch', 204 'exp', 205 'fix', 206 'floor', 207 'gcd', 208 'imag', 209 'lcm', 210 'log', 211 'log2', 212 'log10', 213 'mod', 214 'nchoosek', 215 'real', 216 'rem', 217 'round', 218 'sec', 219 'sech', 220 'sign', 221 'sin', 222 'sinh', 223 'sqrt', 224 'tan', 225 'tanh', 226 'airy', 227 'besselh', 228 'besseli', 229 'besselk', 230 'besselj', 231 'Bessely', 232 'beta', 233 'betainc', 234 'betaln', 235 'ellipj', 236 'ellipke', 237 'erf', 238 'erfc', 239 'erfcx', 240 'erfiny', 241 'expint', 242 'factorial', 243 'gamma', 244 'gammainc', 245 'gammaln', 246 'legendre', 247 'pow2', 248 'rat', 249 'rats', 250 'cart2pol', 251 'cart2sph', 252 'pol2cart', 253 'sph2cart', 254 'abs', 255 'eval', 256 'real', 257 'strings', 258 'deblank', 259 'findstr', 260 'lower', 261 'strcat', 262 'strcmp', 263 'strcmpi', 264 'strjust', 265 'strmatch', 266 'strncmp', 267 'strrep', 268 'strtok', 269 'strvcat', 270 'symvar', 271 'texlabel', 272 'upper', 273 'char', 274 'int2str', 275 'mat2str', 276 'num2str', 277 'sprintf', 278 'sscanf', 279 'str2double', 280 'str2num', 281 'bin2dec', 282 'dec2bin', 283 'dec2hex', 284 'hex2dec', 285 'hex2num', 286 'fclose', 287 'fopen', 288 'fread', 289 'fwrite', 290 'fgetl', 291 'fgets', 292 'fprintf', 293 'fscanf', 294 'feof', 295 'ferror', 296 'frewind', 297 'fseek', 298 'ftell', 299 'sprintf', 300 'sscanf', 301 'dlmread', 302 'dlmwrite', 303 'hdf', 304 'imfinfo', 305 'imread', 306 'imwrite', 307 'textread', 308 'wk1read', 309 'wk1write', 310 'bitand', 311 'bitcmp', 312 'bitor', 313 'bitmax', 314 'bitset', 315 'bitshift', 316 'bitget', 317 'bitxor', 318 'fieldnames', 319 'getfield', 320 'rmfield', 321 'setfield', 322 'struct', 323 'struct2cell', 324 'class', 325 'isa', 326 'cell', 327 'cellfun', 328 'cellstr', 329 'cell2struct', 330 'celldisp', 331 'cellplot', 332 'num2cell', 333 'cat', 334 'flipdim', 335 'ind2sub', 336 'ipermute', 337 'ndgrid', 338 'ndims', 339 'permute', 340 'reshape', 341 'shiftdim', 342 'squeeze', 343 'sub2ind', 344 'cond', 345 'condeig', 346 'det', 347 'norm', 348 'null', 349 'orth', 350 'rank', 351 'rcond', 352 'rref', 353 'rrefmovie', 354 'subspace', 355 'trace', 356 'chol', 357 'inv', 358 'lscov', 359 'lu', 360 'nnls', 361 'pinv', 362 'qr', 363 'balance', 364 'cdf2rdf', 365 'eig', 366 'gsvd', 367 'hess', 368 'poly', 369 'qz', 370 'rsf2csf', 371 'schur', 372 'svd', 373 'expm', 374 'funm', 375 'logm', 376 'sqrtm', 377 'qrdelete', 378 'qrinsert', 379 'bar', 380 'barh', 381 'hist', 382 'hold', 383 'loglog', 384 'pie', 385 'plot', 386 'polar', 387 'semilogx', 388 'semilogy', 389 'subplot', 390 'bar3', 391 'bar3h', 392 'comet3', 393 'cylinder', 394 'fill3', 395 'plot3', 396 'quiver3', 397 'slice', 398 'sphere', 399 'stem3', 400 'waterfall', 401 'clabel', 402 'datetick', 403 'grid', 404 'gtext', 405 'legend', 406 'plotyy', 407 'title', 408 'xlabel', 409 'ylabel', 410 'zlabel', 411 'contour', 412 'contourc', 413 'contourf', 414 'hidden', 415 'meshc', 416 'mesh', 417 'peaks', 418 'surf', 419 'surface', 420 'surfc', 421 'surfl', 422 'trimesh', 423 'trisurf', 424 'coneplot', 425 'contourslice', 426 'isocaps', 427 'isonormals', 428 'isosurface', 429 'reducepatch', 430 'reducevolume', 431 'shrinkfaces', 432 'smooth3', 433 'stream2', 434 'stream3', 435 'streamline', 436 'surf2patch', 437 'subvolume', 438 'griddata', 439 'meshgrid', 440 'area', 441 'box', 442 'comet', 443 'compass', 444 'errorbar', 445 'ezcontour', 446 'ezcontourf', 447 'ezmesh', 448 'ezmeshc', 449 'ezplot', 450 'ezplot3', 451 'ezpolar', 452 'ezsurf', 453 'ezsurfc', 454 'feather', 455 'fill', 456 'fplot', 457 'pareto', 458 'pie3', 459 'plotmatrix', 460 'pcolor', 461 'rose', 462 'quiver', 463 'ribbon', 464 'stairs', 465 'scatter', 466 'scatter3', 467 'stem', 468 'convhull', 469 'delaunay', 470 'dsearch', 471 'inpolygon', 472 'polyarea', 473 'tsearch', 474 'voronoi', 475 'camdolly', 476 'camlookat', 477 'camorbit', 478 'campan', 479 'campos', 480 'camproj', 481 'camroll', 482 'camtarget', 483 'camup', 484 'camva', 485 'camzoom', 486 'daspect', 487 'pbaspect', 488 'view', 489 'viewmtx', 490 'xlim', 491 'ylim', 492 'zlim', 493 'camlight', 494 'diffuse', 495 'lighting', 496 'lightingangle', 497 'material', 498 'specular', 499 'brighten', 500 'bwcontr', 501 'caxis', 502 'colorbar', 503 'colorcube', 504 'colordef', 505 'colormap', 506 'graymon', 507 'hsv2rgb', 508 'rgb2hsv', 509 'rgbplot', 510 'shading', 511 'spinmap', 512 'surfnorm', 513 'whitebg', 514 'autumn', 515 'bone', 516 'contrast', 517 'cool', 518 'copper', 519 'flag', 520 'gray', 521 'hot', 522 'hsv', 523 'jet', 524 'lines', 525 'prism', 526 'spring', 527 'summer', 528 'winter', 529 'orient', 530 'print', 531 'printopt', 532 'saveas', 533 'copyobj', 534 'findobj', 535 'gcbo', 536 'gco', 537 'get', 538 'rotate', 539 'ishandle', 540 'set', 541 'axes', 542 'figure', 543 'image', 544 'light', 545 'line', 546 'patch', 547 'rectangle', 548 'surface', 549 'text Create', 550 'uicontext Create', 551 'capture', 552 'clc', 553 'clf', 554 'clg', 555 'close', 556 'gcf', 557 'newplot', 558 'refresh', 559 'saveas', 560 'axis', 561 'cla', 562 'gca', 563 'propedit', 564 'reset', 565 'rotate3d', 566 'selectmoveresize', 567 'shg', 568 'ginput', 569 'zoom', 570 'dragrect', 571 'drawnow', 572 'rbbox', 573 'dialog', 574 'errordlg', 575 'helpdlg', 576 'inputdlg', 577 'listdlg', 578 'msgbox', 579 'pagedlg', 580 'printdlg', 581 'questdlg', 582 'uigetfile', 583 'uiputfile', 584 'uisetcolor', 585 'uisetfont', 586 'warndlg', 587 'menu', 588 'menuedit', 589 'uicontextmenu', 590 'uicontrol', 591 'uimenu', 592 'dragrect', 593 'findfigs', 594 'gcbo', 595 'rbbox', 596 'selectmoveresize', 597 'textwrap', 598 'uiresume', 599 'uiwait Used', 600 'waitbar', 601 'waitforbuttonpress', 602 'convhull', 603 'cumprod', 604 'cumsum', 605 'cumtrapz', 606 'delaunay', 607 'dsearch', 608 'factor', 609 'inpolygon', 610 'max', 611 'mean', 612 'median', 613 'min', 614 'perms', 615 'polyarea', 616 'primes', 617 'prod', 618 'sort', 619 'sortrows', 620 'std', 621 'sum', 622 'trapz', 623 'tsearch', 624 'var', 625 'voronoi', 626 'del2', 627 'diff', 628 'gradient', 629 'corrcoef', 630 'cov', 631 'conv', 632 'conv2', 633 'deconv', 634 'filter', 635 'filter2', 636 'abs', 637 'angle', 638 'cplxpair', 639 'fft', 640 'fft2', 641 'fftshift', 642 'ifft', 643 'ifft2', 644 'ifftn', 645 'ifftshift', 646 'nextpow2', 647 'unwrap', 648 'cross', 649 'intersect', 650 'ismember', 651 'setdiff', 652 'setxor', 653 'union', 654 'unique', 655 'conv', 656 'deconv', 657 'poly', 658 'polyder', 659 'polyeig', 660 'polyfit', 661 'polyval', 662 'polyvalm', 663 'residue', 664 'roots', 665 'griddata', 666 'interp1', 667 'interp2', 668 'interp3', 669 'interpft', 670 'interpn', 671 'meshgrid', 672 'ndgrid', 673 'spline', 674 'dblquad', 675 'fmin', 676 'fmins', 677 'fzero', 678 'ode45,', 679 'ode113,', 680 'ode15s,', 681 'ode23s,', 682 'ode23t,', 683 'ode23tb', 684 'odefile', 685 'odeget', 686 'odeset', 687 'quad,', 688 'vectorize', 689 'spdiags', 690 'speye', 691 'sprand', 692 'sprandn', 693 'sprandsym', 694 'find', 695 'full', 696 'sparse', 697 'spconvert', 698 'nnz', 699 'nonzeros', 700 'nzmax', 701 'spalloc', 702 'spfun', 703 'spones', 704 'colmmd', 705 'colperm', 706 'dmperm', 707 'randperm', 708 'symmmd', 709 'symrcm', 710 'condest', 711 'normest', 712 'bicg', 713 'bicgstab', 714 'cgs', 715 'cholinc', 716 'cholupdate', 717 'gmres', 718 'luinc', 719 'pcg', 720 'qmr', 721 'qr', 722 'qrdelete', 723 'qrinsert', 724 'qrupdate', 725 'eigs', 726 'svds', 727 'spparms', 728 'lin2mu', 729 'mu2lin', 730 'sound', 731 'soundsc', 732 'auread', 733 'auwrite', 734 'wavread', 735 'wavwrite', 736 '[Keywords 6]', 737 'addpath', 738 'doc', 739 'docopt', 740 'help', 741 'helpdesk', 742 'helpwin', 743 'lasterr', 744 'lastwarn', 745 'lookfor', 746 'partialpath', 747 'path', 748 'pathtool', 749 'profile', 750 'profreport', 751 'rmpath', 752 'type', 753 'ver', 754 'version', 755 'web', 756 'what', 757 'whatsnew', 758 'which', 759 'clear', 760 'disp', 761 'length', 762 'load', 763 'mlock', 764 'munlock', 765 'openvar', 766 'pack', 767 'save', 768 'saveas', 769 'size', 770 'who', 771 'whos', 772 'workspace', 773 'clc', 774 'echo', 775 'format', 776 'home', 777 'more', 778 'cd', 779 'copyfile', 780 'delete', 781 'diary', 782 'dir', 783 'edit', 784 'fileparts', 785 'fullfile', 786 'inmem', 787 'ls', 788 'matlabroot', 789 'mkdir', 790 'open', 791 'pwd', 792 'tempdir', 793 'tempname', 794 'matlabrc', 795 'quit', 796 ) 797 ), 798 'SYMBOLS' => array( 799 '...' 800 ), 801 'CASE_SENSITIVE' => array( 802 GESHI_COMMENTS => true, 803 1 => false, 804 2 => false, 805 //3 => false, 806 //4 => false, 807 ), 808 'STYLES' => array( 809 'KEYWORDS' => array( 810 1 => 'color: #0000FF;', 811 2 => 'color: #0000FF;' 812 ), 813 'COMMENTS' => array( 814 1 => 'color: #228B22;', 815 ), 816 'ESCAPE_CHAR' => array( 817 0 => '' 818 ), 819 'BRACKETS' => array( 820 0 => 'color: #080;' 821 ), 822 'STRINGS' => array( 823 //0 => 'color: #A020F0;' 824 ), 825 'NUMBERS' => array( 826 0 => 'color: #33f;' 827 ), 828 'METHODS' => array( 829 1 => '', 830 2 => '' 831 ), 832 'SYMBOLS' => array( 833 0 => 'color: #080;' 834 ), 835 'REGEXPS' => array( 836 0 => 'color:#A020F0;' 837 ), 838 'SCRIPT' => array( 839 0 => '' 840 ) 841 ), 842 'URLS' => array( 843 1 => '', 844 2 => 'http://www.mathworks.com/access/helpdesk/help/techdoc/ref/{FNAME}.html', 845 3 => '', 846 4 => '' 847 ), 848 'OOLANG' => true, 849 'OBJECT_SPLITTERS' => array( 850 1 => '.', 851 2 => '::' 852 ), 853 'REGEXPS' => array( 854 0 => array( 855 GESHI_SEARCH => "([^\w])'([^\\n\\r']*)'", 856 GESHI_REPLACE => '\\2', 857 GESHI_MODIFIERS => '', 858 GESHI_BEFORE => "\\1'", 859 GESHI_AFTER => "'" 860 ) 861 ), 862 'STRICT_MODE_APPLIES' => GESHI_NEVER, 863 'SCRIPT_DELIMITERS' => array( 864 ), 865 'HIGHLIGHT_STRICT_BLOCK' => array( 866 ) 867 ); 868 869 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Tue Apr 3 20:47:31 2007 | par Balluche grâce à PHPXref 0.7 |