I have the following: arrays arrC of type double in a C code and a fct
in Maple allowing arrM of type Array(datatype = float) as argument.
I want to evaluate the fct using arrC as input. For that one can either
use 'MapleAssignIndexed' (looping through the elements if there are not
very much of them), or 'RTableCreate' (details omitted).
Both seem to need some overhead which costs time.
Is there a way to use something like the C function memcpy to copy the
array to Maple (assuming the correct space can be supplied) to speed it
up? Does one have to work with byte arrays instead for that - or is it
I was wondering whether there is any way to protect a table. I have the following situation:
> f := table([ a = table([ a1 = 1, a2 = 2 ]), b = table([ b1 = 3, b2 = 4 ]) ]);
That is, f[a] returns another indexed table. Now, when I do protect(f), protect(f[a]) or even protect(f[a][a1]), I cannot change its value any more:
> f[a][a1] := test;
Error, attempting to assign to array/table `f` which is protected
But if I assign f[a] to a new variable g, then I can do it:
> g := f[a];
> g[a1] := test;
table([a = table([a1 = test, a2 = c]), d = table([d1 = i, d2 = j])])
I noticed that this function is used only for a discontinous function. What can I do if I have a discontinous data?
I'm trying to generate a list of solutions by changing two parameters as follows (T,x[1,a]):
> for T from Q by J to K do
I would like to know if after solving a Matrix Differntial Equation (general form, no initial conditions) there is a way to convert the solution matrix to equation form (i.e. y(t)= C_1e^(3t)+C_2e^(-t)+... etc).
I am working on a Maximum Likelihood problem and would like to know whether the LinearAlgebra package can be helpful. Up to now I have been using Maple only to check my work. However, someone pointed out that Maple's capabilities reach much further: it also can determine whether the system of equations is consistent and, if so, Maple can solve the equations. Unfortunately, I am only trained as a psychologist and I am still at the beginning of learning Maple's capabilities. Here are the three equations: f = (Y'b - 1t'b)(b'b)^-1 equation#1
Hello, I'd like to use the BVP solver to find the numeric solution to a large set of differential equations. The thing is, I have about 60 equations differing only by constants in the derivitave. Instead of typing in a set 60 equations with different constants, is there an easy way I can create an array of equations and use it with dsolve? Thanks!
I've got a promblem now. My teacher wants me to write a normalized programme with maple, yet I do not know how. I would like to know where can I find a normalized programme with standard format. If anyone who are familar with this subject, I am glad to accept your suggestions. Thanks very much:)
How do i find a background curve to a graph, i have data fitted with a spline and i need to find the background curve
Can Maple 10 be used to determine if the universal or existential closure of predicate logic sentences that may or may not contain quantifiers is valid ?
For example, does the tautology, equivalent and other functions of the Logic package only apply to propositional sentences ?
I am new to Maple 10, but have used other products for years. I tried v10 because the Maple website indicated that there was a great deal of flexibility in formatting pages. It seems to me, after a few days experimenting, that I cannot do more than put every thing in the middle of the page. Is this true? If not, is there a demo v10 sheet w/ instructions that shows how to do this? I can attach a pdf file of what I am interested in from Mathcad. Thanks much, Rich
Can I display floating point numbers with a precision for inidivualy columns in a (for example) 3-column data table? How? Reply by email if you can...
I am working on a program that creates symbolic algebraic expressions. I'd like to be able to "export" these to Maple. Ideally I'd like to have a menu option "Send to Maple" that would either start Maple or find an existing running version. It would then simply paste the expression in Maple syntax into the open UI.
The OpenMaple API seems to only give access to the kernel which appears (and rightly so) to know nothing of the UI. Is this the case? Is there any API that would allow me to paste to an open Maple window?
I tried enumerating all open Windows via MS Windows API functions. But since the Maple UI is Java based I couldn't get a pointer to the window...plus this seemed to be a pretty hacky solution to me.
I have been trying to understand the example examples/Optimization LSSolve section (at the bottom) and use it for different data and a different equation, i only want to find residues for omega_o, F, m and b not omega in the equation
How do i just find residuals for these four unknowns only.
i have a program to write and i dont know how to do it. if anybody could hwlp me cheers. Q implement a computer program which fora given positive integer n, a given square matrix A of order n and given vector b which n components, decides whether A is a band matrix with p=2=q and in the positive case solves the system of equations Ax=b by simplification of Gauss Elimination for a band matrices with p=2=q