C_R

3472 Reputation

21 Badges

6 years, 32 days

MaplePrimes Activity


These are replies submitted by C_R

@dharr 

I hope not. I doubt that such a code hybrid can be maintained over a period of more than 15 years. Unless it is very well documented. Better not to touch.

@acer 

I tried this

Typesetting:-mi("D",mathvariant="italic")

D; "_noterminate"

(1)

D

D

(2)

local D;

Warning, A new binding for the name `D` has been created. The global instance of this name is still accessible using the :- prefix, :-`D`.  See ?protect for details.

 

D

(3)

D

D

(4)

Typesetting:-mi("D",mathvariant="italic")

D; "_noterminate"

(5)

D

D

(6)
 

 

Download D_in_mi_attempt.mw

@acer 

Since I use D quite often (copying formulas from text books one to one), I will ask support whether this can be fixed one day. 
Thank you for the explanations.

@dharr 

Interesting finding. The help page of typesetting mentions a redesign from hard coded to a rule based system. Why these exception?

I am not using Mapleflow either but I remember that Mapleflow recognises Maple code.

In Maple conversion to a value in percent could be done like this

By name

pu := 100*`&%;`;

100*`&%;`

(1)

x := 0.1;

.1

(2)

x := x*pu;

10.0*`&%;`

(3)

x:=eval(x, `&%;` = 1/100);

.1000000000

(4)

By equation

restart:
percent:=pu = 100*`&%;`;

pu = 100*`&%;`

(5)

x:=0.1*pu

.1*pu

(6)

x:=eval(x,percent)

10.0*`&%;`

(7)

x:=eval(x, `&%;` = 1/100);

.1000000000

(8)

 

NULL


 

Download Convert_to_percent.mw


The name pu is assignet to a product of 100 and a new name `&%;` that prints as % but appart from that does nothing.

Not sure if that is of any help.

@Ronan 

It helped. There is a style set for footer and header.
Thank you!

@acer 

I replaced ":=" with "=" and it works to my full satisfaction. What a time saver!

Concerning the the double index output, I used dsolve and int before without any problems. So I guess that some parts of the code of dsolve and int were imune to varphi[0]. 

Thank you very much! 

@acer 

I currently deal with a document with many expression where I would like to replace varphi__0 by something that prints like varphi[0] prints. I therefore tried to replace every occurence of varphi__0 by varphi[0]. This worked up to the point where the above mentionned integrals came into play.

I now see three options:

  1. substitution of  varphi[0] by new names (i.e. taking one of your solutions) and replacing them back
  2. substitution of  varphi[0] by the former varphi__0 for the integration calls and replacing them back
  3. Maybe defining a typesetting rule for the whole document that prints varphi__0 like varphi[0]

Option 3 would be the most elegant since it would only require one change in an existing document at the beginning.

The other ways would blow up the code and make it less understandable for others. In case way 3 is not possible I  will probably go for way 2 for that particular document because varphi__0 is the only occurence of a subscripted name with a number.

For future work: Is there a simple explanation why my initial attempt with varphi[0] did not work? Are subscripted names "safer" to use? 

Upate to your 2 second reply:

Its more than not looking great. I do not understand that.

If you use Windows then you should still have the "2024 GUI". It's called "Maple for Screen Readers"

That's what I use until the GUI is fully functional. Why its called like this is still a mystery to me.

Which interfaces should be removed?

If you use Windows you can check the use of physical memory (RAM) and the overall allocated memory to a task with the task manager.

With Maple defaults, you will see the Java GUI of Maple and "mservers" for each Maple document. I have not found out yet what the memory metric in the status bar represents. However, I have not seen a case that this metric decreases unless you restart.

And yes, it is possible that a task allocates more space than physically available. To make this possible a multi-task OS temporarily stores "memory pages" that are not in use on the hard drive. So, a task that generates more and more data fills the RAM up to a point when the OS decides to store unused data on the hard drive. This process can exceed physical availabe limits.

Which operating system do you use?

Please send a worksheet and indicate the formula to copy.

Can we assume that you use the latest Maple release?

@Carl Love 

I requested a new password and could now validate a new email. 

 

Dear MapleSim product management,

thank you for expanding basic functionalities and not making them an extra package.

MapleSim is easy to use. In this sense highlevel components for off-shelf components add to usabiliy. 

I also agree with what has been said by @WhiteNoise about general purpose components for signal generation.

And, if I may add, don't forget about digital signal processing that is used in everyday products. 

@Carl Love 

Makes sense but I think nowadays spammers automate their work which means that there is no huge gain in using an existing account.

I will try again after a while. Maybe there is a timer or something that identifies an account as non-spam.

Looks like that I have been too naive when choosing an old account that I want to keep.

@Carl Love 

Interesting workaroud!

Will that flagging as spam also flag the email I have used as spam address?

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