louisek

8 Reputation

One Badge

20 years, 260 days

MaplePrimes Activity


These are replies submitted by louisek

Two comments: 1. As you know, the $ character is a special character in Maple T.A. that denotes a variable. But, you can pass a $ to Maple from Maple T.A. if you escape it (using a \). As an example, try the following: $n = range(2,5,1); $function = maple("diff(x^5,x\$($n))"); This escapes the first $ and sends the command to Maple with the first $ intact and the $n replaced appropriately. 2. If you have a Maple repository, you can use it from within the algorithm section. From the Algorithm Designer, you can browse to the location of your Maple repository and link to it. You can then define variables that use code from within that library. Alternatively, you can include a libname option to any maple command in the algorithm section. For example, $a=maple("maplecommand, libname=URL to lib"); Is this what you meant or were you looking for different functionality?
Two comments: 1. As you know, the $ character is a special character in Maple T.A. that denotes a variable. But, you can pass a $ to Maple from Maple T.A. if you escape it (using a \). As an example, try the following: $n = range(2,5,1); $function = maple("diff(x^5,x\$($n))"); This escapes the first $ and sends the command to Maple with the first $ intact and the $n replaced appropriately. 2. If you have a Maple repository, you can use it from within the algorithm section. From the Algorithm Designer, you can browse to the location of your Maple repository and link to it. You can then define variables that use code from within that library. Alternatively, you can include a libname option to any maple command in the algorithm section. For example, $a=maple("maplecommand, libname=URL to lib"); Is this what you meant or were you looking for different functionality?
Page 1 of 1