Groups | Search | Server Info | Login | Register


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

Re: Convert from Mathematica

X-Received by 2002:ac8:7d10:0:b0:412:2d22:2a99 with SMTP id g16-20020ac87d10000000b004122d222a99mr198260qtb.10.1696807902083; Sun, 08 Oct 2023 16:31:42 -0700 (PDT)
X-Received by 2002:a9d:6a14:0:b0:6c4:77eb:7114 with SMTP id g20-20020a9d6a14000000b006c477eb7114mr4373929otn.0.1696807901897; Sun, 08 Oct 2023 16:31:41 -0700 (PDT)
Path csiph.com!weretis.net!feeder6.news.weretis.net!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups comp.soft-sys.math.maple
Date Sun, 8 Oct 2023 16:31:41 -0700 (PDT)
In-Reply-To <2c198cc0-7256-4c24-a63d-606d1a2c6e26n@googlegroups.com>
Injection-Info google-groups.googlegroups.com; posting-host=99.225.200.95; posting-account=fuODWQoAAACwKFkiR1AZOPqJMnEnSkk2
NNTP-Posting-Host 99.225.200.95
References <2c198cc0-7256-4c24-a63d-606d1a2c6e26n@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <e0faf063-06a5-434e-921c-f724c4342ec5n@googlegroups.com> (permalink)
Subject Re: Convert from Mathematica
From acer <maple@rogers.com>
Injection-Date Sun, 08 Oct 2023 23:31:42 +0000
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
Lines 20
Xref csiph.com comp.soft-sys.math.maple:1399

Show key headers only | 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