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
22
votes
2answers
436 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
125 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
99 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
72 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
73 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 ...
3
votes
1answer
521 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
57 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 ...
15
votes
1answer
395 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
652 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
223 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
85 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
69 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
164 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
375 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
193 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
524 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
769 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
800 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
75 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
92 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
383 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
107 views

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

I'm using the Quantum Computing library with this example: ...
11
votes
2answers
282 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
53 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
261 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
123 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
177 views

Protected Package

I found a package Pack that has this structure: ...
7
votes
1answer
357 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
271 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
330 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
349 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
276 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
197 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
110 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
330 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 ...
5
votes
1answer
227 views

Gradshteyn and Ryzhik tables

I was wondering if there were additional packages to enhance Mathematica's integration capabilities - for example by including more of Gradshteyn/Ryzhik/Zwillinger tables? Here is an example that ...
1
vote
1answer
806 views

How to install custom package

There is great code by István Zachar , but I do not know how to use it. I have saved the code as a .m file and use file->install to install it. However, when I call the package the error message below ...
12
votes
1answer
245 views

Clean package update for API/FormFunctions on Wolfram Cloud

Cross posted on community.wolfram.com (new comments) TLDR There is a pool of kernels/sessions available for each user, you don't have control over the pool only over specific kernel you currently ...
0
votes
0answers
18 views

Function working in command line session but not in package [duplicate]

I have this pretty straight-forward function GetMinimum[function_, xmin_] := First[FindMinimum[{function, x>xmin}, x]] that works perfectly within a ...
1
vote
1answer
81 views

Evaluating all the notebook calling a package doesn't work whereas evaluating the package “manually”, then run the notebook [duplicate]

I have put all the function I use regularly in a package. At the beginning of my notebook I have a section containing the following stuff. ...
4
votes
1answer
1k views

Simple question about package : why it doesn't work?

My notebook can't load my package and I don't know why. I called "testons.m" the file containing my package, I wrote inside it the following exemple code : ...
7
votes
1answer
186 views

How to include AceFEM analysis in a package

I would like to wrap my AceFEM analysis in one function and include it in a Mathematica package (.wl). I have followed the instructions on how to create packages from documentation and saved the ...
1
vote
1answer
115 views

Why can't package call imported association list?

This is question is also posted at the Wolfram site here. The files are available there as well. I have a need to make use of a list of associations for fast lookup inside a Package implementation. ...
6
votes
0answers
86 views

Infix non-ASCII operator needs a space to be parsed correctly in a script

Bug introduced in 9.0 or earlier and persisting through 11.1 First off: ...
1
vote
1answer
376 views

Mathematica package for power spectra of scalar perturbations

Is there any Mathematica package available to numerically compute the power spectra of the scalar and tensor perturbations in cosmology? I'd like to numerically calculate the tensor to scalar ratio in ...
6
votes
2answers
184 views

Add package markdown to autogenerated package

I develop in .nb files and autogenerate my packages from them (by setting the notebook option AutoGeneratedPackage -> Automatic) and have no desire to change ...
12
votes
1answer
444 views

How to automatically do a computation, Quit[], restart and do a new computation

Related questions have been asked before (eg Where does a package have to be loaded?, https://stackoverflow.com/questions/6152023/quit-kernel-in-mathematica-by-a-command-not-using-evaluation-menu, ...

1
3 4
5
6 7
15