ecterrab

13351 Reputation

24 Badges

18 years, 235 days

MaplePrimes Activity


These are replies submitted by ecterrab

@Hullzie16 
Nice response. Note also that Physics includes an option, cosmologicalconstant that you can set using Setup. This is a copy and paste from the help page for Physics:-Setup:

  • cosmologicalconstant = 
      "0 or any algebraic expression."
    The default value for the cosmological constant is 0, so the Einstein and EnergyMomentum tensors are proportional. You can set the value of this constant to any valid algebraic expression, in which case the relationship defining those two tensors includes an additional term with this constant as usual - try for instance entering Einstein[definition] or EnergyMomentum[definition].
    ​​​​​​​

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

I don't understand yout question. Could you clarify what you mean by "a complex conjugate such as z" which is not conjugate(z)? 

Note also that when loading the Physics package, you can compute with z and conjugate(z) on equal footing, see this MaplePrimes post about Wirtinger derivatives.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

The function-parameter k is referred as ".. the modulus k entering the definition of the Elliptic, JacobiPQ and InverseJacobiPQ .. " after formula (6) of help(EllipticF). That said, I agree it is clearer to call k 'the modulus' right away to avoid a potential superficial reading confusing it with '.. a parameter m = k^2 ..'. I adjusted the help page accordingly, following your suggestion.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@Thomas Richard 

It is not a correction of the latex of previous Maple versions but a completely new, from-scratch, latex, that includes File > Export > LaTeX, and Copy > as LaTeX.

This new latex command is free of all those problems like the one mentioned in this question.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@acer@Carl Love@rlopez@C_R

This is now implemented and the change distributed within the Maplesoft Physics Updates v.1482 or newer, for everybody using Maple 2023. As usual, to install, open the GUI and input Physics:-Version(latest).

The solution implemented is at library level, therefore you need to install the Updates. The problem, however, is actually a GUI issue, and is being investigated as such, probably to appear fixed in the GUI directly in the next Maple release or so.

By the way: I noticed approx 100 differences in our test suite, all of them showing a better display now, the improvement hits across the board. Good catch Robert!

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions

@Carl Love 
Instead of subs("&uminus0;" = "–", ...) input subs("&uminus0;" = ("–", "fontweight" = "bold"), ...) and you see the difference. Regarding the other two things you mentioned, vertical position and extra very thing space, none is addressable in a simple way, but anyway, I think those are not the main issues.

If we are all on the same page, I will take a look at what happen with the existing typesetting tests and implement the change. Then distribute it within the Maplesoft Physics Updates as usual so that anybody using Maple 2023 can have this improvement.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@rlopez 
ndash or uminus0 are just typesetting tokens, about "how it looks". What is behind, so "what it is", is always the same thing, -1, or -x, etc.

So, is ndash preferred to the current (which is uminus0)? In both a number and a letter?

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@acer@Carl Love@rlopez@C_R

Download: unary_minus_typesetting.mw

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@Jamie128 
Indeed, the Physics package is not for working with differential forms (a case where you'd need a wedge product operator). For that, you either have difforms (perhaps more abstract) or DifferentialGeometry (I am co-author of DifferentialGeometry).

Still, as said, covariant and exterior derivative commands are part of the Physics package, and since you mentioned those .. By the way, since Physics implements calculus with anticommutative variables, and the product operator knows about them, including differential operators as part of a product, it is possible to formulate things that you'd typically formulate with differential forms alternatively to tensorial representations.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@Jamie128 

To the side of your question, Physics has the D_ command to compute covariant derivatives (also ThreePlusOne:-D3_) and the ExteriorDerivative command to compute exterior derivatives, besides LieBrackets, LieDerivative and KillingVectors commands, all inter-related. My question is thus only a curiosity: why do you use DifferentialGeometry instead for compute covariant and exterior derivatives?

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

Entering "EllipticE" should turn ON the typesetting for 1 or 2 arguments. That is fixed within the Maplesoft Physics Updates v.1468 or newer. The not in bold for the two arguments is intentional to distinguish from the one argument case (directly by looking at the function's name), so that is not to be changed.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesofty

The first issue is according to design, as explained by @acer; his suggestion of Physics:-Setup(assumingusesAssume) is the Maple way to make this first example work as you expect using  assuming, without having to set a fixed assumption using assume.

The second issue, the output of D(f^k) assuming k::constant, was a weakness in D, which is fixed in the Maplesoft Physics Updates v.1466 for Maple 2023. As usual, to install it open the GUI and input Physics:-Version(latest);

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

Hi @Carl Love 
Would it be possible for you to show what you say / suggest in a worksheet using 2D so that I can follow? Maybe it is a simple thing to adjust.

Best!

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

Interesting ... I understand there is no single approach but different approaches suitable for each person. In my case, I try to see whether my answer's message(s) are clear enough to be understood. If so, only continue in the thread if there is something else (derivable from the original question). Or if the topic changes as soon as I reply, make that explicit in a new reply and only continue in the thread if the new topic really interests me. If the thing extends, or the arguments start repeating, I frequently prefer to quit the conversation - no matter how it looks.

@Jean-Michel 

I adjusted the title according to what you said.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

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