Carl Love

Carl Love

27975 Reputation

25 Badges

12 years, 282 days
Himself
Wayland, Massachusetts, United States
My name was formerly Carl Devore.

MaplePrimes Activity


These are replies submitted by Carl Love

@Joe Riel I was just about to expand on my Answer, but I needed to let the dog out (literally), and you caught it. I was going to say that the desired command was probably zip, assuming that the x's and y's are separate to start with, since the Asker expressed skepticism about the data structure anyway. If they are already in pairs, then certainly the f@op (or equivalent) is better than doing a "strip then zip".

@Joe Riel Sigh. I'm never satisfied with using satisfies with a predicate that is pure (albeit parametrized) syntactic type checking. It always leaves me feeling there's gotta be a smoother way.

@Joe Riel Sigh. I'm never satisfied with using satisfies with a predicate that is pure (albeit parametrized) syntactic type checking. It always leaves me feeling there's gotta be a smoother way.

Acer wrote:

> depnames := indets(expr,And(And(name,Non(constant)),
> 'satisfies'(u->depends(expr,u))));

It seems like such a fundamental concept that it's surprising that there isn't a more primitive typespec for that. I suspect that in the majority of cases where one calls indets(expr, name) that the above is what one really wants. I've found a few bugs in library code that probably would've been avoided if there had been a primitive typespec for the concept. (One I recall involved fsolve(Int(..., [x=..., y=...]), ...) where it complained about x and y not being solved for. That's fixed in Maple 17.) There are the types ?type,dependent and ?type,freeof, but they are types which are applied to an expression, not to the names within the expression.

Acer wrote:

> depnames := indets(expr,And(And(name,Non(constant)),
> 'satisfies'(u->depends(expr,u))));

It seems like such a fundamental concept that it's surprising that there isn't a more primitive typespec for that. I suspect that in the majority of cases where one calls indets(expr, name) that the above is what one really wants. I've found a few bugs in library code that probably would've been avoided if there had been a primitive typespec for the concept. (One I recall involved fsolve(Int(..., [x=..., y=...]), ...) where it complained about x and y not being solved for. That's fixed in Maple 17.) There are the types ?type,dependent and ?type,freeof, but they are types which are applied to an expression, not to the names within the expression.

Sheesh. It sure is easy to transcribe exp-s as exp(-s) using only the "naked eye" on someone else's 2D input. So please post code-to-be-debugged in a form that can be downloaded or cut-and-pasted.

I have transcribed and executed your code without error, obtaining the plot. Try putting a restart at the beginning. If it still doesn't work, upload your entire worksheet.

@wb_jerry Okay, then the problem is almost certainly solvable. I ask again: Is a floating-point solution acceptable?

What do you mean by "anyway"? Didn't I help you?

@wb_jerry Okay, then the problem is almost certainly solvable. I ask again: Is a floating-point solution acceptable?

What do you mean by "anyway"? Didn't I help you?

@JamesK Note that it is only the long display labels that make the plot look messy. There is no problem with the internal representation of the Graph. I am about to post an update that deals with this.

@JamesK Note that it is only the long display labels that make the plot look messy. There is no problem with the internal representation of the Graph. I am about to post an update that deals with this.

@Markiyan Hirnyk You're right. I hadn't noticed that comment in the lengthy thread, probably because it was short and did not display a plot.

@Markiyan Hirnyk You're right. I hadn't noticed that comment in the lengthy thread, probably because it was short and did not display a plot.

You said, "Ok, I've done it". Do you mean that you've done just the uploading (following my Answer), or the uploading and the plotting also (following Markiyan's Answer)?

If you still need to do the plotting, Do you know if the data in the first column (the independent variable) are in numerical order?

You said, "Ok, I've done it". Do you mean that you've done just the uploading (following my Answer), or the uploading and the plotting also (following Markiyan's Answer)?

If you still need to do the plotting, Do you know if the data in the first column (the independent variable) are in numerical order?

First 675 676 677 678 679 680 681 Last Page 677 of 707