Questions tagged [packages]

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

110 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
16
votes
0answers
199 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 ...
9
votes
0answers
259 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 ...
8
votes
0answers
47 views

Dealing with over eager shadowing messages

...
8
votes
0answers
396 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
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 ...
7
votes
0answers
76 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
72 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
80 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?
7
votes
0answers
471 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
83 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
296 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
105 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 ...
6
votes
0answers
307 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
166 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
286 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
342 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
69 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
1answer
325 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 ...
5
votes
0answers
314 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
53 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
58 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
323 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 ...
4
votes
0answers
337 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 ...
4
votes
0answers
248 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
74 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
240 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 ...
3
votes
0answers
41 views

How to provide latest paclet version

I've made a package available on github, which can be installed with ...
3
votes
0answers
55 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
81 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
21 views

Not too obsolete package extending the built-in functionality of Permutation Groups

Is there a modern package geared to permutation groups? With functions, for instance, for group-isomorphism (either w.r.t. permutation representation & w.r.t. group structure), direct, semidirect ...
3
votes
0answers
83 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
104 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
101 views

Load a package temporarily

I want to use one function from a built in package (specifically CCompilers[] from "CCompilerDriver"`). It seems unnecessary to ...
3
votes
0answers
364 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
110 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
132 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
96 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
70 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
142 views

Package for interacting with the AR.Drone by Todd Gayley?

Anyone in possesion of the package develop by Todd Gayley to interact with the AR.Drone? Haven't been able to find it anywhere... Referring to this video: http://www.wolfram.com/broadcast/video.php?...
3
votes
0answers
191 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?
2
votes
0answers
51 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
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 ...
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
0answers
76 views

Antiparticles in Feynrules Lagrangian

I am trying to implement a simple extension of the SM to Feynrules, generating the Lagrangian in a Mathematica notebook file. I am wondering about the following: Is there a way to explicitly use the ...
2
votes
0answers
82 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 ...
2
votes
0answers
155 views

Where to find LieSymm-PDE Package for Mathematica?

I am unable to find the LieSymm-PDE package for Mathematica developed by Vladimir Pulov et al as outlined on the website: http://www.swmath.org/software/12188 as well as explained in the paper: https:/...
2
votes
0answers
103 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
0answers
101 views

Neural Networks: Missing functions/data

Newcomer to both Mathematica and neural networks here, so please bear with me. I'm running Mathematica (11.0.1) on a school server (Ubuntu 14.04), accessing it via ssh. I'm trying to follow the ...
2
votes
0answers
141 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 ...
2
votes
0answers
144 views

Getting “string expected” error when using the TIDES package

TIDES is a package that approximates ODEs using a Taylor series method (You can download it from https://sourceforge.net/projects/tidesodes/ ). First I call the package: ...