3
votes
0answers
141 views

Beginner CUDA: two dimensional blocks and two dimensional threads?

This is a follow up question to: CUDA: setting grid dimensions. The purpose of the question is to understand how Mathematica is interfacing with CUDA's architecture. I have a related question/request ...
3
votes
0answers
106 views

Why does Mathematica show 4095/4096 terms in TrigExpand?

Clear[x, n]; expr = Cos[x]^(n - 2) (1 - Cos[x]^2 + Sin[x]); r=TrigExpand[expr] Where do those 4095/4096 comes from? It is correct, but it seems very strange ...
3
votes
0answers
193 views

PairwiseScatterPlot with histograms along the diagonal

The built-in function PairwiseScatterPlot has been discussed for example here: Scatterplots for subsets of multivariate data [Updated]. However, I find it not very ...
3
votes
0answers
66 views

Export and manipulate 3d plots

How can I export 3d Mathematica plots such that I can put them into a presentation and still being able to rotate them? Is there a specific format or does it depend on the program used to create the ...
3
votes
0answers
29 views

What is the definition of “ConceptWeight” in WordData?

The documentation states that the "ConceptWeight" property is a rough estimate of semantic importance, I'd like to know how this is computed exactly, is there any way to find out?
3
votes
0answers
61 views

FindGraphCommunities method options?

FindGraphCommunitites has a couple of method options: "Modularity", "Hierarchical", ...
3
votes
0answers
59 views

HMAC authentication to Google Maps API

I am attempting to authenticate with the Google Maps for Work API and am having trouble computing a request signature per Google's specifications. The specifications are here: ...
3
votes
0answers
59 views

Lists for built-in functions that can work without brackets

I just noticed that Exit and Quit can work without brackets i.e. a single Exit or ...
3
votes
0answers
148 views

Fractals or other patterns in the quadruple linked pendulum

This will seem like a physics question, but I'm looking for something to do in Mathematica specifically. I've successfully modeled a quadruple linked pendulum by setting up the ODEs and solving them ...
3
votes
0answers
37 views

Escaping out of (or exiting) a Compiled Function

How do I manually escape out of a compiled function without forcing an error and compromising its speed? Here is an example: ...
3
votes
0answers
50 views

Missing links in usage statements

The integration of the documentation center does not seem to be complete on my machine. I often access the documentation center via the usage statement links. ...
3
votes
0answers
122 views

Organizing Wolfram language symbols with Entity

Here's a word cloud tally of the ~5k System names split at camel humps, with the long tail cropped. What resources are available to organize these terms using the new ...
3
votes
0answers
120 views

Mod[1.2, 0.2] is not equal to zero

I'm new to mathematica but this doesn't seem to make any sence In[1]:=Mod[1.2, 0.2] Out[1]=0.2 Why is it not zero? Edit: This is what I wanted to do: ...
3
votes
0answers
174 views

remote kernel through SSH

Is it possible to setup connection to remote kernels through ssh? I'm able to SSH into the remote server(linux) and start a kernel in the terminal, but it can't connect back to my local front end. I ...
3
votes
0answers
97 views

Understanding polyharmonic splines

Raul Narain and J.M. gives implementation of the thin plate polyharmonic splines in this post. Raul Narian's method is clear. J.M.'s is convenient to reuse. But J.M. used too many ...
3
votes
0answers
78 views

Is it Possible to create my own Dictionary?

When I count the number of words in the English dictionary wordsInLanguage[lang_] := {lang, Length[DictionaryLookup[{lang, All}]]} wordsInLanguage["English"] it ...
3
votes
0answers
75 views

citation insertion from bibtex file does not seem to work

When I try to insert a citation in a text cell using the right click citation/insert bibliographic reference, and then choose the Bibtex option, I get the complaining window shown. This happens no ...
3
votes
0answers
216 views

Selection bugs make Mathematica 10 unusable

I'm getting odd selection bugs in Mathematica (10.0.1.0, OS X 10.10) that are making it impossible to use. For example if I simply click before the 'i' in With I ...
3
votes
0answers
108 views

Dynamic and Refresh

If I am not mislead by my memory, in Mathematica 6 a function Refresh was introduced, having the options UpdateInterval and ...
3
votes
0answers
51 views

How to replicate v9's color conversion to LAB under v10

Mathematica 10(.0.0) appears to use a different flavor of the LAB color space, but I would like to emulate the same behavior observed in version 9(.0.0). v9 ...
3
votes
0answers
86 views

How to make Distance transform invariant to scale

I am using distance transform as a descriptor to encode silhouettes in order to do shape recognition task. It is clear that distribution of distance transform is invariant under rotation and ...
3
votes
0answers
132 views

Generating Mathlink executables by CCompilerDriver

I'm trying to generate a MathLink executable by CCompilerDriver package. The MathLink ...
3
votes
0answers
74 views

Unimportant change in Dynamic

I just observed an unimportant change in version 10 with respect to Dynamic. The command x=0; Dynamic[x=x+1] returns a cell ...
3
votes
0answers
146 views

Distance Time Warp (DTW) function implementation in mathematica

The DTW (Distance time warp) is given here http://en.wikipedia.org/wiki/Dynamic_time_warping There is an implementation of DTW in R as well as MATLAB. However i am unable to find something for DTW in ...
3
votes
0answers
179 views

Is 450 lines of code in one block too much?

I'm using Manipulate to play around with some graphs (up to 6 vertices). Users can work with one graph or find the union/intersection/difference between two graphs. The user can display the graph ...
3
votes
0answers
65 views

Calculation the eigensystem of a matrix containing very small numbers

