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
4
votes
0answers
78 views

How to correctly update packages?

Newbie starting to work with packages. I can create and load a package. However, when I come to update my package, I find the procedure very laborious. This is what I'm currently doing; Update ...
1
vote
0answers
96 views

MMA packages for A=B

The book $A=B$, available here, contains in Appendix A pointers to three Mathematica packages (Gosper, Hyper, WZ) that accompany the book. The links to the book web pages are stale. Can anyone give me ...
2
votes
0answers
40 views

Does passing patterns between packages alter their name unbeknownst to the user? [duplicate]

This question is a partial followup to my previous question. Mainly, after using With to inject the proper argument in the function at the rhs of ...
9
votes
1answer
111 views

Importing Packages to .wls without shadow definitions and context specification

I am trying to import a package that works correctly when I use it in a notebook in a wolframscript .wls. I get a weird shadowing problem, however. Here is a minimal working example ...
3
votes
1answer
66 views

<<Wavelets`Wavelets Not Found [closed]

please i'm a student and i need help in my project which is based on an already existing program. The problem that the program is ancient( Mathematica 5.0) and doesn't fit with the new versions of ...
1
vote
1answer
62 views

After creating a package, how do I install it? [duplicate]

I have created the following package. ...
7
votes
2answers
105 views

How to provide latest paclet version

I've made a package available on github, which can be installed with ...
0
votes
0answers
34 views

Indentation is lost in Mathematica packages [duplicate]

This might be very trivial to fix (in that case I'll just delete the question), but why when I save a Mathematica notebook as package, the indentation is completely lost and when I edit the package ...
5
votes
2answers
304 views

How to follow symbolic links on disk?

In this question we learn that we can use FindFile to get the disk location of a package. However, I have some packages that are installed into my ...
1
vote
1answer
88 views

Formatting in *.m file

I have my own package (just a bunch of functions) in the *.m file, which I load using the Needs[] command. Everything works fine ...
0
votes
0answers
18 views

Hamiltonian Analysis in xAct: Variation wrt time derivative of fields

I'd like to use the xAct package to perform the Hamiltonian analysis of a complicated action. To that end, it would be useful to introduce a chart and split indices into "temporal" and "spatial" parts....
10
votes
2answers
524 views

Using Terminal` (ASCII plots) in Wolfram 12

I was interested in exploiting the Terminal` package, as demonstrated in this post, to show some ASCII plots straight through the terminal of my Raspberry Pi Model 3 B+. However, it doesn't seem that ...
11
votes
1answer
191 views

Putting package documentation on Wolfram Cloud

So, I've finally released v1.0 of my EcoEvo package. Yay. Maybe I'll give an overview here soon. I'd also like to advertise to my colleagues, perhaps non-Mathematica users, who might use it. The ...
0
votes
0answers
53 views

Is it possible to create complicated packages from modules which work fine by copy paste? — A counterexample [duplicate]

Here is a module which constructs essentially several functions in a chain [Phi], sct, ks, WE, G: ...
1
vote
0answers
102 views

Transferring a function between two modules in a package

I have a first module which outputs as forth output a function G I want to transfer to another module. The specific function is ...
0
votes
0answers
45 views

Solving differential forms equations

I have this couple of equations in differential forms language: $ \Delta z^i \star {\bf{1}}+ G^{i\bar{p}} (\partial_j G_{k\bar{p}} ) dz^j \wedge \star dz^k + G^{i\bar{j}} (\partial_{\bar{j}} G_{k\bar{...
7
votes
0answers
66 views

How to distribute styles with packages?

I want to define some named styles with StyleData and StyleDefinitions that are either entirely new or inherit from default ...
1
vote
1answer
89 views

Problem with “MediaTools`” in Mathematica 12

I asked here for a solution how single video images can be extracted very fast from avi files. Piotr Wendykier gave a solution for Mathematica 11.3. Now I'm using Mathematica 12 and his solution ...
0
votes
0answers
24 views

Factor[p(x), a, b] not working in Galois theory package

I have downloaded Galois theory package from http://library.wolfram.com/infocenter/Articles/2872/ and I currently have Mathematica v 12.0. When I loaded the module (I needed to delete the blue stuff ...
0
votes
0answers
53 views

How to apply the utility Packages for Numerical Differential Equation Solving

I have solved two coupled equations with {Solf, Solg} = NDSolveValue[eqns, {f, g}, {x, 0, L}, {t, 0, tmax}] and want to extract the computational grid ...
2
votes
0answers
52 views

Updating an old package

