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)

0
votes
0answers
51 views

Mathematica 10 cannot use EulerMatrix? [on hold]

I am using Mathematica 10 on Linux 64-bit and the function EulerMatrix does not work. Is it related with an unloaded package or something? Does every copy of ...
1
vote
1answer
39 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?
1
vote
0answers
43 views

Creating package and encoding for CDF

I am trying to teach myself both Mathematica and CDF deployment. I created a simple example given below ...
11
votes
1answer
115 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
95 views

Dynamica Package for Mathematica

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. ...
9
votes
2answers
119 views

Is there a package for Bayesian Linear Regression?

Is there a Mathematica package for Bayesian linear regression? Thanks
2
votes
0answers
48 views

A question regarding shadowed symbols

The more I study, the less I understand. This is the HelloWorld package: ...
1
vote
0answers
41 views

Importing replacement rules from files [closed]

I have some replacement rules written in different files. I am giving an example with two such files. cat input1.m a1 -> b1 cat input2.m a2 -> b2 Now I ...
5
votes
0answers
97 views

SciDraw error loading package

I am running Ma 10.3. When I try to Get SciDraw package I get the following error: ...
3
votes
1answer
50 views

Behavior of Remove inside a Package

I have a notebook containing (in a Code cell, Initialization Group) ...
9
votes
2answers
323 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 ...
1
vote
1answer
53 views

Calling functions defined inside Manipulate in other notebook?

I'm creating a notebook with a Manipulate and I'm trying to call/use a function from another notebook (I use Get for that), in ...
5
votes
1answer
145 views

Import another Notebook as if it were a Package

Is it possible to import the contents of another (existing) notebook into the current namespace in the same way that I can with a package? I know that it would be best to use a ...
9
votes
2answers
192 views

ParallelTable behaves differently when it is run inside a package

I've been butting my head against some very weird behaviour by ParallelTable, and its interaction with packages, over the past few weeks, and making relatively ...
11
votes
1answer
217 views

How can I include functions from a package into a CDF file?

I am building an application which I would like to deploy as a CDF file, and I am struggling to make the CDF exports work correctly with functions pulled from a .m package file. What are good/best ...
5
votes
1answer
78 views

Where are examples of packages that are locked?

I wanted to see some packaged whose core functions are locked, but I couldn't find any. Is anyone protecting their code with the Locked and ...
1
vote
1answer
61 views

How to extract all necessarily code for a function?

Many times when someone pastes a piece of code into SE there are missing values and symbols that the user left out. To prevent this I'm looking for a function that uproots other functions (extract ...
10
votes
2answers
263 views

The introduction for Context in Wagner's book is out of date? [duplicate]

In Section 8.1.1 (P230 of the book, P249 of the PDF) of Wagner's book, the following example is shown: x = 5; temp`x = 6; Begin["temp`"]; {x, Global`x} The ...
20
votes
4answers
440 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 ...
22
votes
0answers
349 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 ...
28
votes
2answers
2k views

What is a “Paclet”?

I often see references to "paclets", for example the PacletManager` context, the PacletInfo.m file in some packages and next to ...
4
votes
0answers
64 views

How to run a Mathematica package (.m) from python?

I am new to Mathematica and I need to interface with a Python code that I have. Basically, I have a Mathematica package (.m) with a bunch of complicated functions. I want to use some code from python ...
18
votes
2answers
238 views

How to find the package file that stores a certain symbol?

Is it possible to figure out in what file a certain packaged symbol lives in (assuming there is no shadowing between multiple identical symbol names)? I would like to have a function that if, given a ...
4
votes
1answer
67 views

Error retrieving information of a package function [duplicate]

Bug introduced in 10.4 I´m using a self written package with SortingUtilities when dealing with sorting algorithms. I use this package for more than a year or so. No I want to retrieve information ...
21
votes
0answers
346 views

Can code optimize code?

Are there functions, programs or packages that deal with optimizing mathematica code i.e. re-writing ineffecive or convoluted code. -This question has haunted me since I joined SE. The background for ...
4
votes
2answers
96 views

How to put replacement rules into a package

I have a replacement rules list, but its quite long and therefore I would like to make a standalone package of it. I tried but haven't succeeded. A simple example of my approach is ...
1
vote
0answers
109 views

Mathpsfrag: failed setup at MathPSfragConfigurationTest (UnPSfrag) line (Windows 8)

I'm trying to follow the documentation on how to get mathpsfrag set up on Windows 8 (64-bit). It failed at the line ...
6
votes
2answers
92 views

How to store symbols in a package without being parsed?

I have a package file myPackage.m with the following content: BeginPackage["myPackage`"]; load[] := {a, b, c}; EndPackage[]; ...
3
votes
0answers
36 views

