sand15

1658 Reputation

16 Badges

11 years, 299 days

MaplePrimes Activity


These are questions asked by sand15

Hi, 

Can we get statistics about Mapleprimes?

For example: How many questions are asked each week? How does the number of answers/replies an answer receive in average is evolving along time? How does the number if new incomers evolves.

I get the impression that fewer and fewer questions are being asked, that the variety of members involved dominishes and, to put it simply, Mapleprimes is losing popularity.



M being some sparse matrix, plots:-sparsematrixplot(M) displays a patchwork of squares with two different colors: one for elements of M different 0 and the other for elements of M equal to 0.
The squares are separated by what visually appears like blank lines (in fact tere are no such lines, just gaps between the different squares making them not adjacent).

So my question: Is it possible, without resorting to any workaround based upon PLOT(POLYGONS(..)) or plottools functions (I know how to write such workarounds and I'm not interested in that) to suppress these "white lines", or otherwise said to make the squares adjacent? 
I thought that maybe some (hidden?) option acting like style=patchnogrid could exist, or to an undocumented feaure...

Thanks for your reply.

Mapleprimes issue

Trying to upload a mw file throws this error message

I am not desperatly seeking Susan but the code of the DoFit procedure (for what this early-year joke is worth)

showstat(Statistics:-LinearFit)  reveals LinearFit uses the procedure Statistics:-Regression:-LinearFit (lines 4 & 9).

Next
kernelopts(opaquemodules=false):
showstat(Statistics:-Regression:-LinearFit):

indicates the Maple procedure which really does the LinearFit has name DoFit (lines 6 & 16).

I spent some time using the Library assistant to try and find this procedure, in vain.
Where can I get the source of DoFit?

Thanks in advance.

This is a report of a Maple_2015's bug, apparently fixed in more recent versions, but which may have persisted for a few versions beyond 2015.
I don't think it's necessary to fill out an RCS form.

All started with an error in my code which was balanced by a maple 2015 bug. So I didn't see any error until I sent my code to @C_R  who uses a newer Maple version.
More precisely, in my Maple 2015 code I defined a NxN matrix B, a vector A of length N, that I mistakenly defined as a vector column, and finally computed the quantity R = A . B . A+.
Of course Maple should have fire an error.

The bug is that Maple 2015 doesn't fire an error if A is a float vector and B a float matrix.

restart

kernelopts(version)

`Maple 2015.2, APPLE UNIVERSAL OSX, Dec 20 2015, Build ID 1097895`

(1)

A := Vector(2, symbol=a):
B := Matrix(2$2, symbol=b):
R := A.B.A^+

Error, (in LinearAlgebra:-Multiply) cannot multiply a column Vector and a Matrix

 

A := Vector(2, i -> i):
B := Matrix(2$2, (i, j) -> i+j):
R := A.B.A^+

Error, (in LinearAlgebra:-Multiply) cannot multiply a column Vector and a Matrix

 

A := evalf(Vector(2, i -> i)):
B := evalf(Matrix(2$2, (i, j) -> i+j)):
R := A.B.A^+

30.

(2)

R := A^+.B.A

30.

(3)
 

 

Download Maple_2015_Bug.mw

1 2 3 4 5 6 7 Last Page 1 of 24