I'm dealing with a matrix containing very small numbers like 10^(-370). Whenever I'm trying to calculate the eigensystem of that matrix, it takes too much time, though the matrix size is not big that ...
3
votes
0answers
38 views

To UpSet or not to UpSet when using MakeBoxes

What is the difference between the following two: ...
3
votes
0answers
78 views

Monitor progress of ZIP file extraction

Importing a ZIP file containing potentially many individual files in a (custom) format using Import[filename, {{"*"}, "Gaussian"}] takes quite a while. How can I ...
3
votes
0answers
63 views

Integrate yields complex value, while after variable transformation the result is real. Bug?

I have the follwoing integral: Integrate[1/Sqrt[0.7 + 0.3*(1 + z)^3], {z, 0, Infinity}, Assumptions -> z \[Element] Reals] >> -3.36354 - 3.85013 I the ...
3
votes
0answers
113 views

Reading grave stone letters in an image

(Click on image to enlarge) (Click on image to enlarge) Is there an image processing technique that would aid in reading the letters and numbers on a grave headstone? Most stones are etched ...
3
votes
0answers
58 views

Create SQL Database on a manually specified directory

I am inserting lots of data into the preinstalled SQL Database in MM: con= OpenSQLConnection["demo"] > SQLCreateTable[con, SQLTable["anyname"], SQLcolums] > ... I am running out of disk space on my ...
3
votes
0answers
47 views

ScheduledTask output redirection

When a function is run repeatedly within a ScheduledTask its output is sent to Messages Window. When two or more ScheduledTasks are running their outputs are mixed in the Messages Window and this is ...
3
votes
0answers
103 views

Increasing MaxPoints in NDSolve results in memory issue

I am interested in increasing "MaxPoints" in NDSolve's "MethodOfLines" in attempt to increase the resolution of the plot of the solution of linearly damped wave equation with transparent boundary ...
3
votes
0answers
72 views

Is there a way to convert the mathematica document into word document in a neat way?

Is there a way to convert the mathematica document into word document in a neat way? I tried by "save as" command and found something like Risk text format "*.rtf" but still many parts look messy.. ...
3
votes
0answers
87 views

Why is it not allowed to define vectors of variables in a scoping construct?

The following command assigns 1 to a, 2 to b and 3 to c: ...
3
votes
0answers
76 views

k-means clustering in parallel

How can the k-means algorithm for some given distance function be implemented using ParallelMap or other parallel processing program constructs in Mathematica?
3
votes
0answers
136 views

Generating function for Newton series?

The function GeneratingFunction gives generating function for Taylor series. Is there a similar function for Newton's series? $$f(x) = \sum_{k=0}^\infty \binom{x}k \Delta^k [f]\left (0\right)$$
3
votes
0answers
60 views

NIntegrate::ncvbr: How should we interpret and handle this error not mentioned in any documentation?

I have some user-defined module describing my integrand which has to be computed numerically (it's much more complicated than this but bear with me): ...
3
votes
0answers
118 views

How can I export graph as PDF with metadata such as Title and Author fields

I want to export a figure from Mathematica in PDF format. Moreover, I want to fill Author and Title fields of the PDF. For example, to fill Author field, I use the following code: ...
3
votes
0answers
207 views

Fast principal component analysis

I'd like to speed up a principal value value analysis. The data contains a large set of vectors with a large dimension. Both are in the range of 1000. I want to obtain the loadings matrix for further ...
3
votes
0answers
174 views

Derivatives with respect to Cartesian coordinates of functions in spherical coordinates

This seems to me to be a common task, and the more surprised I was to not have found much on this. Suppose I have an expression f in spherical coordinates ...
3
votes
0answers
108 views

LogLikelihood function with Multivariate State Space Models

I load the packadge TimeSeries. Depending on the running Mathematica release, one should preliminary remove some built-in function with the same name, e.g.KalmanFilter, I used the following commands: ...
3
votes
0answers
154 views

Deployment to the Cloud not working

I am really trying to get my head around Cloud Deployment and Programming cloud, and the more I use it, the more I think it is a fantastic product. At least in principle. I successfully deployed a ...
3
votes
0answers
147 views

Suggested Settings for Mathematica over X11/SSH Tunnel

I am happy to discover that I can run a Mathematica session tunneled over SSH. However, as expected for X11 applications over the network, Mathematica's GUI does not have the responsiveness that I ...
3
votes
0answers
115 views

After editing a file Mathematica 10 interprets […]^2 as […(])^2

This is a very weird bug and I don't really know how to reproduce it, so I'll just copy-paste the whole code ...
3
votes
0answers
56 views

Bug when using Plot3D over an ImplicitRegion?

Evaluating this expression seems to cause Mathematica to beep and quit the kernel: ...
3
votes
0answers
78 views

Efficient processing of Special Ordered Sets with LinearProgramming

I'm playing with integer linear programming, especially problems involving lots of constraints which would appear to be special ordered sets. Below is a toy example, three last rows of the matrix ...
3
votes
0answers
138 views

Implementation of the Vector Autoregressive Model

I need to code/write a Vector Autoregressive Model VAR(p) as a function of the parameters. There is no estimation, nor Data involved, this is a "population" exercise: Assume X and Y are univariate, ...
3
votes
0answers
74 views

Functional-Style Fixed-Length Queue Object?

Following up on question Side-effecting an array in an association? and @Mr.Wizard's answer in there, I'm modernizing and tweaking Daniel Lichtblau's efficient queues and ran into a little roadblock. ...
3
votes
0answers
42 views

Create custom mappings of Mathematica Expressions => Java Objects?

I would like to call a JLink-based java function from Mathematica with a Mathematica Span[] object as shorthand, like so... ...

15 30 50 per page