What is the fastest code for integer dot product in Maple ? I am currently using the inner command, however there seems to be a lot of overhead. It is easily slaughtered by GMP. I was wondering if there is a dedicated external routine or something else that I can call ? I want to avoid linking in a C library just for this.
On a related note, I think Maplesoft should develop a companion to the LinearAlgebra:-Modular package that supports fast operations with dense integer matrices in compiled code. I know the LinBox library supports this, maybe it could be linked in ? I actually don't
In the attached file I have a variable RT_FR which appears in the system equation a1.
Download 2129_forMaple(RT_FR).mwsView file details
If I do the following (mb,tr,Ic are parameters)
> a1 := -(PSX*sin(s1)*tr-RT_FR+mb*tr*vHn*v1)/(mb*tr^2+Ic);
a1 := -11.64824973 vHn v1
then the numerical procedure - RT_FR is declared global - which is called by odeplot behaves exactly as it should.
However if I do the following
I would like to plot a projection using parametric equations:
I assigned d as 10t like this-
How do I "unassign" d? I tried the unassign command and got this:
Error, (in unassign) cannot unassign `10*t' (argument must be assignable)
How do I get rid of/clear/unassign what I assigned to d?
I know several people around my university that have had this problem so I finally thought I should ask:
Lets say I have some complicated integral, the integrand is a function of several variables. If I:
1)simply evaluate it and I get some function of the remaining variables.
2)try to assign it such as A:=(x,y,z)-> integral, I get A(x,y,z)=integral
what I want is to first evaluate to a function and then assign that function as some name as a function of the remaining variables.
I know this must be possible, but I can't seem to get it.
Thanks for the help.
(I can provid
I am having a lot of trouble converting my LaTeX files to .qu with a wide variety of problems. The first one is a successful conversion but instead of an [OK] I get the message "Error Handling".
LaTeX3.qu: Error handling
In being fed up with the converter, I added questions and converted them one at a time. The problem is with this particular question, text below:
Download 5024_LaTeX3.texView file details
I want to be able to use Maple to do algebra with variables which do not commute with each other. Is there any way I can do this? Really, all I want to be able to do is specify that X*Y - Y*X != 0, and then have Maple recognise that for more complicated functions of X and Y.
I have been looking through the documentation in the help system and have found no clues.
Many thanks in advance for your help.
Just a quick question again: if I create a function by way of, say: f := x->2x; then I can't use the plot builder by right-clicking the result. However, defining an expression as f := 2x; works fine. I realize that the plot builder pulls in the function literally and it doesn't like the format of x->2x. However, I'm just finishing up a student manual, and since it is a tad bit confusing, I just wanted to make sure that this is the intended behaviour, and that I'm not missing anything.
Can Maple produce plots of data with error bars ?
When I post a question, at the top of the screen it says I get one point. What is that for?
I am trying to do some calculations using very small numbers. For example evaluating (sqrt(x^2+9)-3)/x^2 for x=.1, .01, .001, .0001, .00001, .000001 and .0000001 which should result in values closer and closer to 1/6, but the calculations seem to break down for any x value smaller than .001 which surprizes me. Does Maple offer some sort of double or triple precision option that I can use to accurately do calculations with the smaller numbers?
Hi. I'm currently running Maple 10 for my project. So far I have successfully plotted 2d graphs of Re(A) vs d and Im(A) vs d. Both Re(A) and Im(A) are dependent on d.
Now what I want to do is to plot a 3d graph with Re(A) in the x-axis and Im(A) in the y-axis with an independent variable of d. I can't seem to figure out how to do this with the Interactive Plot Builder and I wish I could try solving the problem by posting in this forum.
I just started using Maple so any tip would be very much appreciated.
How do I parse the response string with Maple TA? I can make my code work just fine in Maple but that is assuming what type of string $response is. If someone has dealt with this before, I would appreciate some ideas. I am asking for three parametric equations and need to seperate them and use all three for determining validity of the answer.
Even though dsolve is great, I'm just curious as to how the "Add an initial condition" menu choice works in the Standard Mode.
If I enter a simple equation like this:
I would like to create the initial condition that y(0)=6. I right-click, add an initial condition and blue "reply" text comes up that looks like the IC I would enter for dsolve. However, I can't edit that IC, and it just generally does nothing. How would I go about this?
I have some 2-dimensional data to which I would like to fit a curve. The data is not functional, i.e. there can be multiple values of y for a given x. The curve should be continuous, but otherwise I have little idea about what form it should take.
Maple provides a really nice way to plot one such curve: Statistics[ScatterPlot] with the lowess option. But I do not want to just plot the curve. I would also like to do computations with the curve. For example, I would like to compute the sum of squared residuals.
What is the best way to get the curve (as a procedure, say)?