Art Kalb

252 Reputation

12 Badges

17 years, 264 days

MaplePrimes Activity


These are replies submitted by Art Kalb

Thanks for replying.

What you recommend generates errors.

A pair of uneval quotes on the global statements generates an "unexpected single forward quote" error.

The uneval quotes on the assignment generates "invalid left hand side of assignment."

 

My original code follows the proto-type shown in the help pages. It also works for the evalf function. Just not for the other two.

 

Any other suggestions?

Thanks for replying.

What you recommend generates errors.

A pair of uneval quotes on the global statements generates an "unexpected single forward quote" error.

The uneval quotes on the assignment generates "invalid left hand side of assignment."

 

My original code follows the proto-type shown in the help pages. It also works for the evalf function. Just not for the other two.

 

Any other suggestions?

And the answer to that would be?

And the answer to that would be?

Hi,

 

Yes. Sorry I already knew that part. Didn't think to mention it.

Thanks for looking at the question.

 

Regards.

Hi,

 

Yes. Sorry I already knew that part. Didn't think to mention it.

Thanks for looking at the question.

 

Regards.

I opened a new document and now it seems to work all the time.

Don't know what happened...

 

Thanks.

I opened a new document and now it seems to work all the time.

Don't know what happened...

 

Thanks.

Hi,

 

I should have mentioned that I know

is imaginary.

 

Regards,

 

Art

@Alejandro Jakubi I am wondering why you think having sqrt as a module is better? My understanding of a module is that it is a collection of bindings with its own environment. It is not apparent to me why making a module with sqrt is better than binding it into the global environment?

Hi,

 

Thanks for the response. The question I was posing was how to format when using the Export command. If you look in your example, the numbers are formatted as .xxxxxxxxxxExx. I was looking for x.xxExx (or more generically, how to control the formatting).

 

Regards.

Hi,

 

Thanks for the response. The question I was posing was how to format when using the Export command. If you look in your example, the numbers are formatted as .xxxxxxxxxxExx. I was looking for x.xxExx (or more generically, how to control the formatting).

 

Regards.

This is exactly what I was looking for.

With regard to other comments. This is not cheating at all (I agree). It's just using an identity.

 

Thanks for the reply.

This is exactly what I was looking for.

With regard to other comments. This is not cheating at all (I agree). It's just using an identity.

 

Thanks for the reply.

Hi,

 

Works like a charm. It had not occurred to me to take the values in the sets as indices into a vector.

I guess I was working from a more general mental model that the elements of the set might not be numbers.

Any clever idea on how that might work? I could probably brute force it by mapping the elements of the sets to numbers, but that seems a bit inelegant.

I had been plowing through the groups package and really hadn't seen a solution. I was a little surprised there was nothing to implement a group action directly.

 

Thanks for the help.

2 3 4 5 6 7 Page 4 of 7