Groups | Search | Server Info | Login | Register


Groups > comp.soft-sys.math.maple > #1399

Re: Convert from Mathematica

Newsgroups comp.soft-sys.math.maple
Date 2023-10-08 16:31 -0700
References <2c198cc0-7256-4c24-a63d-606d1a2c6e26n@googlegroups.com>
Message-ID <e0faf063-06a5-434e-921c-f724c4342ec5n@googlegroups.com> (permalink)
Subject Re: Convert from Mathematica
From acer <maple@rogers.com>

Show all headers | View raw


On Sunday, October 8, 2023 at 3:59:01 PM UTC-4, peter....@gmail.com wrote:
> If out of necessity one is forced to translate a program from 
> Mathematica to Maple then (of course) this will not work either. 
> 
> restart; with (MmaTranslator): 
> convert((Pochhammer[n-k+1, k]/(k!)*Sum[(-1)^j*Sum[Product[(2^(i+m)-1)/(2^i-1), {i, 1, n-k-m-j}], {m, 0, n-k-j}]*Binomial[n-k, j], {j, 0, n-k}]), FromMma); 
> simplify(%);

The Help page for convert(..., FromMma) states the following in fourth bullet point of its Description section:
   "If you are using the Maple command prompt, the Mathematica input to be translated Mma_input  must be enclosed in double quotes (") or left single (`) quotes."

Where are such quotes around the Mathematica input, in your code?

https://www.maplesoft.com/support/help/maple/view.aspx?path=MmaTranslator%2FFromMma

Back to comp.soft-sys.math.maple | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Convert from Mathematica "peter....@gmail.com" <peter.luschny@gmail.com> - 2023-10-08 12:58 -0700
  Re: Convert from Mathematica acer <maple@rogers.com> - 2023-10-08 16:31 -0700
    Re: Convert from Mathematica "peter....@gmail.com" <peter.luschny@gmail.com> - 2023-10-11 15:01 -0700

csiph-web