Questions on Mathematica packages, which are self-contained bundles of Mathematica code that add new functions and other functionality.

learn more… | top users | synonyms (1)

4
votes
1answer
104 views

What's reliable way of finding declared but undefined functions/symbols in several interrelated packages?

I have many packages some of which use some of others. I have many symbols defined in them. Is there a reliable way of finding declared/exported but undefined functions/symbols in several ...
4
votes
1answer
120 views

Parsing subscripts when loading package files via the FrontEnd

I am working on some code, and have found it easier to use a Mathematica package because it is easier to run via command-line (lightweight) it allows for easier source versioning (Git), and it ...
0
votes
0answers
15 views

Recursion limit error in FeynRules

I added this lagragian to the Standard Model file LBSM =HC[CC[dR]][sp1,ff1,col1].Ga[0,sp1,sp2].del[dR[sp2,ff1,col2],mu] Gaux[mu,ff2,ff2,col1,col2]; where Gaux is ...
-1
votes
0answers
50 views

I can't install SavitzkyGolay package

I want install the package SavitzkyGolay.m that I've downloaded. I've tried with menu item file-install but not works. I need install this package for smoothing my datas. Is there another way to ...
1
vote
0answers
17 views

How can I distribute redefinitions of system functions to parallel kernels?

I'm having some trouble getting my parallel kernels to get wind of user redefinitions of system packages, and I'm looking for the cleanest way to do this - preferably using DistributeDefinitions. To ...
7
votes
2answers
236 views

Show StyleSheets and Palettes from custom directory in Mathematica's Menu

I'm working on a package that needs to be installed into an arbitrary, "non standard" path (i.e., not $BaseDirectory or ...
0
votes
0answers
39 views

Using Third Party Package [duplicate]

I am new to mathematica. I wish to use the third Party Code QHull in mathematica. The code was written in C and compiled into .exe. Are there any settings that I have to do in Mathematica so that I ...
6
votes
1answer
201 views

Where does a package have to be loaded?

I'm trying to solve a very tricky issue in my function. The function needs the NDSolve`FEM` framework. Here is a minimal example: ...
2
votes
1answer
296 views

Extract coefficients of differential form in package RGTC

