External calling functions from Windows dlls in Maple uses __stdcall calling convention.

Most Windows dlls including <windows.h> are using that convention (called also WINAPI). However, C runtime dll (msvcrt.dll) and most mathematical dlls - such as gsl, PARI, etc. which would be very useful, are using __cdecl calling convention and functions from them can not be easily called from Maple. One has to create a wrapper dll with __stdcall calling convention for that. In particular, Axel Vogt did that for a part of PARI.

Would that be possible for Maplesoft developers to add option CDECL in define_external in Maple 15 allowing calling C library functions and functions from gsl, PARI, etc. directly from Maple, without a burden of writing __stdcall wrappers for them first?

I'm new to maple and am evaluating it as a means of deriving symbolic equations of motion for a system comprising two flexible bodies sliding relative to one another and rotating in 3d space using the Boltzmann Hamel equations. I have written up the approach but the maths is extremely tedious by hand so I wondered if maple could help. For a start how do I define a simple indexed 3 element vector and then create the skew matrix equivalent (tilde matrix) as...

My first touch with Maple was in 1997,when I was in my undergraduate course.The software of maple was in three floppy disk.

Since 2000,I becomes a teacher for mathematics .Now I am using it to compute the integrate,limits,etc.

To the world you may be one person,but to one person you may be the world!

This post is a further development of my earlier question in reply to John's post. I have implemented a basic version of the CANDECOMP/PARAFAC algorithm referred to on Wikipedia and described

If you construct the tensor product W of an m- and an n-dimensional vector space, U and V, then you can view the elements of W as m by n matrices (by picking a basis for U and V). The rank one matrices are the elements that can be written as the tensor product of (nonzero) vectors u in U and v in V; this corresponds to writing the matrix as u

I always change text color, and I want the color in math mode to be the same as the text mode. Is there a way to do this automatically? The math mode always comes up in black, even if the previous text was red etc...

Thank you.

Hi,

I've recently started creating questions using MapleTA, and at the moment I've hit a stumbling block.

For a particular question, the students need to enter a formula. When I input the answer in decimal form, the question is graded correctly; when I put it in fractional form, it's not. I've used the simplify command in every perturbation I know, but I can't get it to work.

More details:

Algorithm

This is the fourth and final part of a blog post, the first three parts of which can be found here: Generating Samples from Custom Probability Distributions (I)

This is the third post in a four-part series; the earlier posts are Generating...

Hello! Im kinda new to maple so it must be a noob question :) im using it for like 24 hours to get around some basing math in it :)

Just got some understanding of this 2d/1d/worksheet/document modes and stucked at some operations with fractions.

1) How do i enter Mixed fractions to calculate right?

2) How to compare Two or More fractions?

3) How to get output in mixed fractions? or to expand fractions.

This is the second post in a four-part series that started with this post: Generating...

Maple's Statistics package contains many predefined probability distributions; well-known ones such as the normal distribution and lesser-known ones such as the Gumbel distribution. For these distributions, we ship efficient algorithms that can quickly generate a large number of sample points. To generate a sample of size 10^{6} of both of these distributions, and print the time it took to do this (in seconds), you can run the following:

with(Statistics):

Hello all,

I have a little problem with an expression I have to develop in taylor/series.

Here it is:

I want to develop it in "nu", giving that "nu" is a small parameter, and it says that it doesn't exist a series expansion.

But when I can obtain the series expansion of the "sqrt" part only of the expression, which yields:

The MRB constant is defined at http://mathworld.wolfram.com/MRBConstant.html.

On about Dec 31, 1998 I computed 1 digit of the MRB constant with my TI-92's, by adding 1-sqrt(2)+3^(1/3)-4^(1/4) as far as I could. That first digit by the way is just 0.

On Jan 11, 1999 I computed 3 digits of the MRB constant with the Inverse Symbolic Calculator.

I want to compute expected utilities, i.e. I have a random variable and a utility function, e.g.

with(Statistics);

X:=RandomVariable(Normal(mu,sigma));

u:=t->1-exp(-phi*t);

and now I want to compute the expected utility, i.e.:

You must be logged into your Facebook account in order to share via Facebook.

Click the button below to share this on Google+. A new window will open.

You must be logged in to your Twitter account in order to share. Click the button below to login (a new window will open.)

Please log-in to your MaplePrimes account.

Wrong Email/Password. Please try again.