1 Pages (10 items)
updated version of maple - use of an updated version of maple - Messages
#1 Posted: 6/2/2022 12:43:03 PM
Hi,
I just started to use SMath and I have just 2 beginning questions:
- would it be possible to use an already installed version of Maple (I have a newer version installed in my university's laboratory), through a script or something else, like the Maxima plugin?
- I've seen in some of the forum messages the use of the indefinite integral symbol but I haven't figured out how to place it in my worksheets. Could someone tell me how to do it?
Thanks very much in advance.
Best regards,
Charlie
I just started to use SMath and I have just 2 beginning questions:
- would it be possible to use an already installed version of Maple (I have a newer version installed in my university's laboratory), through a script or something else, like the Maxima plugin?
- I've seen in some of the forum messages the use of the indefinite integral symbol but I haven't figured out how to place it in my worksheets. Could someone tell me how to do it?
Thanks very much in advance.
Best regards,
Charlie
#2 Posted: 6/2/2022 5:28:03 PM
WroteI've seen in some of the forum messages the use of the indefinite integral symbol but I haven't figured out how to place it in my worksheets. Could someone tell me how to do it?
That will do SS 6179 ... latest SS ? ... try at no cost.
Integral 0maple suite [Multiple] Copy.sm (8 KiB) downloaded 28 time(s).
#3 Posted: 6/2/2022 5:55:31 PM
Hi, Jean.
thanks very much! I really appreciate.
btw, I do have the latest SS! But would like to know if it is possible to use the latest Maple with SS.
Best regards,
C
thanks very much! I really appreciate.
btw, I do have the latest SS! But would like to know if it is possible to use the latest Maple with SS.
Best regards,
C
#4 Posted: 6/2/2022 7:32:03 PM
Wrote- would it be possible to use an already installed version of Maple (I have a newer version installed in my university's laboratory), through a script or something else, like the Maxima plugin?
Not possible at the moment unless a new plugin won't written from scratch.
Current maple plugin for smath uses maple_v6, via command line.
Maybe a scripting plugin can be written for latest maple, maybe not.
I don't know if latest Maple version is available for that purpose.
Apart from availability, I think there will be licensing issues.
Wrote- I've seen in some of the forum messages the use of the indefinite integral symbol but I haven't figured out how to place it in my worksheets. Could someone tell me how to do it?
This is how I write it:
I write int(, it will automatically complete as int(#).
Then I write a single argument separator while in parenthesis.
Separator is usually either comma or semicolon according to your selection.
Regards
#5 Posted: 6/3/2022 2:36:56 AM
Hi Charlie. Maple have an Excel directory under it's own directory, with an xla file, WMIMPLEX.xla, which could be load as an microsoft excel extension with macros, and used for call your maple version from excel. Further, you can import into SMath the excel values with one of the couple of SMath' excel plugins.
Hope that helps.
Best regards.
Alvaro.
Hope that helps.
Best regards.
Alvaro.
#6 Posted: 6/3/2022 8:33:18 AM
Thanks, Overlord and Alvaro.
I will try the Excel procedure.
Regarding the Maple plugin, I was thinking more in the line of a script/wrapper, like the Maxima plugin; I don't think it would be even reasonable to ask for a new version of the plugin every time a new version of Maple comes out. I just thought that a script/wrapper would be easier to write, since it could be made such that it doesn't rely on the actual version of the software being called (of course that would exclude any new "features" the software introduces at every new version). But anyway,...
Again, thanks very much for all the suggestions and instructions.
Best regards,
C
I will try the Excel procedure.
Regarding the Maple plugin, I was thinking more in the line of a script/wrapper, like the Maxima plugin; I don't think it would be even reasonable to ask for a new version of the plugin every time a new version of Maple comes out. I just thought that a script/wrapper would be easier to write, since it could be made such that it doesn't rely on the actual version of the software being called (of course that would exclude any new "features" the software introduces at every new version). But anyway,...
Again, thanks very much for all the suggestions and instructions.
Best regards,
C
#7 Posted: 6/4/2022 10:02:28 AM
Charlie,
As well you can get Maple definite integrals, damned productive !
Enjoy this visit SS 6179.
Cheers ... Jean.
Maple Solve ODE, Verhulst, Eiffel, Lambert.sm (187 KiB) downloaded 29 time(s).
As well you can get Maple definite integrals, damned productive !
Enjoy this visit SS 6179.
Cheers ... Jean.
Maple Solve ODE, Verhulst, Eiffel, Lambert.sm (187 KiB) downloaded 29 time(s).
#8 Posted: 6/6/2022 8:18:19 AM
Thanks, Jean.
Best regards,
C
Best regards,
C
#9 Posted: 6/6/2022 8:26:45 AM
The problem is in the intermediate code, which may differ in different versions of Maple. I tried version 7 and it tries to work but the helper code needs to be rewritten. You can connect any version of Maple that has a command interface (cmaple.exe).
In the plugin tmp folder (%appdata%\extensions\plugins\32dfd679-8cfd-483a-b79a-19d5ea838750\x.x.x.x\bin\tmp\), you can see the intermediate code being used (in.tmp):
In the plugin tmp folder (%appdata%\extensions\plugins\32dfd679-8cfd-483a-b79a-19d5ea838750\x.x.x.x\bin\tmp\), you can see the intermediate code being used (in.tmp):
interface(quiet=true);
with(linalg):with(inttrans):with(plots):
smath_line := proc() local i: for i from 1 to nargs - 2 do args[i]; od: end:
smath_sum := proc() if nargs = 1 then sum( args[1] ); elif nargs = 2 then sum( args[1], args[2] ); elif nargs = 4 then sum( args[1], args[2] = args[3] .. args[4] ); fi: end:
smath_product:= proc() if nargs = 1 then product( args[1] ); elif nargs = 2 then product( args[1], args[2] ); elif nargs = 4 then product( args[1], args[2] = args[3] .. args[4] ); fi: end:
smath_int := proc() if nargs = 2 then int( args[1], args[2] ); elif nargs = 4 then int( args[1], args[2] = args[3] .. args[4] ); fi: end:
smath_diff := proc() if nargs = 2 then diff( args[1], args[2] ); elif nargs = 3 then diff( args[1], args[2] $ args[3] ); fi: end:
smath_sys := proc() { args[i] $ i = 1 .. nargs - 2 }; end:
smath_el := proc() args[1][ args[2] ]; end:
smath_nthroot := proc() root( args[1], args[2] ); end:
smath_mat := proc()
local i, j, out:
out := [ args[j] $ j = 1 .. args[ nargs ] ]:
for i from 2 to args[ nargs - 1 ] do
out := out, [ args[j] $ j = ( i - 1 ) * args[ nargs ] + 1 .. ( i - 1 ) * args[ nargs ] + args[ nargs ] ]:
od:
convert( [ out ], array );
end:
smath_submatrix := proc() submatrix( args[1], args[2] .. args[3], args[4] .. args[5] ); end:
smath_int(sin(x),x);
ans := %:
writeto(".\\tmp\\out.tmp"
:
if ( whattype( ans ) = `exprseq` ) then
convert( convert( cat( `mat(`, substring( convert( [ans], string ), 2..-2 ), `,`, nops( [ans] ), `,1)` ), string ), symbol );
elif ( whattype( ans ) = `set` ) then
convert( convert( cat(`mat(`,substring(convert(map2(op,2,[ans[i]$i=1..nops(ans)]),string),2..-2),`,`,nops(ans),`,1)`), string ), symbol );
elif ( whattype( ans ) = `symbol` ) then
convert( convert( eval( ans ), string ), symbol );
elif ( whattype( ans ) = `series` ) then
convert( convert( ans, polynom) , symbol );
elif ( whattype( ans ) = `string` ) then
convert( ans, symbol );
else
convert( convert( ans, string ), symbol ); fi;
quit:
Russia ☭ forever, Viacheslav N. Mezentsev
#10 Posted: 6/6/2022 12:25:20 PM
Hi, Uni.
I really appreciate you take the time to look into it. I haven't code for a very long time, so I wouldn't know how to proceed!
I tried just a plainly replacement of the cmaple.exe file with the current version we have here in the lab but it didn't work. It just gives me the result of the last operation I had with the original cmaple.exe of the plugin.
Best regards,
I really appreciate you take the time to look into it. I haven't code for a very long time, so I wouldn't know how to proceed!
I tried just a plainly replacement of the cmaple.exe file with the current version we have here in the lab but it didn't work. It just gives me the result of the last operation I had with the original cmaple.exe of the plugin.
Best regards,
1 Pages (10 items)
-
New Posts
-
No New Posts