Skip to main content

Questions tagged [packages]

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

184 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
18 votes
0 answers
314 views

How to design re-usable sub-modules?

There was a recent question asking about how to design modular packages: Declaring Package with dependencies in multiples files? This is an important issue for which unfortunately there is no One ...
Szabolcs's user avatar
  • 236k
11 votes
0 answers
326 views

Mathematica package for explicit matrix representations of group generators?

While there are several packages that are capable of working with weights and roots (for example LieArt), I couldn't find any package that spits out explicit matrices for the generators, for example ...
jak's user avatar
  • 950
10 votes
0 answers
154 views

Does Workbench support "new" package format?

The format described here and here seems to be a big step forward from BeginPackage/EndPackage structure and is apparently ...
Pavel Perikov's user avatar
10 votes
0 answers
195 views

How to interact with Amazon S3 using Mathematica?

Unfortunately Mathematica 12.1 does not have a native way of handling S3 files, the S3 functions were removed from the experimental AWSLink package. Someone know where can I download it, or some ...
Murta's user avatar
  • 26.3k
8 votes
0 answers
95 views

Multilingual code captions for user functions

Mathematica 11 features multilingual code captions for built-in symbols. How do I define code captions in different languages for my own functions which may go into a Mathematica application/package?
QuantumDot's user avatar
  • 19.7k
8 votes
0 answers
523 views

Where is f2mma.zip, Fortran to Mathematica converter?

I want to convert the SOFA libraries to Mathematica, and found out about f2mma, a Fortran to Mathematica converter. Google points to many papers about f2mma, but the only link to the software ...
user avatar
8 votes
0 answers
601 views

Computing Ehrhart's polynomial for a convex polytope

Is there a Mathematica implementation for computing the Ehrhart polynomial of a convex polytope which is specified either by its vertices or by a set of inequalities? I am interested in knowing this ...
Pavithran Iyer's user avatar
7 votes
0 answers
93 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 ...
István Zachar's user avatar
7 votes
0 answers
99 views

Exclude functions from auto-completion

Is there a way to exclude a function from auto-completion? Suppose that you are developing a package, and in the next version a function will be deprecated. It is better not to auto-complete it so ...
Szabolcs's user avatar
  • 236k
7 votes
0 answers
122 views

Enabling "Update" button for installed packages

I found that if you navigate to the "Installed Add-Ons" page in the *Wolfram Documentation Center" accessed by following Help ▸ Wolfram Documentation ▸ Add-ons and Packages you will find a listing ...
QuantumDot's user avatar
  • 19.7k
7 votes
0 answers
118 views

Does one need to be careful about loading multiple (many) contexts or packages in the same session?

I have a number of large pieces of precomputed data which I am considering putting into individual packages in order to load them (via DeclarePackage) and unload ...
Tobias Hagge's user avatar
  • 1,382
6 votes
0 answers
79 views

Dedekind Zeta Function in Mathematica (at least for quadratic number field)

Does there exist some way to use Mathematica to compute the Dedekind Zeta function for an arbitrary algebraic number field? Or does there exist some package to do this? I am actually only interested ...
Mike Battaglia's user avatar
6 votes
0 answers
96 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: ...
Martin Ender's user avatar
  • 8,774
6 votes
0 answers
440 views

Are there any built-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 built-in or third-party packages for general topology or algebraic topology in Mathematica? Through googling, I ...
hengxin's user avatar
  • 840
6 votes
0 answers
392 views

Does Mathematica support collaborative filtering and recommendation systems?

Does Mathematica support collaborative filtering and recommendation systems such as can be found in Apache Mahout? I could not find any resources about advanced data mining techniques, beyond ...
JohnnyM's user avatar
  • 489
6 votes
0 answers
192 views

Package for voting systems

Is there a mathematica package that implements common voting systems (like IRV where voters will rank the candidates)?
Phira's user avatar
  • 755
5 votes
0 answers
70 views

