ecterrab

14702 Reputation

24 Badges

20 years, 240 days

MaplePrimes Activity


These are replies submitted by ecterrab

Hi John, Please see the second paragraph of yesterday's reply, entitled "Re: the notation for tensors in Maple". Recalling, while in the current version of Physics you can only do abstract tensor algebra in flat spacetimes, that is about to change, to include tensor algebra in curved spacetimes and some of the functionality you have in packages like the old "tensor" or GR-Tensor. At that point you will not need to use two packages unless you want to do something much more specialized, for which the core DifferentialGeometry package is expected to be of help. Regarding your comment about distinguishing between space and time, as mentioned in yesterday's email: the ability to perform abstract tensor algebra in 4D and at the same time in the 3D (space part, so splitting the 3D tensors into a time component and a 3D tensor) is expected to be in place soon. Edgardo S. Cheb-Terrab Ph.D Theoretical Physics, Research Fellow, Maplesoft
Hi John, Please see the second paragraph of yesterday's reply, entitled "Re: the notation for tensors in Maple". Recalling, while in the current version of Physics you can only do abstract tensor algebra in flat spacetimes, that is about to change, to include tensor algebra in curved spacetimes and some of the functionality you have in packages like the old "tensor" or GR-Tensor. At that point you will not need to use two packages unless you want to do something much more specialized, for which the core DifferentialGeometry package is expected to be of help. Regarding your comment about distinguishing between space and time, as mentioned in yesterday's email: the ability to perform abstract tensor algebra in 4D and at the same time in the 3D (space part, so splitting the 3D tensors into a time component and a 3D tensor) is expected to be in place soon. Edgardo S. Cheb-Terrab Ph.D Theoretical Physics, Research Fellow, Maplesoft
Hi This thread is long - some messages got unnoticed. You are right, please see my reply yesterday, entitled "RE: Hi again, I progress only", second paragraph. Edgardo S. Cheb-Terrab Ph.D Theoretical Physics, Research Fellow, Maplesoft
Hi This thread is long - some messages got unnoticed. You are right, please see my reply yesterday, entitled "RE: Hi again, I progress only", second paragraph. Edgardo S. Cheb-Terrab Ph.D Theoretical Physics, Research Fellow, Maplesoft
Hi Robert, Indeed, this got implemented in connection with the Physics package for Maple 11, and it was possible to extend it to everything with essentially no cost. In the rush we missed documenting the feature, that I think is a great one. Edgardo S. Cheb-Terrab Ph.D Theoretical Physics, Research Fellow, Maplesoft
Hi Robert, Indeed, this got implemented in connection with the Physics package for Maple 11, and it was possible to extend it to everything with essentially no cost. In the rush we missed documenting the feature, that I think is a great one. Edgardo S. Cheb-Terrab Ph.D Theoretical Physics, Research Fellow, Maplesoft
Hi, Assuming that you use Maple 11, see ?Physics,examples, first section on Vectors and analytical geometry: there are a number of very similar worked examples that you can take as starting point to resolve the problem you posted. Edgardo S. Cheb-Terrab Ph.D Theoretical Physics, Research Fellow, Maplesoft
Hi We are taking care of 1, 2 and 3 for Maple 12 in agreement with your opinion. Regards Edgardo S. Cheb-Terrab Ph.D Theoretical Physics, Research Fellow, Maplesoft
Hi It works for me, i.e.: > restart; with(Physics); > A := matrix([[a, b*I],[c*I,d]]); [ a I b] A := [ ] [I c d ] > Dagger(A); [ _ _] [ a -I c] [ ] [ _ _ ] [-I b d ] > Dagger(convert(A, Matrix)); # also OK with Matrix [ _ _] [ a -I c] [ ] [ _ _ ] [-I b d ] ... so I guess I am missing something. Could you please post the input lines that don't work? Thanks. Edgardo S. Cheb-Terrab Ph.D Theoretical Physics, Research Fellow, Maplesoft
Hi It works for me, i.e.: > restart; with(Physics); > A := matrix([[a, b*I],[c*I,d]]); [ a I b] A := [ ] [I c d ] > Dagger(A); [ _ _] [ a -I c] [ ] [ _ _ ] [-I b d ] > Dagger(convert(A, Matrix)); # also OK with Matrix [ _ _] [ a -I c] [ ] [ _ _ ] [-I b d ] ... so I guess I am missing something. Could you please post the input lines that don't work? Thanks. Edgardo S. Cheb-Terrab Ph.D Theoretical Physics, Research Fellow, Maplesoft
Hi Could you be more especific regarding "anything you like"? I followed your steps, replaced _ by v and no error appeared. Edgardo S. Cheb-Terrab Research Fellow, Maplesoft
Hi, dsolve(des union ics); is sometimes returning a solution, other times not. The reason for that is that this is a system with three unknowns, and at the time of uncoupling the system there are six different ways of doing so, and only two of them lead to a solvable problem. This also tells what the workaround is ... But let's see the problem first: for R in combinat:-permute([x1,x2,x3]), try dsolve(des union ics, R(t)) and you will see that only when x3 comes in the last position in R is that the uncoupled linear system is solvable in current Maple. So the workaround is to give the ranking R basically saying "which unknown should be solved in terms of which other" (see explanations of rankings in ?PDEtools:-casesplit and elsewhere). For example, this returns a solution always: > dsolve(des union ics, [x1, x2, x3](t)); ... solution here ... # Verify that the solution solves the system and matches the initial conditions > odetest(%, des union ics); {0} Edgardo S. Cheb-Terrab Research Fellow, Maplesoft Editor for Computer Algebra, Computer Physics Communications
Hi, dsolve(des union ics); is sometimes returning a solution, other times not. The reason for that is that this is a system with three unknowns, and at the time of uncoupling the system there are six different ways of doing so, and only two of them lead to a solvable problem. This also tells what the workaround is ... But let's see the problem first: for R in combinat:-permute([x1,x2,x3]), try dsolve(des union ics, R(t)) and you will see that only when x3 comes in the last position in R is that the uncoupled linear system is solvable in current Maple. So the workaround is to give the ranking R basically saying "which unknown should be solved in terms of which other" (see explanations of rankings in ?PDEtools:-casesplit and elsewhere). For example, this returns a solution always: > dsolve(des union ics, [x1, x2, x3](t)); ... solution here ... # Verify that the solution solves the system and matches the initial conditions > odetest(%, des union ics); {0} Edgardo S. Cheb-Terrab Research Fellow, Maplesoft Editor for Computer Algebra, Computer Physics Communications
Hi I am not sure whether I am following the thread correctly, but dsolve(des, ics) cannot be correct. The DEs and Initial Conditions should be given in one and the same set, as R.Israel shows. Edgardo S. Cheb-Terrab Research Fellow, Maplesoft Editor for Computer Algebra, Computer Physics Communications
Hi I am not sure whether I am following the thread correctly, but dsolve(des, ics) cannot be correct. The DEs and Initial Conditions should be given in one and the same set, as R.Israel shows. Edgardo S. Cheb-Terrab Research Fellow, Maplesoft Editor for Computer Algebra, Computer Physics Communications
First 60 61 62 63 64 65 Page 62 of 65