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

learn more… | top users | synonyms (1)

28
votes
0answers
456 views

What is the difference between a .wl package and a .m package?

In Mathematica 10.x, one now has both .wl Wolfram Language Packages and .m Wolfram Mathematica Packages. What's the ...
21
votes
0answers
353 views

Can code optimize code?

Are there functions, programs or packages that deal with optimizing mathematica code i.e. re-writing ineffecive or convoluted code. -This question has haunted me since I joined SE. The background for ...
7
votes
0answers
80 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 ...
6
votes
0answers
129 views

SciDraw error loading package

I am running Ma 10.3. When I try to Get SciDraw package I get the following error: ...
6
votes
0answers
145 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 ...
6
votes
0answers
91 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
131 views

Automatization of SyntaxInformation and argx?

Does anybody have a good way to automate the setting of SyntaxInformation for any custom function? I have a ton of functions for which I want to set SyntaxInformation, and doing it by hand seems a ...
6
votes
0answers
138 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
335 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 ...
5
votes
0answers
230 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 ...
4
votes
0answers
67 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
68 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
47 views

Odd behavior of FindFile

Running FindFile gives some odd results on my machine: FindFile["HTTPClient`"] Result: ...
4
votes
0answers
51 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
142 views

Are there any build-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 build-in or third-party packages for general topology or algebraic topology in Mathematica? Through googling, ...
4
votes
0answers
135 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
69 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 ...
3
votes
0answers
40 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
38 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
144 views

Mathematica GUIKit

Does anyone of you know if the GUIKit package is still under some development by Wolfram Research or is the current version 1.1.0 the last one. Does it make sense to make GUIs using this package in ...
3
votes
0answers
127 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: ...
3
votes
0answers
150 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
91 views

What's reliable way of finding declared but undefined functions/symbols in several interrelated packages?

I have many packages some of which use some of others. I have many symbols defined in them. Is there a reliable way of finding declared/exported but undefined functions/symbols in several ...
3
votes
0answers
100 views

Parsing subscripts when loading package files via the FrontEnd

I am working on some code, and have found it easier to use a Mathematica package because it is easier to run via command-line (lightweight) it allows for easier source versioning (Git), and it ...
2
votes
0answers
48 views

Where does a package have to be loaded?

I'm trying to solve a very tricky bug in my program. It's tricky because it seems to be not working intermittently, and mostly not working when running with large data sets. The code itself is kind of ...
2
votes
0answers
50 views

A question regarding shadowed symbols

The more I study, the less I understand. This is the HelloWorld package: ...
2
votes
0answers
101 views

Automatic AutoIndent while editing a Package (.wl)

The author of this question is interested to personally handle the code indentation and have the package editor, built-in in Mathematica 2012, preserve the manually chosen indentation level from line ...
2
votes
0answers
165 views

FeynRules Package

Does any one use the FeynRules package? If so, how can I implement a vertex of one Gluon and two octet scalars? I tried ...
2
votes
0answers
100 views

What exactly does AddTeX2Eps do and how does one use it?

What exactly is Janko Slavic's addon package AddTeX2Eps supposed to do, and exactly how does one get it to work? I do understand it's supposed to allow one to use TeX ...
1
vote
0answers
34 views

Quits Kernel during evaluation of CreateTopologies

I am using Feynarts 3.9 and FeynCalc 9.0.1 with Mathematica 10. Every time I load FeynArts with FeynCalc and execute t = CreateTopologies[1, 1 -> 2]; ...
1
vote
0answers
64 views

Creating package and encoding for CDF and Path for Mathematica

I am working on learning Enterprise CDF development. I developed a simple example. I am working with packages for I can encode my codes eventually. When I use Needs command and save the package in one ...
1
vote
0answers
104 views

Dynamica Package for Mathematica

I have been trying to download the package Dynamica for Mathematica, included with Discrete Dynamical Systems and Difference Equations with Mathematica, by Mustafa R.S. Kulenovic and Orlando Merino. ...
1
vote
0answers
88 views

