codekingpro/portable-devtools
115k
1" Vim syntax file2" Language: Maple V (based on release 4)3" Maintainer: This runtime file is looking for a new maintainer.4" Former Maintainer:Charles E. Campbell5" Last Change: Mar 26, 20196" 2024 Feb 19 by Vim Project (announce adoption)7" Version: 178" Former URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_MAPLE9"10" Package Function Selection: {{{111" Because there are a lot of packages, and because of the potential for namespace12" clashes, this version of <maple.vim> needs the user to select which, if any,13" package functions should be highlighted. Select your packages and put into your14" <.vimrc> none or more of the lines following let ...=1 lines:15"16" if exists("mvpkg_all")17" ...18" endif19"20" *OR* let mvpkg_all=121 22" This syntax file contains all the keywords and top-level packages of Maple 9.523" but only the contents of packages of Maple V Release 4, and the top-level24" routines of Release 4. <Jacques Carette - carette@mcmaster.ca>25 26" quit when a syntax file was already loaded27if exists("b:current_syntax")28 finish29endif30 31" Iskeyword Effects: {{{132if (v:version == 704 && has("patch-7.4.1142")) || v:version > 70433 syn iskeyword $,48-57,_,a-z,@-Z34else35 setl isk=$,48-57,_,a-z,@-Z36endif37 38" Package Selection: {{{139" allow user to simply select all packages for highlighting40if exists("mvpkg_all")41 let mv_DEtools = 142 let mv_Galois = 143 let mv_GaussInt = 144 let mv_LREtools = 145 let mv_combinat = 146 let mv_combstruct = 147 let mv_difforms = 148 let mv_finance = 149 let mv_genfunc = 150 let mv_geometry = 151 let mv_grobner = 152 let mv_group = 153 let mv_inttrans = 154 let mv_liesymm = 155 let mv_linalg = 156 let mv_logic = 157 let mv_networks = 158 let mv_numapprox = 159 let mv_numtheory = 160 let mv_orthopoly = 161 let mv_padic = 162 let mv_plots = 163 let mv_plottools = 164 let mv_powseries = 165 let mv_process = 166 let mv_simplex = 167 let mv_stats = 168 let mv_student = 169 let mv_sumtools = 170 let mv_tensor = 171 let mv_totorder = 172endif73 74" Parenthesis/curly/brace sanity checker: {{{175syn case match76 77" parenthesis/curly/brace sanity checker78syn region mvZone matchgroup=Delimiter start="(" matchgroup=Delimiter end=")" transparent contains=ALLBUT,mvError,mvBraceError,mvCurlyError79syn region mvZone matchgroup=Delimiter start="{" matchgroup=Delimiter end="}" transparent contains=ALLBUT,mvError,mvBraceError,mvParenError80syn region mvZone matchgroup=Delimiter start="\[" matchgroup=Delimiter end="]" transparent contains=ALLBUT,mvError,mvCurlyError,mvParenError81syn match mvError "[)\]}]"82syn match mvBraceError "[)}]" contained83syn match mvCurlyError "[)\]]" contained84syn match mvParenError "[\]}]" contained85syn match mvComma "[,;:]"86syn match mvSemiError "[;:]" contained87syn match mvDcolon "::"88 89" Maple Packages, updated for Maple 9.590syn keyword mvPackage algcurves ArrayTools Cache codegen91syn keyword mvPackage CodeGeneration CodeTools combinat combstruct92syn keyword mvPackage ContextMenu CurveFitting DEtools diffalg93syn keyword mvPackage difforms DiscreteTransforms Domains ExternalCalling94syn keyword mvPackage FileTools finance GaussInt genfunc95syn keyword mvPackage geom3d geometry gfun Groebner96syn keyword mvPackage group hashmset IntegerRelations inttrans97syn keyword mvPackage LargeExpressions LibraryTools liesymm linalg98syn keyword mvPackage LinearAlgebra LinearFunctionalSystems LinearOperators99syn keyword mvPackage ListTools Logic LREtools Maplets100syn keyword mvPackage MathematicalFunctions MathML Matlab101syn keyword mvPackage MatrixPolynomialAlgebra MmaTranslator networks102syn keyword mvPackage numapprox numtheory Optimization OreTools103syn keyword mvPackage Ore_algebra OrthogonalSeries orthopoly padic104syn keyword mvPackage PDEtools plots plottools PolynomialIdeals105syn keyword mvPackage PolynomialTools powseries process QDifferenceEquations106syn keyword mvPackage RandomTools RationalNormalForms RealDomain RootFinding107syn keyword mvPackage ScientificConstants ScientificErrorAnalysis simplex108syn keyword mvPackage Slode SNAP Sockets SoftwareMetrics109syn keyword mvPackage SolveTools Spread stats StringTools110syn keyword mvPackage Student student sumtools SumTools111syn keyword mvPackage tensor TypeTools Units VariationalCalculus112syn keyword mvPackage VectorCalculus Worksheet XMLTools113 114" Language Support: {{{1115syn keyword mvTodo contained COMBAK FIXME TODO XXX116if exists("g:mapleversion") && g:mapleversion < 9117 syn region mvString start=+`+ skip=+``+ end=+`+ keepend contains=mvTodo,@Spell118 syn region mvString start=+"+ skip=+""+ end=+"+ keepend contains=@Spell119 syn region mvDelayEval start=+'+ end=+'+ keepend contains=ALLBUT,mvError,mvBraceError,mvCurlyError,mvParenError,mvSemiError120 syn match mvVarAssign "[a-zA-Z_][a-zA-Z_0-9]*[ \t]*:=" contains=mvAssign121 syn match mvAssign ":=" contained122else123 syn region mvName start=+`+ skip=+``+ end=+`+ keepend contains=mvTodo124 syn region mvString start=+"+ skip=+""+ end=+"+ keepend contains=@Spell125 syn region mvDelayEval start=+'+ end=+'+ keepend contains=ALLBUT,mvError,mvBraceError,mvCurlyError,mvParenError126 syn match mvDelim "[;:]" display127 syn match mvAssign ":="128endif129 130" Lower-Priority Operators: {{{1131syn match mvOper "\."132 133" Number handling: {{{1134syn match mvNumber "\<\d\+" " integer135 syn match mvNumber "[-+]\=\.\d\+" " . integer136syn match mvNumber "\<\d\+\.\d\+" " integer . integer137syn match mvNumber "\<\d\+\." " integer .138syn match mvNumber "\<\d\+\.\." contains=mvRange " integer ..139 140syn match mvNumber "\<\d\+e[-+]\=\d\+" " integer e [-+] integer141syn match mvNumber "[-+]\=\.\d\+e[-+]\=\d\+" " . integer e [-+] integer142syn match mvNumber "\<\d\+\.\d*e[-+]\=\d\+" " integer . [integer] e [-+] integer143 144syn match mvNumber "[-+]\d\+" " integer145syn match mvNumber "[-+]\d\+\.\d\+" " integer . integer146syn match mvNumber "[-+]\d\+\." " integer .147syn match mvNumber "[-+]\d\+\.\." contains=mvRange " integer ..148 149syn match mvNumber "[-+]\d\+e[-+]\=\d\+" " integer e [-+] integer150syn match mvNumber "[-+]\d\+\.\d*e[-+]\=\d\+" " integer . [integer] e [-+] integer151 152syn match mvRange "\.\."153 154" Operators: {{{1155syn keyword mvOper and not or xor implies union intersect subset minus mod156syn match mvOper "<>\|[<>]=\|[<>]\|="157syn match mvOper "&+\|&-\|&\*\|&\/\|&"158syn match mvError "\.\.\."159 160" MapleV Statements: ? statement {{{1161 162" MapleV Statements: ? statement163" Split into booleans, conditionals, operators, repeat-logic, etc164syn keyword mvBool true false FAIL165syn keyword mvCond elif else fi if then166syn match mvCond "end\s\+if"167 168syn keyword mvRepeat by for in to169syn keyword mvRepeat do from od while170syn match mvRepeat "end\s\+do"171 172syn keyword mvSpecial NULL173syn match mvSpecial "\[\]\|{}"174 175if exists("g:mapleversion") && g:mapleversion < 9176 syn keyword mvStatement Order fail options read save177 syn keyword mvStatement break local point remember stop178 syn keyword mvStatement done mod proc restart with179 syn keyword mvStatement end mods quit return180 syn keyword mvStatement error next181else182 syn keyword mvStatement option options read save183 syn keyword mvStatement break local remember stop184 syn keyword mvStatement done mod proc restart185 syn keyword mvStatement end mods quit return186 syn keyword mvStatement error next try catch187 syn keyword mvStatement finally assuming global export188 syn keyword mvStatement module description use189endif190 191" Builtin Constants: ? constants {{{1192syn keyword mvConstant Catalan I gamma infinity193syn keyword mvConstant Pi194 195" Comments: DEBUG, if in a comment, is specially highlighted. {{{1196syn keyword mvDebug contained DEBUG197syn cluster mvCommentGroup contains=mvTodo,mvDebug,@Spell198syn match mvComment "#.*$" contains=@mvCommentGroup199 200" Basic Library Functions: ? index[function]201syn keyword mvLibrary $ @ @@ ERROR202syn keyword mvLibrary AFactor KelvinHer arctan factor log rhs203syn keyword mvLibrary AFactors KelvinKei arctanh factors log10 root204syn keyword mvLibrary AiryAi KelvinKer argument fclose lprint roots205syn keyword mvLibrary AiryBi LambertW array feof map round206syn keyword mvLibrary AngerJ Lcm assign fflush map2 rsolve207syn keyword mvLibrary Berlekamp LegendreE assigned filepos match savelib208syn keyword mvLibrary BesselI LegendreEc asspar fixdiv matrix scanf209syn keyword mvLibrary BesselJ LegendreEc1 assume float max searchtext210syn keyword mvLibrary BesselK LegendreF asubs floor maximize sec211syn keyword mvLibrary BesselY LegendreKc asympt fnormal maxnorm sech212syn keyword mvLibrary Beta LegendreKc1 attribute fopen maxorder select213syn keyword mvLibrary C LegendrePi bernstein forget member seq214syn keyword mvLibrary Chi LegendrePic branches fortran min series215syn keyword mvLibrary Ci LegendrePic1 bspline fprintf minimize setattribute216syn keyword mvLibrary CompSeq Li cat frac minpoly shake217syn keyword mvLibrary Content Linsolve ceil freeze modp showprofile218syn keyword mvLibrary D MOLS chrem fremove modp1 showtime219syn keyword mvLibrary DESol Maple_floats close frontend modp2 sign220syn keyword mvLibrary Det MeijerG close fscanf modpol signum221syn keyword mvLibrary Diff Norm coeff fsolve mods simplify222syn keyword mvLibrary Dirac Normal coeffs galois msolve sin223syn keyword mvLibrary DistDeg Nullspace coeftayl gc mtaylor singular224syn keyword mvLibrary Divide Power collect gcd mul sinh225syn keyword mvLibrary Ei Powmod combine gcdex nextprime sinterp226syn keyword mvLibrary Eigenvals Prem commutat genpoly nops solve227syn keyword mvLibrary EllipticCE Primfield comparray harmonic norm sort228syn keyword mvLibrary EllipticCK Primitive compoly has normal sparse229syn keyword mvLibrary EllipticCPi Primpart conjugate hasfun numboccur spline230syn keyword mvLibrary EllipticE ProbSplit content hasoption numer split231syn keyword mvLibrary EllipticF Product convergs hastype op splits232syn keyword mvLibrary EllipticK Psi convert heap open sprem233syn keyword mvLibrary EllipticModulus Quo coords history optimize sprintf234syn keyword mvLibrary EllipticNome RESol copy hypergeom order sqrfree235syn keyword mvLibrary EllipticPi Randpoly cos iFFT parse sqrt236syn keyword mvLibrary Eval Randprime cosh icontent pclose sscanf237syn keyword mvLibrary Expand Ratrecon cost identity pclose ssystem238syn keyword mvLibrary FFT Re cot igcd pdesolve stack239syn keyword mvLibrary Factor Rem coth igcdex piecewise sturm240syn keyword mvLibrary Factors Resultant csc ilcm plot sturmseq241syn keyword mvLibrary FresnelC RootOf csch ilog plot3d subs242syn keyword mvLibrary FresnelS Roots csgn ilog10 plotsetup subsop243syn keyword mvLibrary Fresnelf SPrem dawson implicitdiff pochhammer substring244syn keyword mvLibrary Fresnelg Searchtext define indets pointto sum245syn keyword mvLibrary Frobenius Shi degree index poisson surd246syn keyword mvLibrary GAMMA Si denom indexed polar symmdiff247syn keyword mvLibrary GaussAGM Smith depends indices polylog symmetric248syn keyword mvLibrary Gaussejord Sqrfree diagonal inifcn polynom system249syn keyword mvLibrary Gausselim Ssi diff ininame powmod table250syn keyword mvLibrary Gcd StruveH dilog initialize prem tan251syn keyword mvLibrary Gcdex StruveL dinterp insert prevprime tanh252syn keyword mvLibrary HankelH1 Sum disassemble int primpart testeq253syn keyword mvLibrary HankelH2 Svd discont interface print testfloat254syn keyword mvLibrary Heaviside TEXT discrim interp printf thaw255syn keyword mvLibrary Hermite Trace dismantle invfunc procbody thiele256syn keyword mvLibrary Im WeberE divide invztrans procmake time257syn keyword mvLibrary Indep WeierstrassP dsolve iostatus product translate258syn keyword mvLibrary Interp WeierstrassPPrime eliminate iperfpow proot traperror259syn keyword mvLibrary Inverse WeierstrassSigma ellipsoid iquo property trigsubs260syn keyword mvLibrary Irreduc WeierstrassZeta entries iratrecon protect trunc261syn keyword mvLibrary Issimilar Zeta eqn irem psqrt type262syn keyword mvLibrary JacobiAM abs erf iroot quo typematch263syn keyword mvLibrary JacobiCD add erfc irreduc radnormal unames264syn keyword mvLibrary JacobiCN addcoords eulermac iscont radsimp unapply265syn keyword mvLibrary JacobiCS addressof eval isdifferentiable rand unassign266syn keyword mvLibrary JacobiDC algebraic evala isolate randomize unload267syn keyword mvLibrary JacobiDN algsubs evalapply ispoly randpoly unprotect268syn keyword mvLibrary JacobiDS alias evalb isqrfree range updatesR4269syn keyword mvLibrary JacobiNC allvalues evalc isqrt rationalize userinfo270syn keyword mvLibrary JacobiND anames evalf issqr ratrecon value271syn keyword mvLibrary JacobiNS antisymm evalfint latex readbytes vector272syn keyword mvLibrary JacobiSC applyop evalgf lattice readdata verify273syn keyword mvLibrary JacobiSD arccos evalhf lcm readlib whattype274syn keyword mvLibrary JacobiSN arccosh evalm lcoeff readline with275syn keyword mvLibrary JacobiTheta1 arccot evaln leadterm readstat writebytes276syn keyword mvLibrary JacobiTheta2 arccoth evalr length realroot writedata277syn keyword mvLibrary JacobiTheta3 arccsc exp lexorder recipoly writeline278syn keyword mvLibrary JacobiTheta4 arccsch expand lhs rem writestat279syn keyword mvLibrary JacobiZeta arcsec expandoff limit remove writeto280syn keyword mvLibrary KelvinBei arcsech expandon ln residue zip281syn keyword mvLibrary KelvinBer arcsin extract lnGAMMA resultant ztrans282syn keyword mvLibrary KelvinHei arcsinh283 284 285" == PACKAGES ======================================================= {{{1286" Note: highlighting of package functions is now user-selectable by package.287 288" Package: DEtools differential equations tools {{{2289if exists("mv_DEtools")290 syn keyword mvPkg_DEtools DEnormal Dchangevar autonomous dfieldplot reduceOrder untranslate291 syn keyword mvPkg_DEtools DEplot PDEchangecoords convertAlg indicialeq regularsp varparam292 syn keyword mvPkg_DEtools DEplot3d PDEplot convertsys phaseportrait translate293endif294 295" Package: Domains: create domains of computation {{{2296if exists("mv_Domains")297endif298 299" Package: GF: Galois Fields {{{2300if exists("mv_GF")301 syn keyword mvPkg_Galois galois302endif303 304" Package: GaussInt: Gaussian Integers {{{2305if exists("mv_GaussInt")306 syn keyword mvPkg_GaussInt GIbasis GIfactor GIissqr GInorm GIquadres GIsmith307 syn keyword mvPkg_GaussInt GIchrem GIfactors GIlcm GInormal GIquo GIsqrfree308 syn keyword mvPkg_GaussInt GIdivisor GIgcd GImcmbine GIorder GIrem GIsqrt309 syn keyword mvPkg_GaussInt GIfacpoly GIgcdex GInearest GIphi GIroots GIunitnormal310 syn keyword mvPkg_GaussInt GIfacset GIhermite GInodiv GIprime GIsieve311endif312 313" Package: LREtools: manipulate linear recurrence relations {{{2314if exists("mv_LREtools")315 syn keyword mvPkg_LREtools REcontent REprimpart REtodelta delta hypergeomsols ratpolysols316 syn keyword mvPkg_LREtools REcreate REreduceorder REtoproc dispersion polysols shift317 syn keyword mvPkg_LREtools REplot REtoDE constcoeffsol318endif319 320" Package: combinat: combinatorial functions {{{2321if exists("mv_combinat")322 syn keyword mvPkg_combinat Chi composition graycode numbcomb permute randperm323 syn keyword mvPkg_combinat bell conjpart inttovec numbcomp powerset stirling1324 syn keyword mvPkg_combinat binomial decodepart lastpart numbpart prevpart stirling2325 syn keyword mvPkg_combinat cartprod encodepart multinomial numbperm randcomb subsets326 syn keyword mvPkg_combinat character fibonacci nextpart partition randpart vectoint327 syn keyword mvPkg_combinat choose firstpart328endif329 330" Package: combstruct: combinatorial structures {{{2331if exists("mv_combstruct")332 syn keyword mvPkg_combstruct allstructs draw iterstructs options specification structures333 syn keyword mvPkg_combstruct count finished nextstruct334endif335 336" Package: difforms: differential forms {{{2337if exists("mv_difforms")338 syn keyword mvPkg_difforms const defform formpart parity scalarpart wdegree339 syn keyword mvPkg_difforms d form mixpar scalar simpform wedge340endif341 342" Package: finance: financial mathematics {{{2343if exists("mv_finance")344 syn keyword mvPkg_finance amortization cashflows futurevalue growingperpetuity mv_finance presentvalue345 syn keyword mvPkg_finance annuity effectiverate growingannuity levelcoupon perpetuity yieldtomaturity346 syn keyword mvPkg_finance blackscholes347endif348 349" Package: genfunc: rational generating functions {{{2350if exists("mv_genfunc")351 syn keyword mvPkg_genfunc rgf_charseq rgf_expand rgf_hybrid rgf_pfrac rgf_sequence rgf_term352 syn keyword mvPkg_genfunc rgf_encode rgf_findrecur rgf_norm rgf_relate rgf_simp termscale353endif354 355" Package: geometry: Euclidean geometry {{{2356if exists("mv_geometry")357 syn keyword mvPkg_geometry circle dsegment hyperbola parabola segment triangle358 syn keyword mvPkg_geometry conic ellipse line point square359endif360 361" Package: grobner: Grobner bases {{{2362if exists("mv_grobner")363 syn keyword mvPkg_grobner finduni gbasis leadmon normalf solvable spoly364 syn keyword mvPkg_grobner finite gsolve365endif366 367" Package: group: permutation and finitely-presented groups {{{2368if exists("mv_group")369 syn keyword mvPkg_group DerivedS areconjugate cosets grouporder issubgroup permrep370 syn keyword mvPkg_group LCS center cosrep inter mulperms pres371 syn keyword mvPkg_group NormalClosure centralizer derived invperm normalizer subgrel372 syn keyword mvPkg_group RandElement convert grelgroup isabelian orbit type373 syn keyword mvPkg_group Sylow core groupmember isnormal permgroup374endif375 376" Package: inttrans: integral transforms {{{2377if exists("mv_inttrans")378 syn keyword mvPkg_inttrans addtable fouriercos hankel invfourier invlaplace mellin379 syn keyword mvPkg_inttrans fourier fouriersin hilbert invhilbert laplace380endif381 382" Package: liesymm: Lie symmetries {{{2383if exists("mv_liesymm")384 syn keyword mvPkg_liesymm &^ TD depvars getform mixpar vfix385 syn keyword mvPkg_liesymm &mod annul determine hasclosure prolong wcollect386 syn keyword mvPkg_liesymm Eta autosimp dvalue hook reduce wdegree387 syn keyword mvPkg_liesymm Lie close extvars indepvars setup wedgeset388 syn keyword mvPkg_liesymm Lrank d getcoeff makeforms translate wsubs389endif390 391" Package: linalg: Linear algebra {{{2392if exists("mv_linalg")393 syn keyword mvPkg_linalg GramSchmidt coldim equal indexfunc mulcol singval394 syn keyword mvPkg_linalg JordanBlock colspace exponential innerprod multiply smith395 syn keyword mvPkg_linalg LUdecomp colspan extend intbasis norm stack396 syn keyword mvPkg_linalg QRdecomp companion ffgausselim inverse normalize submatrix397 syn keyword mvPkg_linalg addcol cond fibonacci ismith orthog subvector398 syn keyword mvPkg_linalg addrow copyinto forwardsub issimilar permanent sumbasis399 syn keyword mvPkg_linalg adjoint crossprod frobenius iszero pivot swapcol400 syn keyword mvPkg_linalg angle curl gausselim jacobian potential swaprow401 syn keyword mvPkg_linalg augment definite gaussjord jordan randmatrix sylvester402 syn keyword mvPkg_linalg backsub delcols geneqns kernel randvector toeplitz403 syn keyword mvPkg_linalg band delrows genmatrix laplacian rank trace404 syn keyword mvPkg_linalg basis det grad leastsqrs references transpose405 syn keyword mvPkg_linalg bezout diag hadamard linsolve row vandermonde406 syn keyword mvPkg_linalg blockmatrix diverge hermite matadd rowdim vecpotent407 syn keyword mvPkg_linalg charmat dotprod hessian matrix rowspace vectdim408 syn keyword mvPkg_linalg charpoly eigenval hilbert minor rowspan vector409 syn keyword mvPkg_linalg cholesky eigenvect htranspose minpoly scalarmul wronskian410 syn keyword mvPkg_linalg col entermatrix ihermite411endif412 413" Package: logic: Boolean logic {{{2414if exists("mv_logic")415 syn keyword mvPkg_logic MOD2 bsimp distrib environ randbool tautology416 syn keyword mvPkg_logic bequal canon dual frominert satisfy toinert417endif418 419" Package: networks: graph networks {{{2420if exists("mv_networks")421 syn keyword mvPkg_networks acycpoly connect dinic graph mincut show422 syn keyword mvPkg_networks addedge connectivity djspantree graphical mindegree shrink423 syn keyword mvPkg_networks addvertex contract dodecahedron gsimp neighbors span424 syn keyword mvPkg_networks adjacency countcuts draw gunion new spanpoly425 syn keyword mvPkg_networks allpairs counttrees duplicate head octahedron spantree426 syn keyword mvPkg_networks ancestor cube edges icosahedron outdegree tail427 syn keyword mvPkg_networks arrivals cycle ends incidence path tetrahedron428 syn keyword mvPkg_networks bicomponents cyclebase eweight incident petersen tuttepoly429 syn keyword mvPkg_networks charpoly daughter flow indegree random vdegree430 syn keyword mvPkg_networks chrompoly degreeseq flowpoly induce rank vertices431 syn keyword mvPkg_networks complement delete fundcyc isplanar rankpoly void432 syn keyword mvPkg_networks complete departures getlabel maxdegree shortpathtree vweight433 syn keyword mvPkg_networks components diameter girth434endif435 436" Package: numapprox: numerical approximation {{{2437if exists("mv_numapprox")438 syn keyword mvPkg_numapprox chebdeg chebsort fnorm laurent minimax remez439 syn keyword mvPkg_numapprox chebmult chebyshev hornerform laurent pade taylor440 syn keyword mvPkg_numapprox chebpade confracform infnorm minimax441endif442 443" Package: numtheory: number theory {{{2444if exists("mv_numtheory")445 syn keyword mvPkg_numtheory B cyclotomic invcfrac mcombine nthconver primroot446 syn keyword mvPkg_numtheory F divisors invphi mersenne nthdenom quadres447 syn keyword mvPkg_numtheory GIgcd euler isolve minkowski nthnumer rootsunity448 syn keyword mvPkg_numtheory J factorEQ isprime mipolys nthpow safeprime449 syn keyword mvPkg_numtheory L factorset issqrfree mlog order sigma450 syn keyword mvPkg_numtheory M fermat ithprime mobius pdexpand sq2factor451 syn keyword mvPkg_numtheory bernoulli ifactor jacobi mroot phi sum2sqr452 syn keyword mvPkg_numtheory bigomega ifactors kronecker msqrt pprimroot tau453 syn keyword mvPkg_numtheory cfrac imagunit lambda nearestp prevprime thue454 syn keyword mvPkg_numtheory cfracpol index legendre nextprime455endif456 457" Package: orthopoly: orthogonal polynomials {{{2458if exists("mv_orthopoly")459 syn keyword mvPkg_orthopoly G H L P T U460endif461 462" Package: padic: p-adic numbers {{{2463if exists("mv_padic")464 syn keyword mvPkg_padic evalp function orderp ratvaluep rootp valuep465 syn keyword mvPkg_padic expansion lcoeffp ordp466endif467 468" Package: plots: graphics package {{{2469if exists("mv_plots")470 syn keyword mvPkg_plots animate coordplot3d gradplot3d listplot3d polarplot setoptions3d471 syn keyword mvPkg_plots animate3d cylinderplot implicitplot loglogplot polygonplot spacecurve472 syn keyword mvPkg_plots changecoords densityplot implicitplot3d logplot polygonplot3d sparsematrixplot473 syn keyword mvPkg_plots complexplot display inequal matrixplot polyhedraplot sphereplot474 syn keyword mvPkg_plots complexplot3d display3d listcontplot odeplot replot surfdata475 syn keyword mvPkg_plots conformal fieldplot listcontplot3d pareto rootlocus textplot476 syn keyword mvPkg_plots contourplot fieldplot3d listdensityplot pointplot semilogplot textplot3d477 syn keyword mvPkg_plots contourplot3d gradplot listplot pointplot3d setoptions tubeplot478 syn keyword mvPkg_plots coordplot479endif480 481" Package: plottools: basic graphical objects {{{2482if exists("mv_plottools")483 syn keyword mvPkg_plottools arc curve dodecahedron hyperbola pieslice semitorus484 syn keyword mvPkg_plottools arrow cutin ellipse icosahedron point sphere485 syn keyword mvPkg_plottools circle cutout ellipticArc line polygon tetrahedron486 syn keyword mvPkg_plottools cone cylinder hemisphere octahedron rectangle torus487 syn keyword mvPkg_plottools cuboid disk hexahedron488endif489 490" Package: powseries: formal power series {{{2491if exists("mv_powseries")492 syn keyword mvPkg_powseries compose multiply powcreate powlog powsolve reversion493 syn keyword mvPkg_powseries evalpow negative powdiff powpoly powsqrt subtract494 syn keyword mvPkg_powseries inverse powadd powexp powseries quotient tpsform495 syn keyword mvPkg_powseries multconst powcos powint powsin496endif497 498" Package: process: (Unix)-multi-processing {{{2499if exists("mv_process")500 syn keyword mvPkg_process block fork pclose pipe popen wait501 syn keyword mvPkg_process exec kill502endif503 504" Package: simplex: linear optimization {{{2505if exists("mv_simplex")506 syn keyword mvPkg_simplex NONNEGATIVE cterm dual maximize pivoteqn setup507 syn keyword mvPkg_simplex basis define_zero equality minimize pivotvar standardize508 syn keyword mvPkg_simplex convexhull display feasible pivot ratio509endif510 511" Package: stats: statistics {{{2512if exists("mv_stats")513 syn keyword mvPkg_stats anova describe fit random statevalf statplots514endif515 516" Package: student: student calculus {{{2517if exists("mv_student")518 syn keyword mvPkg_student D Product distance isolate middlesum rightsum519 syn keyword mvPkg_student Diff Sum equate leftbox midpoint showtangent520 syn keyword mvPkg_student Doubleint Tripleint extrema leftsum minimize simpson521 syn keyword mvPkg_student Int changevar integrand makeproc minimize slope522 syn keyword mvPkg_student Limit combine intercept maximize powsubs trapezoid523 syn keyword mvPkg_student Lineint completesquare intparts middlebox rightbox value524 syn keyword mvPkg_student Point525endif526 527" Package: sumtools: indefinite and definite sums {{{2528if exists("mv_sumtools")529 syn keyword mvPkg_sumtools Hypersum extended_gosper hyperrecursion hyperterm sumrecursion sumtohyper530 syn keyword mvPkg_sumtools Sumtohyper gosper hypersum simpcomb531endif532 533" Package: tensor: tensor computations and General Relativity {{{2534if exists("mv_tensor")535 syn keyword mvPkg_tensor Christoffel1 Riemann connexF display_allGR get_compts partial_diff536 syn keyword mvPkg_tensor Christoffel2 RiemannF contract dual get_rank permute_indices537 syn keyword mvPkg_tensor Einstein Weyl convertNP entermetric invars petrov538 syn keyword mvPkg_tensor Jacobian act cov_diff exterior_diff invert prod539 syn keyword mvPkg_tensor Killing_eqns antisymmetrize create exterior_prod lin_com raise540 syn keyword mvPkg_tensor Levi_Civita change_basis d1metric frame lower symmetrize541 syn keyword mvPkg_tensor Lie_diff commutator d2metric geodesic_eqns npcurve tensorsGR542 syn keyword mvPkg_tensor Ricci compare directional_diff get_char npspin transform543 syn keyword mvPkg_tensor Ricciscalar conj displayGR544endif545 546" Package: totorder: total orders on names {{{2547if exists("mv_totorder")548 syn keyword mvPkg_totorder forget init ordering tassume tis549endif550" =====================================================================551 552" Highlighting: Define the default highlighting. {{{1553" Only when an item doesn't have highlighting yet554if !exists("skip_maplev_syntax_inits")555 556 " Maple->Maple Links {{{2557 hi def link mvBraceError mvError558 hi def link mvCurlyError mvError559 hi def link mvDebug mvTodo560 hi def link mvParenError mvError561 hi def link mvPkg_DEtools mvPkgFunc562 hi def link mvPkg_Galois mvPkgFunc563 hi def link mvPkg_GaussInt mvPkgFunc564 hi def link mvPkg_LREtools mvPkgFunc565 hi def link mvPkg_combinat mvPkgFunc566 hi def link mvPkg_combstruct mvPkgFunc567 hi def link mvPkg_difforms mvPkgFunc568 hi def link mvPkg_finance mvPkgFunc569 hi def link mvPkg_genfunc mvPkgFunc570 hi def link mvPkg_geometry mvPkgFunc571 hi def link mvPkg_grobner mvPkgFunc572 hi def link mvPkg_group mvPkgFunc573 hi def link mvPkg_inttrans mvPkgFunc574 hi def link mvPkg_liesymm mvPkgFunc575 hi def link mvPkg_linalg mvPkgFunc576 hi def link mvPkg_logic mvPkgFunc577 hi def link mvPkg_networks mvPkgFunc578 hi def link mvPkg_numapprox mvPkgFunc579 hi def link mvPkg_numtheory mvPkgFunc580 hi def link mvPkg_orthopoly mvPkgFunc581 hi def link mvPkg_padic mvPkgFunc582 hi def link mvPkg_plots mvPkgFunc583 hi def link mvPkg_plottools mvPkgFunc584 hi def link mvPkg_powseries mvPkgFunc585 hi def link mvPkg_process mvPkgFunc586 hi def link mvPkg_simplex mvPkgFunc587 hi def link mvPkg_stats mvPkgFunc588 hi def link mvPkg_student mvPkgFunc589 hi def link mvPkg_sumtools mvPkgFunc590 hi def link mvPkg_tensor mvPkgFunc591 hi def link mvPkg_totorder mvPkgFunc592 hi def link mvRange mvOper593 hi def link mvSemiError mvError594 hi def link mvDelim Delimiter595 596 " Maple->Standard Links {{{2597 hi def link mvAssign Delimiter598 hi def link mvBool Boolean599 hi def link mvComma Delimiter600 hi def link mvComment Comment601 hi def link mvCond Conditional602 hi def link mvConstant Number603 hi def link mvDelayEval Label604 hi def link mvDcolon Delimiter605 hi def link mvError Error606 hi def link mvLibrary Statement607 hi def link mvNumber Number608 hi def link mvOper Operator609 hi def link mvAssign Delimiter610 hi def link mvPackage Type611 hi def link mvPkgFunc Function612 hi def link mvPktOption Special613 hi def link mvRepeat Repeat614 hi def link mvSpecial Special615 hi def link mvStatement Statement616 hi def link mvName String617 hi def link mvString String618 hi def link mvTodo Todo619 620endif621 622" Current Syntax: {{{1623let b:current_syntax = "maple"624" vim: ts=20 fdm=marker625 