A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [packages]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
885 views

CMD method to convert .nb file into .m file

.nb file consists of the boxes, and the .m file is a pure text file, what can help to share on GitHub. Of course, we can open a <...
5
votes
1answer
173 views

Are integrals with coalescing saddles available in the core Mathematica or in standard packages?

I was having a look at the DLMF chapter on integrals with coalescing saddles, and there are a few things that I'd like to try out with the functions it describes, including e.g. the Pearcey integral, $...
0
votes
0answers
107 views

Problem with Gamma Package

I wanted to install the Gamma package. The package seems to have installed correctly. However, I am not seeing any symbolic output. The outputs should be like these. But I am getting these. Any idea ...
5
votes
0answers
289 views

Code behind these Video Playback demos?

There are only two known examples of video playback (from a file) within a (non-cloud) notebook: Visualizations in Graph Theory with the Wolfram Language (at time 3:32) Mathematica and CUDA, SIGGRAPH ...
5
votes
1answer
109 views

Import expression for function definition inside a Module of a Package

I've been struggling on this problem for quite a while, but I still don't understand why Mathematica is unable to recognize a function definition where the rhs is an ...
15
votes
1answer
326 views

Sub-packages and auto-completion

Cross-posted on Wolfram Community I have a Mathematica application that consists of two sub-packages, corresponding to the contexts foo` (...
1
vote
0answers
204 views

Differential Transformation Method

I am using the differential transformation method (DTM) to solve the differential equation. Is there any Mathematica package for differential transformation method?
4
votes
1answer
100 views

LocalSubmit and package functions

I want to use LocalSubmit to create continuous tasks that run in parallel. But it not works with functions from packages. For example: ...
4
votes
0answers
58 views

Feedback for my autosave-script

last evening Mathematica crashed and hours of work were gone, because I forgot to save my notebook. During homework today I just pressed Ctrl+S every few minutes, to make sure that I don't loose my ...
0
votes
0answers
22 views

Problem with using modules from a package or separate notebook [duplicate]

I saved some modules into the same package or notebook which I call ModuleLibrary.m I then get/call this package using ...
6
votes
1answer
94 views

How to add frontend resources for using in package/paclets?

I have some thumbnails that I want to use inside my package, which need to be loaded with FEPrivate`FrontEndResource. AFAIK those assets have to be placed in .tr ...
23
votes
2answers
1k views

Sharing small code snippets

As part of my never-ending goal of getting Mathematica code to be as easily shared as python packages I was recently thinking about how to make code easy to share. So what's are some good ways to ...
22
votes
2answers
414 views

Building a convenient package distribution system

The PacletManager is nice, but it's not really a low-effort system to work with. Installing a package can be made pretty easy, but only if the location from which ...
8
votes
2answers
124 views

interpretation of <-> as UndirectedEdge in 11.2?

I have a package developed in earlier versions of Mathematica. In it, I use the notation x_ <-> y_ for undirected edges. When I use this package in 11.2, ...
0
votes
1answer
87 views

ToString get local name of the symbol

I am using ToString to convert symbols to a string. So my entire code is written assuming ToString[a] will return ...
3
votes
1answer
66 views

How to know m-file location from within it? [duplicate]

I get get notebook location with NotebookDirectory\[\] How to get m-file location from within it?
1
vote
1answer
70 views

Package to simulate a computer?

The post Where can I find good textbooks for Numerical Methods in Mathematica reminded me that at one time there was a Mathematica package where you could simulate a hypothetical computer: you could ...
2
votes
1answer
406 views

Reduction of loop integrals in FeynCalc

I'd like to use the PaVeReduce function within FeynCalc in Mathematica to reduce a triangle integral down to bubbles and tadpoles. I found the wolfram help page about this function but I did not find ...
0
votes
1answer
56 views

Issues loading `InfixNotation` as part of a package

For the most part, elements of the Notation package that are part of a package I load work without issues, but InfixNotation ...
14
votes
1answer
362 views

How to create search indices for custom documentation pages?

I have a package that uses custom documentation pages that are not generated with Wolfram Workbench. How can I create search indices for these pages? Requirements: Searching should work in ...
25
votes
1answer
635 views

Pop-up appeared and then disappeared during first documentation search in 11.2

After installing Mathematica 11.2, the first time I searched for something in the help center a pop-up appeared and then disappeared. It didn't appear on a subsequent search, even if I restarted ...
2
votes
1answer
197 views

Star-mesh transformation in Mathematica

Are there possibly mathematica modules that perform the star-mesh transform, in the context of electrical circuit theory? Given a resistor network/graph as input. More context: We start off with a ...
0
votes
1answer
83 views

Wildcards don't match pattern containing functions from Mathematica Quantum Computing library [closed]

Here's a cut-down example using the Mathematica Quantum Computing library. Why is the second wildcard-based expression not matching? ...
0
votes
0answers
80 views

How to create .mx file from .m file in Mathematica?

I want to generate .mx file from .m file on linux system. I tried using Export function which generated the .mx file.But the generated file did not get loaded using the GET function. Thanks, Manoj
1
vote
0answers
54 views

How to find out all function and its parameter in a .dll file

