Adam Ledger

Mr. Adam Ledger

305 Reputation

11 Badges

3 years, 357 days
unemployed
hobo
Perth, Australia

Social Networks and Content at Maplesoft.com

MaplePrimes Activity


These are questions asked by Adam Ledger

I get the same result here where I expected a difference to be acknowledged by the split command. Is there a more efficient way of handling this problem other than the substitution for another character, followed by executing the split  command, then substituting the substituted character with the original ?(here ":")




 

StringTools['Split']("fdsg543656fgh:576fghs:dsfg::657ufdgdsg", "::")

["fdsg543656fgh", "576fghs", "dsfg", "", "657ufdgdsg"]

(1)

StringTools['Split']("fdsg543656fgh:576fghs:dsfg::657ufdgdsg", ":")

["fdsg543656fgh", "576fghs", "dsfg", "", "657ufdgdsg"]

(2)

``


 

Download split_help.mw

 



I am just confused to be getting this error seeings FileTools does not encounter this error when I use it's ListDirectory command:

 

error_for_primes.mw
 

with(ImageTools):

FileTools:-ListDirectory(currentdir())

["IMG_20200116_015953.jpg", "magetools commands.mw"]

(1)

Read("H:\\MAPLE\\Image_Project", format = JPEG)

Error, (in readbytes) permission denied

 

NULL


 

Download error_for_primes.mw



I couldnt find this command in the number theory package, as far as what i am thinking of doing it should be straight forward but very long winded, so if I have missed this command throughout the packages up to Maple 2016 I would appreciate someone telling me otherwise I suppose it's what i am doing for the next few hours

https://en.wikipedia.org/wiki/Partition_(number_theory)
 

Basically it spits out the subset of values for which a division by zero error will occur for the function you specify on  range you specify for each of it's arguments, but I get an ambigous error when ever exponentiation features in the function I specify, which of course dramatically reduces the application of the calculator. Division,addition,substraction and multiplication are currently the only available arithmetic operators availble for the function window that I know the error will not occur.

If some one can help it is much appriciated

 

DIVISION_BY_ZERO_CALCULATOR.mw

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