So I was trying to use this package billiard but some functions it uses are outdated so I was trying to update it (I tried to use the update button but didn't work). I basically did copy-paste and ...
2
votes
1answer
152 views

I am unable to install a package on V11.3, which previously worked on V6.0

It is BUtools (both old and new version) http://webspn.hit.bme.hu/~telek/tools/butools/ I moved the files from Downloads to AddOns inserted the path using insert file ...
3
votes
1answer
220 views

Distinguish FeynRules, FeynCalc, FeynArts, FormCalc and LoopTools

I am totally confused: I can't distinguish the packages FeynRules, FeynCalc, FeynArts, FormCalc, LoopTools properly. Once I installed FeynRules I think. It seems to include the packages FeynCalc and ...
0
votes
1answer
82 views

Passing arguments into WolframScript in batch mode

I am looking for a way to passing arguments into a WL script when WL run in batch modes. The test script is: ...
9
votes
2answers
216 views

How to hide functions in a sub package from user level?

The only packages I did before were simple one file packages. I am now learning how to make a package that has a sub package. The main package calls functions in the subpackage. But user is not ...
1
vote
2answers
87 views

Export a Package (.m) from a Notebook (.nb) [duplicate]

I recently started creating Mathematica packages. I find it easiest to develop functions in a Notebook (.nb file). This allows me to add sections, comments and examples. I don't want to duplicate ...
5
votes
3answers
537 views

How to unload a Mathematica package?

I am using a publicly available Mathematica package on this page and is loaded in Mathematica by the command << EccentricIMR`; How do I unload this package? I don't want to use 'Quit' or '...
0
votes
0answers
34 views

Passing arguments into package from a command line

I am interested in running the same experiment with the different initial state. So, I am looking for a way to passing arguments into a plain text .m file from the ...
1
vote
0answers
27 views

Kernel runs continously with Manipulate Block inside Package, not notebook

I recently moved an Manipulate block from a notebook to a package (.m file). The original manipulate called functions from the package in the form of Package`f(x) and was used in the Manipulate. The ...
2
votes
1answer
47 views

Package installation: this user vs all users

In developing and debugging a package today, I ran into a problem where installing the package through the menu seemed to stop working; changes I made simply weren’t being updated. As a matter of ...
1
vote
0answers
103 views

How can you write musical notation in Mathematica?

I am trying to write a project that overlaps particle physics and music, and have written all the basis in Mathematica, but to display it I need to write some lines of music out. I deally I would like ...
5
votes
2answers
297 views

Find multiple solutions of a nonlinear ODE

I have a nonlinear ordinary differential equation with two parameters c and R in the form of: ...
7
votes
1answer
106 views

How to (optionally) suppress package welcome message?

I'm working on a package and I want it to (usually) print a welcome message when it's loaded, primarily to leave a written trace of the version number in the notebook where it's used. For example: <...
0
votes
1answer
223 views

Where can I find the package RGTC?

I am unable to find the package RGTC which is the prerequisite for the package Surface Charges that I require. All places I searched for only provide one download link which gives Error 404. Can I ...
1
vote
0answers
34 views

Performance issues with Packages within Packages

I am currently working on parallelizing a piece of code, as indicated in here, which explains the following, rather convoluted, way of evaluating a function; so please bare with me. But irrespective ...
2
votes
1answer
88 views

Passing Package Dependencies to Subkernels

Say I have a function f[x_,...]:=... in a *.wl-Package form that depends on a bunch of Packages (some other *.wl files), and say I want to call this function ...
3
votes
0answers
56 views

Lie-algebra valued non-abelian differential forms in Mathematica

I am trying to implement wedge product of Lie-algebra valued differential forms in the non-abelian case. Concretely, I am intereste in 1- and 2-forms, that is, $A$ and $F$. Is there a way of doing ...
3
votes
0answers
88 views

Mathematica implementations of classical genetic algorithm optimization

Are there any Mathematica implementations of genetic algorithm optimization routines, including third-party and commercial? (DifferentialEvolution isn't quite what ...
2
votes
1answer
70 views

What is CURLLink and where can I go to find more information about it?

All that I know about CURLLink is that it is a package, I believe. I need to find out more about CURLLinkUtilities but I'm not really sure where to start, and all ...
1
vote
0answers
54 views

How does PacletInstall work? And is it possible to find packages using PacletInstall?

It seems that many packages published could be installed using PacletInstall . For example, from this Rubi install instruction webpage, we could see the comman: ...
2
votes
0answers
40 views

Failed to use a R package via Rlink on Windows

I need to import .ibw (Igor files.) into Mathematica. For this I used 1) to go in R via Rlink (OS windows), 2) to load the package IgorR 3) to install it and then to use it. Here is a script which ...
0
votes
2answers
41 views

Downloading a package on a directory accessible to Mathematica

I am trying to download the Ricci.m file from this page. The instructions say You'll need to download the source file Ricci.m and save it in a directory accessible to Mathematica...Once you've ...
0
votes
1answer
36 views

Wrapped Association into a “structure”: how to define Equal[] and what are the good practices for package dev?

Using a nice answer https://mathematica.stackexchange.com/a/197936/42847 I got from a previous question I define: ...
2
votes
0answers
62 views

Best Practice to Manage Utility Functions

It is often the case sometimes we write some functions that turns out to be handy and we would like to reuse them later. My current solution is to keep them in a single notebook and copy them to every ...
2
votes
1answer
61 views

How do I make a dynamic nested menu with the MorUI package?

I hope you can help me. I want to make a nested dynamic menu and I used the package MoreUI made by Kuba as a reference Question. My problem is that I want to add tasks such as: ...
0
votes
1answer
88 views

Why do I have to run the package to make the function available?

I made the following package file : ...
1
vote
1answer
55 views

Context issues when using NDSolve and rule substitutions in a package [duplicate]

I have a .wl package and a demo .nb notebook. The package file is testPackage.wl and it ...
3
votes
1answer
74 views

Upgrade of package from 5.x to 11

I'm new to mathematica and I'm trying to upgrade TamarA package, because it shows wierd things. To be more precise in case of formulas which should result into fraction of some elements the resulting ...
1
vote
1answer
85 views

How to set HeavisideTheta[0] to 1 permanently

I always meet the HeavisideTheta[0] = 1 during my work, every time I need to use the function Replace[] to finish the job, which ...
6
votes
1answer
374 views

3D rigid body physics engine

Is there a package in Mathematica that will allow me to simulate collisions of 3d rigid bodies? If not, what known libraries could I use and how? For example, one problem I want to simulate is a ...