Questions tagged [packages]

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

129 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
17
votes
0answers
224 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
283 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
128 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
53 views

Dealing with over eager shadowing messages

...
8
votes
0answers
422 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
80 views

How to set up own paclet server?

With the paclet management framework made public in v12.1, I am eager to automate package distribution and update via paclets over the net. Stephen Wolfram mentioned in this post about v12.1 that they ...
7
votes
0answers
75 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
86 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
78 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
88 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
504 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
86 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
313 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
107 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
321 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
171 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
307 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
388 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
71 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
360 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
51 views

how to create a menu as the Documentation Center?

I am developing a package in Workbench and for documentation I want to make a menu of options such as the Mathematica documentation center. I could only make templates for guides, tutorials, etc; but ...
4
votes
0answers
92 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
55 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
124 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
61 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
399 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
390 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
285 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
268 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
89 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` ...
3
votes
0answers
23 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 (...
3
votes
0answers
38 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
67 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
172 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
107 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
111 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
502 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
169 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
123 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
145 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
104 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
74 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
67 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:- ...
3
votes
0answers
144 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
195 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
50 views

When making a package, how can I make a function that is already used by system?

Obviously, Plus[a,b] is given by Mathematica but say I have a package and I want to name a function Plus[a,b]. How can I go ...
2
votes
0answers
19 views

Problems with ImageResize using Mathematica Online (different results than Mathematica desktop .nb)

I originally created a package (.m file) which handled figure formatting. This package was read into my desktop notebook file. In the code block below, I use ImageResize[image,width] to resize an ...
2
votes
0answers
42 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, ...
2
votes
0answers
34 views

OscillatorStrength[Helium] and OscillatorStrength[Rubidium] do not return results

I am new to working with the Resonance Absorption Lines Pacgage << ResonanceAbsorptionLines` and trying to write code using the OscillatorStrength command. ...