What is the most convenient way to organize dependencies from paclets?

Do you have any ideas on how to most conveniently and easily organize package dependencies for Wolfram Language projects. I would like to have something like a list of packages in projects for .Net ...
Kirill Belov's user avatar
5 votes
0 answers
184 views

Basic and advanced topics on mathematica packages

I am interested in understanding what is modernly (2023) considered a good practice in writing packages in mma. There are already many beautiful SE posts when it comes to packages, but they are ...
alex's user avatar
  • 1,438
5 votes
0 answers
550 views

BVPH Package 2.0

Hopefully you guys can help with this issue. I am currently using Mathematica package BVPH2.0 to solve hybrid nanofluid in boundary layer flow problem using homotopy analysis method. But I seem to ...
Lyn Rin's user avatar
  • 51
5 votes
0 answers
131 views

Using ASCII plots in Terminal in version 12.1

This question was asked before for version 12 but unfortunately the provided patch doesn't work anymore for version 12.1. Using Terminal` (ASCII plots) in Wolfram 12 I was trying to use the Terminal` ...
Philipp's user avatar
  • 726
5 votes
0 answers
138 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 ...
Alonso Perez-Lona's user avatar
5 votes
0 answers
344 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 ...
user5601's user avatar
  • 3,675
5 votes
0 answers
545 views

FuzzyLogic in Mathematica

Just a question for my information. What package do I need to load or to buy to be able to use fuzzy logic in Mathematica? I tried << FuzzyLogic but ...
Melanie Gerster's user avatar
5 votes
0 answers
81 views

Looking for a package for finite mappings

I am looking for a package for dealing with "mappings" $f\colon A\to B$ where $A$ and $B$ are finite subsets of the set of all possible (inert) expressions. I need operations like: Computing $f(a)$ ...
masterxilo's user avatar
  • 5,739
5 votes
0 answers
697 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 ...
Jemme's user avatar
  • 257
5 votes
0 answers
579 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 ...
Per Alexandersson's user avatar
4 votes
0 answers
67 views

Implications of Code vs Input Initialization Cells in Package Files

When editing package files, I've noticed that there are really two options for how to format the cells, which has major implications for how they appear in the Mathematica front end. One is to have ...
Pillsy's user avatar
  • 18.5k
4 votes
0 answers
56 views

Viewing your own documentation

I am currently making a paclet, writing documentation for my package. When writing documentation with the Documentation tools, it is displayed in an ``unfinished way". How would it be possible to ...
Mstislav Keldysh's user avatar
4 votes
0 answers
85 views

Python-like virtual environment for Mathematica?

Is there a way to control the versions of dependencies (packages) of Mathematica code, similar to virtual environments in Python (conda or venv), in the interests of reproducibility?
felix's user avatar
  • 549
4 votes
0 answers
115 views

How to make a package of notations using the notation package

Alternative question: how to postfixify prefix operators like @, /@, @@ I would like to make a package of notations using the notation package. I want to make postfix notations for common prefix ...
userrandrand's user avatar
  • 5,937
4 votes
0 answers
210 views

Is there an extensive guide on using the Notation Package?

I've always wondered if there is any relatively comprehensive guide to using the Notation Package. Can anyone give any recommendation on this? I thank you in ...
E. Chan-López's user avatar
4 votes
0 answers
116 views

best way to turn large amount of mathematica code into a package?

I have a code that is made up of 30+ .m files. of this, about 20 are just files with generic definitions, and 10 are files with a set of routines that define a set of calculations to be made in series....
Giorgio Busoni's user avatar
4 votes
0 answers
48 views

Details about using packages with Wolfram Player

