Mercurial > octave-nkf
comparison scripts/help/__unimplemented__.m @ 17245:7babcdb9bc13
Use ... instead of \ for line continuation marker.
* plotimages.m, bsxfun.cc, cellfun.cc, __unimplemented__.m,
importdata.m, textscan.m, edit.m, fsolve.m, sqp.m,
__gnuplot_drawnow__.m, __marching_cube__.m, stemleaf.m, polyfit.m,
z_test.m, z_test_2.m, test.m:
Use ... instead of \ for line continuation marker.
author | Stefan Mahr <dac922@gmx.de> |
---|---|
date | Mon, 12 Aug 2013 17:36:54 +0200 |
parents | c3c1ebfaa7dc |
children | 1c89599167a6 |
comparison
equal
deleted
inserted
replaced
17244:9de751a10910 | 17245:7babcdb9bc13 |
---|---|
39 is_matlab_function = true; | 39 is_matlab_function = true; |
40 | 40 |
41 ## Some smarter cases, add more as needed. | 41 ## Some smarter cases, add more as needed. |
42 switch (fcn) | 42 switch (fcn) |
43 case {"avifile", "aviinfo", "aviread"} | 43 case {"avifile", "aviinfo", "aviread"} |
44 txt = ["Basic video file support is provided in the video package. ", \ | 44 txt = ["Basic video file support is provided in the video package. ", ... |
45 "See @url{http://octave.sf.net/video/}."]; | 45 "See @url{http://octave.sf.net/video/}."]; |
46 | 46 |
47 case "gsvd" | 47 case "gsvd" |
48 txt = ["gsvd is not currently part of core Octave. ", \ | 48 txt = ["gsvd is not currently part of core Octave. ", ... |
49 "See the linear-algebra package at ", \ | 49 "See the linear-algebra package at ", ... |
50 "@url{http://octave.sourceforge.net/linear-algebra/}."]; | 50 "@url{http://octave.sourceforge.net/linear-algebra/}."]; |
51 | 51 |
52 case "funm" | 52 case "funm" |
53 txt = ["funm is not currently part of core Octave. ", \ | 53 txt = ["funm is not currently part of core Octave. ", ... |
54 "See the linear-algebra package at ", \ | 54 "See the linear-algebra package at ", ... |
55 "@url{http://octave.sourceforge.net/linear-algebra/}."]; | 55 "@url{http://octave.sourceforge.net/linear-algebra/}."]; |
56 | 56 |
57 case "griddedInterpolant" | 57 case "griddedInterpolant" |
58 txt = ["griddedInterpolant is not implemented. ", \ | 58 txt = ["griddedInterpolant is not implemented. ", ... |
59 "Consider using griddata."]; | 59 "Consider using griddata."]; |
60 | 60 |
61 case "integral" | 61 case "integral" |
62 txt = ["Octave provides many routines for 1-D numerical integration. ", \ | 62 txt = ["Octave provides many routines for 1-D numerical integration. ", ... |
63 "Consider quadcc, quad, quadv, quadl, quadgk."]; | 63 "Consider quadcc, quad, quadv, quadl, quadgk."]; |
64 | 64 |
65 case "integral2" | 65 case "integral2" |
66 txt = ["integral2 is not implemented. Consider using dblquad."]; | 66 txt = ["integral2 is not implemented. Consider using dblquad."]; |
67 | 67 |
68 case "integral3" | 68 case "integral3" |
69 txt = ["integral3 is not implemented. Consider using triplequad"]; | 69 txt = ["integral3 is not implemented. Consider using triplequad"]; |
70 | 70 |
71 case "linprog" | 71 case "linprog" |
72 txt = ["Octave does not currently provide linprog. ", \ | 72 txt = ["Octave does not currently provide linprog. ", ... |
73 "Linear programming problems may be solved using @code{glpk}. ",\ | 73 "Linear programming problems may be solved using @code{glpk}. ", ... |
74 "Try @code{help glpk} for more info."]; | 74 "Try @code{help glpk} for more info."]; |
75 | 75 |
76 case "matlabrc" | 76 case "matlabrc" |
77 txt = ["matlabrc is not implemented. ", \ | 77 txt = ["matlabrc is not implemented. ", ... |
78 'Octave uses the file ".octaverc" instead.']; | 78 'Octave uses the file ".octaverc" instead.']; |
79 | 79 |
80 case {"ode113", "ode15i", "ode15s", "ode23", "ode23s", "ode23t", \ | 80 case {"ode113", "ode15i", "ode15s", "ode23", "ode23s", "ode23t", ... |
81 "ode23tb", "ode45", "odeget", "odeset"} | 81 "ode23tb", "ode45", "odeget", "odeset"} |
82 txt = ["Octave provides lsode for solving differential equations. ", \ | 82 txt = ["Octave provides lsode for solving differential equations. ", ... |
83 "For more information try @code{help lsode}. ", \ | 83 "For more information try @code{help lsode}. ", ... |
84 "Matlab-compatible ODE functions are provided by the odepkg ", \ | 84 "Matlab-compatible ODE functions are provided by the odepkg ", ... |
85 "package. See @url{http://octave.sourceforge.net/odepkg/}."]; | 85 "package. See @url{http://octave.sourceforge.net/odepkg/}."]; |
86 | 86 |
87 case "startup" | 87 case "startup" |
88 txt = ["startup is not implemented. ", \ | 88 txt = ["startup is not implemented. ", ... |
89 'Octave uses the file ".octaverc" instead.']; | 89 'Octave uses the file ".octaverc" instead.']; |
90 | 90 |
91 case "quad2d" | 91 case "quad2d" |
92 txt = ["quad2d is not implemented. Consider using dblquad."]; | 92 txt = ["quad2d is not implemented. Consider using dblquad."]; |
93 | 93 |
94 case {"xlsread", "xlsfinfo", "xlswrite", "wk1read", "wk1finfo", "wk1write"} | 94 case {"xlsread", "xlsfinfo", "xlswrite", "wk1read", "wk1finfo", "wk1write"} |
95 txt = ["Functions for spreadsheet style I/O ", \ | 95 txt = ["Functions for spreadsheet style I/O ", ... |
96 "(.xls .xlsx .sxc .ods .dbf .wk1 etc.) " , \ | 96 "(.xls .xlsx .sxc .ods .dbf .wk1 etc.) " , ... |
97 "are provided in the io package. ", \ | 97 "are provided in the io package. ", ... |
98 "See @url{http://octave.sf.net/io/}."]; | 98 "See @url{http://octave.sf.net/io/}."]; |
99 | 99 |
100 otherwise | 100 otherwise |
101 if (ismember (fcn, missing_functions ())) | 101 if (ismember (fcn, missing_functions ())) |
102 txt = ["the '" fcn "' function is not yet implemented in Octave"]; | 102 txt = ["the '" fcn "' function is not yet implemented in Octave"]; |
105 txt = ""; | 105 txt = ""; |
106 endif | 106 endif |
107 endswitch | 107 endswitch |
108 | 108 |
109 if (is_matlab_function) | 109 if (is_matlab_function) |
110 txt = [txt, "\n\n@noindent\nPlease read ", \ | 110 txt = [txt, "\n\n@noindent\nPlease read ", ... |
111 "@url{http://www.octave.org/missing.html} to learn how ", \ | 111 "@url{http://www.octave.org/missing.html} to learn how ", ... |
112 "you can contribute missing functionality."]; | 112 "you can contribute missing functionality."]; |
113 txt = __makeinfo__ (txt); | 113 txt = __makeinfo__ (txt); |
114 endif | 114 endif |
115 | 115 |
116 if (nargout == 0) | 116 if (nargout == 0) |