I am using the Package RGTC to do some calculations in Supergravity. It allows to define differential forms after specifying a co-frame. I am working in with the 10d coordinates $\{t,x,y,z,r,\phi_1,\...
0
votes
1answer
33 views

Information (??) of function defined in Package return the function with long name of variables [duplicate]

When I call Information of a function defined in Package I get always the result that shows the function with full name Private variables. For example: ...
23
votes
5answers
496 views

Result about Context is inconsistent with the description of “Power Programming with Mathematica”

x = 5; temp`x = 6; Begin["temp`"] {x, Global`x, temp`x} The result in my Mathematica session is {5,5,6}, but it's ...
0
votes
0answers
13 views

Independent Vertical Axes Plot Ranges or Force additional Ticks and Tick Labels in the TwoAxisListPlot package

I have a question about the TwoAxisListPlot package. Firstly I include the package source-code bellow: ...
0
votes
0answers
43 views

Using the `TwoAxisListPlot` Package and `Show` Together

I am using the TwoAxisListPlot package to generate a plot with two y-axes (obviously!). I have made a NonlinearModelFit to one ...
0
votes
0answers
39 views

ParametricPlot3D step size

I tried to use ParametricPlot3D which appears in the kernel, such as; ParametricPlot3D[{xALL, yALL, zALL}, {ξ, 0, 5}, {η, 0, 3}]; but here parameter's step size ...
0
votes
0answers
60 views

Henon Map Equation Trekker

I am trying to make an Equation Trekker for the Henon map in the following way: ...
1
vote
0answers
98 views

Differential algebra package in Mathematica

Is there any equivalent of Maple's differential algebra package in Mathematica? In particular, the Rosenfeld-Groebner algorithm has been implemented?
26
votes
3answers
8k views

Differential geometry add-ons for Mathematica

I need a differential geometry tool for Mathematica. Is there any add-on? Unfortunately, Mathematica does not include such functionality or I can not find it.
-1
votes
1answer
123 views

Time series package in Mathematica 9 [closed]

Is the time series package already installed in Mathematica 9? I have already installed Mathematica. Do I need to install the time series package? If so, from where? or should i go for Mathematica ...
0
votes
0answers
48 views

NCAlgebra: define a scalar variable

I have a linear operator L and a scalar h, and would like to expand L[f + h phi] to ...
1
vote
1answer
71 views

How to import multiple .m files at once?

For example, I import several files with the following lines: ...
1
vote
1answer
90 views

package for calculating exponent of power law distribution

There are some packages to fitting power law to empirical date in "R", "matlab", "python" Here with maximum likelihood method As it said here. Does it exist similar package in Mathematica?
9
votes
1answer
192 views

SciDraw error loading package

I am running Ma 10.3. When I try to Get SciDraw package I get the following error: ...
2
votes
0answers
46 views

Getting “string expected” error when using the TIDES package

TIDES is a package that approximates ODEs using a Taylor series method (You can download it from https://sourceforge.net/projects/tidesodes/ ). First I call the package: ...
29
votes
1answer
554 views

What is the difference between a .wl package and a .m package?

In Mathematica 10.x, one now has both .wl Wolfram Language Packages and .m Wolfram Mathematica Packages. What's the ...
2
votes
0answers
115 views

Incompability between v5-6 and v10 with Graphs and Oriented Graphs pkgs?

Notice that "although the v6 Packages are available at the link in the answer above they are not fully compatible with v10". The errors 1, 2 and 3 in Mathematica 10 student edition may be due to ...
12
votes
1answer
975 views

Where to download the MathWorld package?

I was trying to run some notebook I downloaded from MathWorld, but lots of them need << MathWorld`Curves` I tried to google it , only to find this, but ...
1
vote
0answers
81 views

Creating package and encoding for CDF and Path for Mathematica

I am working on learning Enterprise CDF development. I developed a simple example. I am working with packages for I can encode my codes eventually. When I use Needs command and save the package in one ...
9
votes
2answers
400 views

Any packages for vertex enumeration on Mathematica?

My work requires me to enumerate all vertices of a polytope defined by linear inequalities from time to time. And I'm mainly working with _Mathematica 9.0 on Mac OS X 10.9. So I wonder are there any ...
13
votes
1answer
315 views

How to use Get on a folder

In the documentation for Get it says: If the file found by <<name is a directory, the Wolfram Language will try to ...
3
votes
1answer
154 views

Is this a bug in NCAlgebra library?

In course of my work with NCAlgebra package for Mathematica, http://math.ucsd.edu/~ncalg/ , I encountered unexpected behavior of replacements. I am using ...
9
votes
1answer
355 views

Possible Bug of loading Package @ Mathematica 10.1

When I open mathematica, there will pop-up some messages where << package` is in the following file ...
5
votes
1answer
64 views

Prevent autocompletion for symbols in contexts other than “`Private`”

I've been working on a Mathematica package (call it QuantumDot) that has become huge. Right now, all the back-end helper functions are in context ...
3
votes
1answer
227 views

Is there a package to find ALL exact roots of a polynomial, if they exist?

There are polynomials with roots not expressible with radicals but expressible as trigonometric or other functions, for which Solve[] only returns ...
1
vote
1answer
78 views

How to label individual points in data set with use of SciDraw?

I'm trying to lable each point in data set and adjust corresponding TickLabels. Here is my code: ...
3
votes
1answer
70 views

Extended AutoCorrelation Function

Is there a function in Mathematica capable of computing the sample Extended AutoCorrelation Function (EACF)? I know that there's a package in R that does this. I was trying to avoid to having to ...
2
votes
0answers
41 views

Quits Kernel during evaluation of CreateTopologies

I am using Feynarts 3.9 and FeynCalc 9.0.1 with Mathematica 10. Every time I load FeynArts with FeynCalc and execute t = CreateTopologies[1, 1 -> 2]; ...
1
vote
1answer
62 views

Partial Derivative in FeynCalc

I try to compute some loop diagram in Mathematica with FeynCalc package. In the nominator, I have a huge trace and it shows the right solution but in the next step ...
13
votes
2answers
196 views

Second argument of BeginPackage with nested package loading

I naively thought that the second argument of BeginPackage can simply be used to ensure the loading and availability in the ...
8
votes
2answers
111 views

Why a function returns two different values if copied into a Notebook or imported with Get from a Wolfram Mathematica Package?

I have some Mathematica code that shows a behaviour I really cannot understand. The code only contains a bunch of function definitions. If I paste it in the Notebook Front End and I evaluate it, I ...
1
vote
1answer
32 views

RGtensor undefines some symbol

I am using the package RGTC for differential geometry. Firstly I define a symbol \[Sigma] = Array[PauliMatrix, {3}];, then a metric and other stuff (as required by ...
9
votes
1answer
144 views

How to use the Autoload directory?

According to the documentation, packages in $UserBaseDirectory/Autoload will load automatically on startup. I placed an .m file ...
7
votes
1answer
44 views

How to ensure that a package is always loaded on startup, even in parallel kernels?

Is there a robust way to ensure that a package is always loaded on startup, even in parallel kernels? Parallel kernels do not read Kernel/init.m.
1
vote
1answer
56 views

Derivative in my package return 0

I'm writing my package (.m) in Mathematica and when I'll call the function returns 0 instead of right output. Here's my code: Package.m ...
1
vote
1answer
66 views

Loading FeynCalc

I am trying to install the FeynCalc package, but I cannot load it, it always gives the following errors: Loading FeynCalc from /home/gabi/.Mathematica/Applications SetDirectory::cdir: Cannot set ...
26
votes
1answer
530 views

In 10.1.0 BenchmarkPlot doesn't work?

Bug introduced in 10.1 This bug was resolved in 10.2.0, but another bug was introduced in 10.3.0 persisting through 10.3.1 and finally resolved in 10.4 In Mathematica 10.1.0 and 10.3.0 ...
14
votes
2answers
631 views

Is there any harm or benefit to Removing unneeded private symbols in packages?

One of the things I noticed is that in typical medium-to-large sized packages, a huge number of symbols are created in the myPackage`Private context. You can see a ...
1
vote
1answer
70 views

How to list all functions in a package? [duplicate]

I got a package which can be loaded in MMA. The manual for the package does not give demonstrations of all functions/commands. Hoe can i find all the commands in the package?
11
votes
1answer
141 views

How to clean up temporary files when the kernel exits?

There are Mathematica packages that must create temporary files to function. If we are implementing such a package ourselves, how can we ensure that the temporary files will get cleaned up when the ...
1
vote
0answers
125 views

Dynamica Package for Mathematica [closed]

I have been trying to download the package Dynamica for Mathematica, included with Discrete Dynamical Systems and Difference Equations with Mathematica, by Mustafa R.S. Kulenovic and Orlando Merino. ...
10
votes
2answers
141 views

Is there a package for Bayesian Linear Regression?

Is there a Mathematica package for Bayesian linear regression? Thanks