How to generate docs for your package? [duplicate]

I don't have Wolfram Workbench, is there any other simple way to build documentation notebooks (like the built in documentation) for your custom packages?
3
votes
0answers
65 views

Change of basis of polynomials

Suppose I have a favourite basis for polynomials in $x_1,\dotsc,x_n$, say non-symmetric Macdonald polynomials to be specific. I can easily compute these, and thus the change-of-basis matrix that takes ...
7
votes
1answer
189 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
42 views

Change the default package toolbar? [duplicate]

Everytime a package file (.m or .wl), it opens with the standard package toolbar (a docked cell) ...
1
vote
0answers
77 views

Trace of gamma matrices using FeynCalc

I am using FeynCalc package in Mathematica to evaluate some complicated Dirac Traces, but as you know the default convention for the anticommutator of two Gamma matrices in this package is ...
0
votes
0answers
84 views

SciDraw: Vertical axis not copied into Word 2013 (Windows 7, Mathematica 10.1 SE)

Using the SciDraw package, I created a multi-panel figure of list plots with labels along both the $x$ and $y$ axes. But when I copy/pasting the result into Word, the vertical axis labels are nowhere ...
3
votes
1answer
117 views

How to do individual axis labeling with use SciDraw multipanel figures?

I am trying to make a 6 panel figure for publication where each X and Y axis has its own label. Here is simplified code and its output: ...
3
votes
0answers
38 views

What is the appropriate way to handle JVM memory issues in a Mathematica package?

I maintain a large Mathematica package (here) that, for certain operations, calls out to a Java library (here). The details of the libraries are not important, but I've come across a frustration with ...
1
vote
1answer
178 views

ExcelLink: “Choose a Mathlink program to launch” after upgrading from 10.0.2 to 10.1

After upgrading to 10.1, I now get a prompt "Choose a Mathlink program to launch" when I call code that uses ExcelLink. This code worked prior to the update. I am wondering if this is a ...
1
vote
1answer
43 views

How to unshadow a chosen definition for a function

I want to use the package NCAlgebra. However after successfully installing the package and trying to write some code, basic functions like SetNonCommutative[...] ...
0
votes
1answer
45 views

Can't load Geometry package [closed]

I am trying to use << Geometry`Rotations; but I got this message Get::noopen: Cannot open Geometry`Rotations`. >>". How I can solve this problem?
1
vote
1answer
85 views

FeynCalc: Why do LeviCivita remain after Calc/Contract?

In (perhaps even in older versions) version FeynCalc 9.0.0 sometimes, on the amplitude level, one gets expressions of the form $\epsilon^{\alpha ...
5
votes
3answers
91 views

How can I pass replacement rules to a package-defined function and have it understand their context?

I am writing a package where I would like to be able to pass replacement rules to a function inside the package and have the function manipulate its symbols using those replacement rules. However, I'm ...
1
vote
1answer
40 views

FilterOptions Errors with Riemann Sum Notebook on Math World

I am trying to run the notebook for a maximum (upper) integration calculation (hopefully, symbolically). I am using the notebook available at Wolfram Math World (upper left of web page). When I ...
7
votes
2answers
1k views

Time-frequency analysis beyond wavelets

What possibilities are there for time-frequency analysis in Mathematica beyond wavelet decomposition? I could not even find a simple STFT.
1
vote
3answers
1k views

Examples of (well coded) packages using custom notation

Which packages do you know of, that have the following properties: using custom notation (for input AND output would be preferable) well coded & designed (from your subjective perspective!)
25
votes
1answer
475 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 which persists through 10.3.1 or later In Mathematica 10.1.0 and 10.3.0 ...
4
votes
0answers
142 views

Are there any build-in or third-party packages for general topology or algebraic topology in Mathematica?

I am learning general topology (wiki) and algebraic topology (wiki). Are there any build-in or third-party packages for general topology or algebraic topology in Mathematica? Through googling, ...
1
vote
0answers
39 views

Issues with overloading Order [duplicate]

I am pretty new to Mathematica(about 90 minutes) and I have encountered a problem. I have searched the web pretty comprehensively and came up with nothing. For a computing problem that I am solving, ...
5
votes
1answer
97 views

Same name for functions in package and Global context

I am using a package that was written for Mathematica 3 while I am now working on Mathematica 8. I have issues with 2 functions in particular, Order and GraphComplement. They are a part of this ...
2
votes
1answer
101 views

Explicit Contraction of Tensor Indices [duplicate]

Is there any easy way to explicitly contract indices of several given tensors. For example, ...