C_R

3712 Reputation

21 Badges

6 years, 192 days

MaplePrimes Activity


These are questions asked by C_R

I am asking because I could neither find a type nor a property for nonzero integers. However, with the assume facility it is possible to combine properties 

assume(x<>0,x::integer)
about(x)
Originally x, renamed x~:
  is assumed to be: AndProp(integer,OrProp(RealRange(-infinity,Open(0)),RealRange(Open(0),infinity)))

Or:

restart;
assume(x::Non(0),x::integer)
about(x)
Originally x, renamed x~:
  is assumed to be: AndProp(integer,OrProp(RealRange(-infinity,Open(0)),RealRange(Open(0),infinity)))

Or:

assume(x::NonZero,x::integer)
about(x)
Originally x, renamed x~:
  is assumed to be: AndProp(integer,OrProp(RealRange(-infinity,Open(0)),RealRange(Open(0),infinity)))

Non(0) is also accepted by the type command which raises the question whether Non(0) is a property, a type or both.

On the other hand type does not recognise NonZero but "::NonZero" is accepted in the assume command (note the :: which is the operator for type definitions). 

The function Non, which is also listed under types, is also accepted in the context of properties. This is somewhat confusing since types and properties are different in nature. Can somone clarify?

By the way, the above examples also work when Non is replaced with Not because they are equivalent. However showstat(Non) works but showstat(Not) throws an error.

MAple 2026.0

Maple 2025.2 craches on SupportTools.-Update()

Can anyone verify? 

Solutions?

FYI: The user interface issues I was having with Maple 2026  have now been resolved.

Documents imported with the AI-assistant can containt private and confidential information.

I was wondering how privacy is handeled by third party AI services that are called by the AI assistant.

From https://openai.com/enterprise-privacy/ it is not clear which product is running and how Maplesoft has set it up.

Anyone knows more?

Example: In the expression

expr:=1/sqrt(2)*(x+a);

I prefer the output

over

because it is shorter. To fix that I do

expr:=1/sqrt(2)*(x+a);
subs(sqrt(2) = 2/%sqrt(2), %)

The problem with that way is that all occurences of sqrt(2) are replaced, which I do not want. I only want to replace sqrt(2)/2.

I thought about selecting all products that contain 1/2 and sqrt(2) among others and apply the substitution only there.

How to do this in a (simple?) way?

Maybe there are other ways without subs.

I could not find the style management straight away and asked Maples AI assistant. That did not work for the 2026 release since the format menu does not exist anymore (see below). My hope was that AI could scan the help system for me.

Thanks — with Maple 2026 on Windows the locations and menus are stable. Below are the exact places and step‑by‑step actions to find, install and manage user styles (stylesheets).
1. Open the Stylesheet manager (recommended)-1. In a worksheet choose the menu: Format → Stylesheet... (or Format → Manage Stylesheets in some builds).
-1. The dialog shows the current stylesheet and a list of available stylesheets (built‑in and user). From there you can Apply, Edit, Save As or Import a stylesheet.

2. Typical filesystem locations (Maple 2026, Windows)• Built‑in stylesheets (read‑only):
C:\Program Files\Maplesoft\Maple 2026\lib\stylesheets
• User stylesheets (per‑user area):
%APPDATA%\Maplesoft\Maple 2026\stylesheets — this expands typically to C:\Users\<YourUser>\AppData\Roaming\Maplesoft\Maple 2026\stylesheets.

3. Installing a custom stylesheet file-1. Method A (recommended): Open Maple, Format → Stylesheet → Import (or use the Stylesheet dialog’s Import button) and choose your stylesheet file. Maple copies it into your user styles folder.
-1. Method B (manual): Place the stylesheet file into the user stylesheets folder above. Then restart Maple (or use Format → Stylesheet → Refresh if available).
-1. If you want the stylesheet to be available to all users, copy it into the built‑in folder, but you will need administrator rights.

4. Creating / saving your stylesheet-1. Edit an existing stylesheet via Format → Stylesheet → Edit, then use Save As to store a copy in your user styles folder with a new name.
-1. Stylesheet files are XML/Maple worksheet fragments — you can back them up or share the file directly.

5. Opening a stylesheet file directly-1. Use File → Open in Maple and change the file type filter to Stylesheet (or choose the .mpl/.mws/.stylesheet file). This opens the stylesheet for inspection or editing.

6. Editing outside Maple (advanced)• Stylesheet files are XML/worksheet text. You may edit them in a text editor, but make a backup first. After editing, place the file in the user styles folder and restart Maple.
• Avoid corrupting the XML structure — if Maple fails to load the stylesheet, restore from your backup.

7. Troubleshooting• If your new stylesheet doesn’t appear, confirm it is in %APPDATA%\Maplesoft\Maple 2026\stylesheets and restart Maple.
• If you lack permission to save into Program Files, use the user styles folder instead.
• To remove a user stylesheet, delete its file from the user styles folder (Maple must be restarted to update the list).

If you like, I can (a) show the exact content structure of a simple example stylesheet you can paste into a file, or (b) give step‑by‑step screenshots (described) for the Format → Stylesheet dialog in Maple 2026. Which would you prefer?

1 2 3 4 5 6 7 Last Page 1 of 50