Carl Love

Carl Love

24975 Reputation

25 Badges

10 years, 161 days
Himself
Wayland, Massachusetts, United States
My name was formerly Carl Devore.

MaplePrimes Activity


These are replies submitted by Carl Love

@dharr I vote up. You've provided an impressive tour-de-force of Maple's facilities for working with exact polynomials with algebraic-number coefficients. 

@Christian Wolinski Yes, that appears so. As I said above, the "rules" in the OP's leading example do not even represent a function. That's a bit counter-intuitive because "rule" and "function" mean pretty much the same thing in common usage.

@Axel Vogt MaplePrimes Search searches Posts and Questions. As far as I can tell, there's no option for searching Answers, Comments, or Replies. This is very, very bad because the vast majority of useful content on this site is in the Answers. (Posts also contain much useful information, but there are far fewer of them.) The amount of useful-for-searching content in Questions is negligible. Thus, the vast majority of this site cannot be searched in any meaningful way. Thus it has very little potential to be a valuable information resource for the future.

@sursumCorda Many users are probably not aware of the difference between a list(list) and a listlist. The former is a list whose elements are lists; the latter is a list whose elements are lists that all have the same number of elements.

@sursumCorda Going from cycles to rules is trivial, even for cases that aren't permutations:

CyclesToRules:= (C::list(list))-> (c-> (c =~ c[[2..-1, 1]])[])~(C)
:
CyclesToRules([[g, d, c], [e, a], [f, d, c], [b]]);
[g = d, d = c, c = g, e = a, a = e, f = d, d = c, c = f, b = b]

As you say, the a=b obfuscates. The big stumbling block in going from rules to cycles is deciding that a=b can be ignored.

I deleted your recently posted follow-up Question because it's too similar to this one. Indeed, the only difference from this Question is that in the new Question you want D in italics. As noted below, D is a special case.

@sursumCorda The last example shown on that Mathematica help page is a permutation. Indeed, it is the example that you used in your first version of this Question, and it was what I coded my Answer for.

Maple has a command apply, which handles the vast majority of cases. It is quite rare that one one needs to resort to `?()` in top-level code, although one may need to overload it in an object module. The same applies to index (used twice in my Answer), which is an easier-to-use version of `?[]`

@sursumCorda If you could specify an algorithm for this (rather than just an example), I'd be happy to encode it in Maple as efficiently as possible. 

@sursumCorda Your example rules contain a=b. How is that rule represented in the output 

[[g, d, c], [e, a], [f, d, c], [b]]

I could do it with a two-line procedure if your rules were a permutation (or bijection), but they aren't in your example. And given that they aren't, I don't understand what you mean by "cycles". Your rules don't even represent a function, let alone a bijection.

@mmcdara K is the SI unit of temperature; kg is the SI unit of mass.

Just making sure I have this right: You want to solve a system of only two equations but 2014 unknowns, with no other restrictions?

Maple has a package, DeepLearning, that may be able to help.

If you already have an algorithm in mind, if you describe it precisely, it should be possible to implement in Maple. You may also find the ImageTools package useful.

I'm not sure if this helps: Maple can do both integrals, without restrictions on mna, or b. The case m=n should be treated separately, but Maple has no trouble with that integral either.

@Vortex I wasn't trying to "clarify" anything or to criticize your terminology. There's nothing incorrect about calling it an integro-functional equation. 

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