Is there a definitive document that describes the differences between what's allowed in Mathematica and Wolfram Player? I'm seeing differences in behavior between references to variables in packages (...
Stanley Rabinowitz's user avatar
4 votes
0 answers
364 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 ...
RobertNathaniel's user avatar
4 votes
0 answers
62 views

Testing packages against old Mathematica versions

I've made a Mathematica package available, and it's been reported to me that it doesn't work with Mathematica 4. I've guessed at some of the issues, and provided work arounds, but that process is ...
Peeter Joot's user avatar
  • 6,438
4 votes
0 answers
186 views

Load a package temporarily

I want to use one function from a built in package (specifically CCompilers[] from "CCompilerDriver"`). It seems unnecessary to ...
Jojo's user avatar
  • 1,278
4 votes
0 answers
80 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 ...
user avatar
4 votes
0 answers
238 views

Symbolic second variation (quadratic form matrix)

Mathematica has a calculus of variations package that can compute the first variational derivative symbolically, rather nicely. Does anyone know if there is a way to compute the quadratic form matrix ...
user3658307's user avatar
4 votes
0 answers
398 views

How to write Coordinate Chart in Xcoba in index form?

I am using xCoba for manipulating tensors. I do the usual, defining my metric, manifold, chart etc. ...
P DEY's user avatar
  • 41
4 votes
0 answers
77 views

Wrong autogenerated package from notebook containing #key and Part as subscript

Bug introduced in 10.0.0 and persisting through 10.1.0 or later Mathematica v10.1.0, under Windows 8.1 x64 Mathematica v10.0.2, under Windows 1) Define a function in an initialization cell: ...
unlikely's user avatar
  • 7,123
4 votes
0 answers
382 views

Linearised Einstein equations

I need to compute the linearised Einstein Equations around a fixed metric $$g_{μν}=\text{Minkowski metric} + h_{μν}$$ which is not the flat metric. Does anyone know a Mathematica package or a ...
rajaram's user avatar
  • 41
4 votes
0 answers
208 views

Eureqa Client to connect to Mathematica under Windows

Does there exist a way to use Eureqa software with Mathematica under Windows? That is, is there a working client to connect to a Eureqa server?
TC Jones's user avatar
  • 207
3 votes
0 answers
46 views

Strategies and practical advice for using saved compiled functions in a package

I want to use a compiled function in a package without having to rebuild it each time. This slows down unit testing and loading of the package. I have used the example in the link as my starting point:...
IntroductionToProbability's user avatar
3 votes
0 answers
43 views

Missing Hover and Autocomplete INFO Buttons for Custom Paclet

I've built my own paclet application with documentation using Workbench 3 (Eclipse add-in 10.1.822) with MM 12.1 (there are currently issues with 12.2-3 and the only Workbench add-in update, which I'm ...
Jeff Henning's user avatar
3 votes
0 answers
91 views

How to install AskConstants

In one of the posts at mathematica.stackexchange I came across the AskConstants package. I am quite interested to try it, but after the downloading I realized that the package is huge: ~2GB in ...
yarchik's user avatar
  • 19k
3 votes
0 answers
118 views

Packages for study presentation of groups

This question asks if there are tools/packages in Mathematica for the study of presentation of groups, but it is almost 7 years old and an answer suggests to use Combinatorica package which is now ...
mattiav27's user avatar
  • 6,747
3 votes
0 answers
74 views

Unable to uninstall an older CUDAResource paclet

I am trying to uninstall an older version of CUDAResource but cannot do so. Any ideas please? Is there a manual way to do so? ...
Iconoclast's user avatar
3 votes
0 answers
74 views

Can Mathematica autogenerate package files with the extension .wl instead of .m?

I have Mathematica 12.1 running on macOS Catalina. The .m file has forever been a problem on macOS, which assumes that .m belongs to Objective C. I always autogenerate package files from notebooks, ...
G. Shults's user avatar
  • 413
3 votes
0 answers
62 views

Package code problems with Mechanical Involute Gears

I've been playing around with with the old library archived package "Mechanical Involute Gears" The package has some broken things, namely those having to do with utf8 and a ...
DrMrstheMonarch's user avatar
3 votes
0 answers
76 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 ...
Valdes's user avatar
  • 31