Adept Scientific - English
The world's best software for research, science and engineering.
flag arrow
clearclear
 

 Adept Store | register Join My Adept | Flags  
Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055  
UKusdedksvnofi
Home
Products
Training
Consultancy
 Buy Online
Downloads
Education
Support
My Adept
International |  About Us |  Contact Us |  Press Room |  Jobs


The Next Steps

• Ask us a question
• Maple Product Tour
• Buy Maple Now
• View Maple Pricing
• Download a Brochure
• Request a Brochure
• Download a Demo
• Request a Demo
• Meet Our Team
• Read our RSS Feeds

Learn More

Maple Home
Maple 12 Professional
Maple 12 Academic
Maple 12 Student Use
Recorded Online Seminars
FREE Training Resources
Maple Application Briefs
Maple Adoption Program

MapleNet
Maple T.A.
MapleConnect
BlockImporter for Simulink
BlockBuilder for Simulink
Maple Toolboxes
Maple Rave Reviews
Maple Study Guides
Books about Maple
System Requirements

Latest Information

New Features: Professional
New Features: Academic
The Maple Reporter Online
Numerical Algorithms Group
(NAG)


Service & Support

Maple Primes
blogs, forums etc

Elite Maintenance Program
Application Centre
Powertools
Search the Knowledge Base
Technical Support request

List Archives >  Maple User Group List Archive >  Archive by date >  This Month By Date >  This Month By Topic

[MUG] coordinate-free or expression simplification

Search email archive for  

[MUG] coordinate-free or expression simplification
Author: Charles James Leonardo Quarra Cappiello    Posted: Fri, 08 Nov 2002 14:31:21 -0400

>> From: "Charles James Leonardo Quarra Cappiello" "charsquarra"

Hi,


Im total newbie to Maple. I'm trying to do a vector calculation that keeps
results expressed in terms of geometric invariants like a.b or ||v||. This
seems to be tricky since Maple define vectors as < , ..> objects, which are
inherently coordinate based. I've tried to do this in the following two
approachs:

1 ) Define an alternate dot product law:

> define ( Multip(x,y) , multilinear, orderless );

now, i want to define it homogeneous in the coefficient field, ie:
> definemore ( Multip(x,y) , Multip( (t::real)*x,y ) = t*Multip( x,y);

which looks good, but i soon (not too soon) realized that i wasnt defining
in any special way x and y, but im not sure how to define a vector space
(where im defining Multip as a function from ( MyVectorSpace X MyVectorSpace
) -> CoefficientField)

Q#1: How i define a vector space or any other entities objects in Maple?


The second way im trying to do this is:

2 ) put to good use the simplify functionality after the coordinate-based
calculation has been done:

In this method i first do all my calculations on an defined but otherway
arbitrary basis with the < Ax, Ay , Az> formalism

Then i try to use simplify adding equations that can be used by the simplify
routine to substitute Ax*Bx + Ay*By + Az*Bz with the variable dotAB, but i
must be doing something naive here, because i get this error:

> simplify ( result , dotAB = Ax*Bx + Ay*By + Az*Bz );
Error, (in simplify/do) invalid simplification command

What im doing wrong?

Greetings,


Charles Quarra





_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

[MUG] Re: coordinate-free or expression simplification
Author: Bertfried Fauser    Posted: Thu, 14 Nov 2002 10:08:43 +0100

>> From: Bertfried Fauser "fauser"

Dear Charles!

>> From: "Charles James Leonardo Quarra Cappiello" "charsquarra"
> define ( Multip(x,y) , multilinear, orderless );

Note: The define facility of maple miscomputes at least in mapleV, maple6
and 7 (we are still testing maple 8). Hence it is dangerouse to use this
device. But you may look at he maple8 group at yahoogroups.com where you
may find a patched define (which was however tested mainly for the
associative,multilinear case only)

> now, i want to define it homogeneous in the coefficient field, ie:
> > definemore ( Multip(x,y) , Multip( (t::real)*x,y ) = t*Multip( x,y);

The patched define allows you also to specify a domain (ring) you want to
calculate over. Hence you have not to fiddle arround with additional
things like making your function linear in the first argument as you did
above.

> (where im defining Multip as a function from ( MyVectorSpace X MyVectorSpace
> ) -> CoefficientField)
> Q#1: How i define a vector space or any other entities objects in Maple?

As far as I know, there is no method in maple to compute with abstract
algebra elements not tied to a basis. We are on the way to develop a
package in that direction, but still there are mathematical and software
problems.

If you seek for a well documented and well tested package which is able to
handle computations as you try to do, and you don't mind to formulate them
in a Clifford language, hence vectors are represented by algebra elements,
you may have a look at the url:
http://math.tntech.edu/rafal/
and look for the package for your maple version. Untill now there are
packages for mapleV,6,7 maple 8 will follow soon. However, this package
internally uses still bases :(
The package comes with a function clisolve, which is able to do
what you desire, you can specify algebraic equations in arbitrary (but in
a basis expanded) element and solve, the equations may be even non-linear,
but then solving is of course not guaranteed.

best
BF.

% Bertfried Fauser Fachbereich Physik Fach M 678
% Universit"at Konstanz 78457 Konstanz Germany
% Phone : +49 7531 883786 FAX : +49 7531 88-4864 or 4266
% E-mail: "Bertfried.Fauser"
% Web : http://clifford.physik.uni-konstanz.de/~fauser

Previous by date: [MUG] Re: Can Maple krack this kernel?, Maple User Group
Next by date: [MUG] Re: plotsetup in maplets!, Robert Israel
Previous thread: [MUG] Help with dsolve (Maple 6 vs Maple 7), Jim Shoemaker
Next thread: [MUG] plotsetup in maplets!,  Avelino Sousa



Ready to buy?

Maple - single user licence
Add to shopping basket
$ 1,895.00
Upgrade to Maple 12 from v11
Add to shopping basket
$ 995.00
Upgrade to Maple 12 from v10 & below
Add to shopping basket
$ 1,395.00

Featured Downloads

Maple White Paper: Technical Knowledge - An Asset You Can Afford to Lose?
Maple in Electronics Application Pack
Maple in Robotics & Aerospace Application Pack
Maple in Finance Application Pack

Product Reviews

"Without the Maple software, we would have to spend weeks generating the equations of motion for every experiment. Then the chances that we did it right would basically be near zero. There would always be a mistake somewhere. It is very difficult to set up a dynamic motion model by hand."
- Jean-Claude PiedBeouf, Ph.D Manager of Robotics, Canadian Space Agency

"Its very good - highly accurate and easy to use. The speed of Maple allows me to change equations and quickly reintegrate them into the application, so more possibilities can be explored to achieve the precise effect desired."
Shawn Neely, Senior R & D Director for PDI/Dreamworks
adept

Top of the Page

Our Privacy and Terms and Conditions Statement
All Trademarks Recognised. Copyright © 2007, Adept Scientific plc.
Site designed and maintained by Adeptise

Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055