Cross post here Since LibraryFunctionLoad can load a function from .dll file like ...
11
votes
1answer
149 views

Install paclets into $BaseDirectory on multi-user system

PacletInstall will install paclets into the $UserBaseDirectory by default. How can we install them in ...
2
votes
1answer
347 views

How to choose the Poincaré section in EquationTrekker?

I just found out about the EquationTrekker package and its feature of being able to plot Poincaré sections. Now, I wonder how you can choose which Poincaré section to plot. Consider the example in ...
4
votes
1answer
181 views

Convert a Notebook directly to a package with boiler plate

I want to be able to turn a bunch of notebooks I have into packages so I can more easily share them with others, without having to go through the boiler-plate of choosing which cells to export / doing ...
1
vote
0answers
351 views

Context not created when Needs was evaluated [duplicate]

I'm encountering a problem when trying to write and load my own packages. As a test case, I created a very simple package, TestPackage.m, which contains ...
5
votes
1answer
53 views

De-expose top-level symbols

I have an package with a bunch of symbols, many of which I exposed during development and which are now referenced in other subpackages. At this point, though, I don't want to expose these symbols to ...
15
votes
1answer
718 views

Mathematica Syntax Coloring in GitHub README

GitHub doesn't auto-detect and color Mathematica code in its markdown. Can we make it do so? This may be trivial, but many README files don't seem to have it.
13
votes
1answer
676 views

How to remove a paclet downloaded from Wolfram Research Server?

How can I remove a paclet that was automatically downloaded when I used a function for the first time (i.e. NetChain)? I believe the download was faulty, ...
1
vote
0answers
74 views

RunDec package produces error when loaded [closed]

Has anyone used RunDec, a Mathematica package for dealing with the running of the strong coupling in particle physics? I found the source code online. When I copied and pasted its text into a .m file ...
4
votes
1answer
90 views

Loading Mathematica 4 optimized package in Mathematica 10

I have a Mathematica package that is optimised for Mathematica 4.0, but the version I'm using is 10.1. Whenever I load this package, I'm getting error messages like ...
4
votes
0answers
332 views

Chess in Mathematica

Is there a Mathematica chess package? I'm trying to generate GIFs from chess PGNs. Additionally, I like to try some chess algorithms against a chess engine and watch the game and run statistical ...
21
votes
5answers
3k views

Making a website with Mathematica

I know many people here have various websites associated with them and I'm guessing do at least some of the development of that stuff in Mathematica. I recently fell down that rabbit hole myself, ...
2
votes
1answer
106 views

Debugging and decision support tools for Dynamic Programming (cached definitions) in Mathematica

I'm using the Quantum Computing library with this example: ...
10
votes
2answers
274 views

Bulletproofing packages against SetOptions of built-ins

Packages are (obviously) written in terms of built-in Mathematica functions. But many (if not, most) of these functions have options, like Expand, ...
4
votes
1answer
52 views

Prevent Trace from including package functions

Suppose MyApp`Func1 is a function inside the package MyApp. How do I prevent Trace[Func1[x]]...
1
vote
1answer
235 views

How to use the POVRayRender package?

I have downloaded the POVRayRender package and I tried to use it. I can't get it to work. I even used the command Deep instead of ...
2
votes
0answers
108 views

Operations on ideals of polynomial rings

There is GroebnerBasis to compute a Gröbner basis of an ideal in a polynomial ring, but I am looking for a package to perform operations on ideals $I,J\subseteq\Bbb ...
2
votes
1answer
166 views

Protected Package

I found a package Pack that has this structure: ...
7
votes
1answer
351 views

Geometry computations add-on for Mathematica?

I came across the problem of calculating the circumcenters of triangles symbolically within another algorithm (as well as possibly doing other similar geometry computations). I was hoping Mathematica ...
6
votes
2answers
219 views

Is the \begin{align} function available for the MaTeX package?

I would like to know if the MaTeX package from our colleague Szabolcs can align the calculation steps as possible by the code below: ...
4
votes
2answers
268 views

Bold text using package MaTeX

Using the MaTeX package from our colleague Szabolcs I had a certain problem. I would like to highlight the result for bold, but I did not get a result that I liked. I tried several options that I ...
0
votes
0answers
270 views

Clearing out a package

I'm just beginning with packages, so this is definitely a beginner's question. Suppose that I do this in a notebook: ...
6
votes
2answers
270 views

Package MathWorld

I'm looking for MathWorld packages, but I can not find anywhere. I found an question that came very close but did not help me. I got lost on the site and did not find anything. I need to use the ...
2
votes
1answer
176 views

Open a new browser window in WebUnit Package

I'm currently trying to open, manipulate, and close a "new" browser window(by "new" I mean there's already a existing browser window) in a single google chrome session in WebUnit` Package, ...
1
vote
0answers
98 views

Fisher Forecasting Using Mathematica

I'm need to do a Fisher Forecast for my experimental physics requirements. I'm trying to constrain parameter for a modified Friedmann equation. Is there any package or code that any of you have handy ...
3
votes
1answer
298 views

Mathematica 11 Symmetry Packages

Are there any symmetry finding packages (for differential equations) that work with Mathematica 11.1? I've tried MathLie but from looking at the documentation it had instructions for Windows 95... I ...