Questions tagged [packages]

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

157 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
17
votes
0answers
252 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 ...
11
votes
0answers
291 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 ...
10
votes
0answers
160 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 ...
8
votes
0answers
96 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 ...
8
votes
0answers
62 views

Dealing with over eager shadowing messages

...
8
votes
0answers
93 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?
8
votes
0answers
462 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 ...
7
votes
0answers
88 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 ...
7
votes
0answers
93 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 ...
7
votes
0answers
92 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 ...
7
votes
0answers
114 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 ...
7
votes
0answers
532 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 ...
6
votes
0answers
89 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: ...
6
votes
0answers
351 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 ...
6
votes
0answers
356 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 ...
6
votes
0answers
179 views

Package for voting systems

Is there a mathematica package that implements common voting systems (like IRV where voters will rank the candidates)?
5
votes
0answers
321 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
0answers
513 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 ...
5
votes
0answers
432 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 ...
5
votes
0answers
76 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)$ ...
5
votes
0answers
505 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 ...
5
votes
0answers
440 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 ...
4
votes
0answers
114 views

Browne & Park Grassman Algebra package?

This year's Wolfram Innovator awards honored David Park Jr. and mentioned work on a Grassman Algebra & calculus package. This led me to find the Grassman Algebra book by John Browne https://...
4
votes
0answers
88 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....
4
votes
0answers
110 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` ...
4
votes
0answers
36 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 (...
4
votes
0answers
148 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 ...
4
votes
0answers
97 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 ...
4
votes
1answer
204 views

HypExp and HPL packages for hypergeometric functions: Evaluating a function HPL[{minus,plus},x]?

I am currently using the HypExp and HPL packages, which are useful for expanding hypergeometric functions in series around integer or half-integer values, as in common in dimensional regularization ...
4
votes
0answers
57 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 ...
4
votes
0answers
149 views

Load a package temporarily

I want to use one function from a built in package (specifically CCompilers[] from "CCompilerDriver"`). It seems unnecessary to ...
4
votes
0answers
73 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 ...
4
votes
0answers
311 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. ...
4
votes
0answers
75 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: ...
4
votes
0answers
310 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 ...
4
votes
0answers
199 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?
3
votes
0answers
51 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 ...
3
votes
0answers
25 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 ...
3
votes
0answers
56 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 ...
3
votes
0answers
50 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 ...
3
votes
0answers
413 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 ...
3
votes
0answers
176 views

Sneg Library - Number operator simplify

I am trying to use the SNEG Library for evaluating some commutators. For instance I am trying to evaluate $$ \left[n_1^2,a^\dagger_1\right]$$ with the code in Mathematica ...
3
votes
0answers
134 views

How to find, load and use a legacy Mathematica package

Question: How to find, load and use a legacy Mathematica package from a previous Mathematica version? What is the preferred approach and process? Context: I am working through a set of examples in ...
3
votes
0answers
629 views

Presentation of SNEG creation and annihilation operators in Mathematica 11

I am using the Mathematica package SNEG to make some calculations in solid state physics (see http://nrgljubljana.ijs.si/sneg/). The programs in SNEG library are running, but their presentation are ...
3
votes
0answers
192 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 ...
3
votes
0answers
155 views

Finding the Mathematica package for time series

I'm studying time series. Searching at internet I found this pdf file with a lot a useful information and examples about time series. I want to know if some one knows how to get the required package ...
3
votes
0answers
161 views

Is there a Wikidata - based Entity system yet?

Wikidata.org seems to have a similar goal as the new Entity/EntityProperty Wolfram-knowledge base system. The differences are that Wikidata is open, promising faster expansion and fixing, but of ...
3
votes
0answers
111 views

What is the appropriate way to handle JVM memory issues in a Mathematica package?

I maintain a large Mathematica package (here) that, for certain operations, calls out to a Java library (here). The details of the libraries are not important, but I've come across a frustration with ...
3
votes
0answers
78 views

Java anonymous functions from JLink?

JLink is really great to act on Java objects and access Java static methods. I'm asking myself if there would be a way to have access to a more recent Java syntax that allows anonymous functions, ...
3
votes
0answers
68 views

Placing package in existing Utilities` context has odd paraellelization effect

I noticed this in V.10 but possibly it was in effect in V.9. I have a package which in simplified form looks like:- ...