The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
0
votes
0answers
15 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....
6
votes
1answer
67 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 ...
10
votes
2answers
482 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 ...
10
votes
2answers
493 views

Automatic AutoIndent while editing a Package (.wl)

The author of this question is interested in personally handling the code indentation and having the package editor, built-in in Mathematica 2012, preserve the manually chosen indentation level from ...
0
votes
0answers
52 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
100 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
37 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
79 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 ...
90
votes
4answers
7k views

What are the recommended settings for git when using with Mathematica projects?

Background I'm relatively new to git — currently overseeing an offshore .NET-based development project on GitHub within a private business account, but little experience beyond that. I'd like to set ...
14
votes
1answer
686 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.
24
votes
1answer
426 views

What to be aware when using new-style package?

A new package format is described in this post. This format does not use BeginPackage and Begin. Instead, each package file is ...
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
50 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
49 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
150 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 ...
15
votes
2answers
908 views

Does anyone have experience with performing symbolic regression using Mathematica?

I understand that there is at least one Mathematica package, DataModeler commercially available for symbolic regression. I'm seeking any observations with this or any other similar tool. I'm ...
3
votes
1answer
163 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 ...
9
votes
2answers
209 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 ...
0
votes
1answer
72 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: ...
4
votes
1answer
301 views

Calculating e.g. Euler density or Riemann tensor's square for a given metric using xAct package

I have started to learn about the xAct package to do some general relativistic calculations and whereas there might be other codes available, I would like to get my answer in terms of this package's ...
1
vote
2answers
79 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
473 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 '...
12
votes
3answers
674 views

Is there a package for Bayesian Linear Regression?

Is there a Mathematica package for Bayesian linear regression? Thanks
0
votes
0answers
31 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 ...
20
votes
5answers
2k 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, ...
7
votes
1answer
350 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 ...
15
votes
1answer
2k 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 ...
6
votes
2answers
268 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 ...
5
votes
2answers
273 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: ...
38
votes
3answers
3k views

Computational Bayesian analysis in Mathematica: Any plans to develop MCMC?

Does anyone know if there are any plans to develop an MCMC capability in Mathematica? My reasoning for asking is that as it stands, I can't seem to find any 'out-of-the-box' functions/capabilities ...
2
votes
1answer
45 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
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 ...
1
vote
0answers
100 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 ...
7
votes
1answer
105 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
158 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
33 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
83 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
53 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
72 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
68 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 ...
4
votes
1answer
172 views

TuGames package does not run

I downloaded the package TuGames from http://library.wolfram.com/infocenter/MathSource/5709/ to calculate Shapley Values in cooperative bargaining games. I got it to work earlier today but after ...
1
vote
0answers
47 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
38 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
36 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
60 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
58 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
86 views

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

I made the following package file : ...
8
votes
1answer
456 views

Package functions and symbolic calculations

I'm writing my package (.m) in Mathematica and when I call the function it returns 0 instead of a right output. Here's my code: Package.m ...