Trace of gamma matrices using FeynCalc

I am using FeynCalc package in Mathematica to evaluate some complicated Dirac Traces, but as you know the default convention for the anticommutator of two Gamma matrices in this package is ...
1
vote
0answers
56 views

Running a script that needs a package

I am running a resource extensive notebook, and so I am trying to break it down into a .m file so that I can run it quicker and without using the mathematica interface. The problem is that my notebook ...
1
vote
0answers
51 views

Sum of zeros in finite Galois field

In the following code: << FiniteFields` GF[2][{0}] + GF[2][{0}] == GF[2][{0}] GF[2][{0}] + GF[2][{0}] + GF[2][{0}] == GF[2][{0}] Why does the second line ...
1
vote
0answers
62 views

How to implement time dependence in the DoFun package?

DoFun is a very usefull mathematica package that helps to write Dyson-Schwinger and FRG flow equations when these are to complex to write down by hand. You can download it here and read it's manual ...
1
vote
0answers
110 views

Mathpsfrag: failed setup at MathPSfragConfigurationTest (UnPSfrag) line (Windows 8)

I'm trying to follow the documentation on how to get mathpsfrag set up on Windows 8 (64-bit). It failed at the line ...
1
vote
0answers
55 views

Mysterious message posted when I move the cursor in a custom function

I wrote a function called CPlot for complex plotting which is supposed to act a lot like Plot in its input format, but ever ...
1
vote
0answers
82 views

Autoloading attempting to follow Roman Maeder's master package instructions

I am trying to use the Master Packages discussion from "Programming in Mathematica" by Roman Maeder. I have a directory: D:\at_work\mathematica\JacksPackages ...
1
vote
0answers
53 views

Where can I find documentation for the File->New->Package window?

I'm using 10.0.0 on OS X. When I go File->New->Package a window similar to a notebook appears, but with different coloration and a row of buttons on the top like 'Update' and 'Run Package'. I'm not ...
1
vote
0answers
110 views

EquationTrekker PropertyValue errors

In Mathematica 10.0.2, the basic example for EquationTrekker in the documentation is: ...
1
vote
0answers
122 views

A Stupid Question Maybe - EigenNDSolve

I would like to find out how accurate and how useful the chebyshev (collocation?) method is in finding many eigenvalues to a second-order ODE in one go. Specifically, I used the Mathematica package ...
1
vote
0answers
54 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:- ...
1
vote
0answers
89 views

Needs entry point of a package from a Mathematica script

I am writing a bunch of Mathematica scripts to run command line in a HPC environment. I am organising my solution in small chunks I can test separately. So I have a directory structure like: ...
1
vote
0answers
60 views

Changing package content in batch

I would like to know if it's safe to do batch operations in a list of package files, applying a function like this: ...
1
vote
0answers
791 views

Problem enabling PlotLegends in Mathematica 8.0

I am trying to make a legend for a simple plot in Mathematica 8, but does not seem to recognise the command PlotLegends. I declared beforehand ...
1
vote
0answers
144 views

CDF with numerous independent manipulate objects

I have been working on my senior project that involves the creation of a CDF with multiple Manipulateexpressions. I need to protect my code so I have been trying to ...
0
votes
0answers
16 views

2 functions in a package for CDF, 1 is OK 2nd is not working

I am developing a CDF application to teach me how to create CDF files. In this application I am taking numeric and symbolic integral of a function. I create package with two functions; 1-taking the ...
0
votes
0answers
18 views

Defining a differential form in the Exterior Differential Calculus package

I want to define the following differential form $\qquad F = H^{01} dx \wedge dt$ However, when I type F = H^01 d[x]⋀d[t] I get the error Recursion depth ...
0
votes
0answers
90 views

SciDraw: Vertical axis not copied into Word 2013 (Windows 7, Mathematica 10.1 SE)

Using the SciDraw package, I created a multi-panel figure of list plots with labels along both the $x$ and $y$ axes. But when I copy/pasting the result into Word, the vertical axis labels are nowhere ...