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)

16
votes
0answers
212 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 ...
6
votes
0answers
82 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
114 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
275 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
122 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
76 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 ...
4
votes
0answers
34 views

Odd behavior of FindFile

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

Why does $Path change when I examine it in new cell after I just changed it?

This is really driving me crazy. In one cell, I change $Path by removing from it un-needed paths that I do not want for the duration of a computation I will be ...
3
votes
0answers
101 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
108 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
123 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
85 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
86 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
110 views

Is this a bug in NCAlgebra library?

In course of my work with NCAlgebra package for Mathematica, http://math.ucsd.edu/~ncalg/ , I encountered unexpected behavior of replacements. I am using ...
2
votes
0answers
65 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? Or, what would ...
2
votes
0answers
127 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
92 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
47 views

Calculating perturbative expansion in qft

Is there an easy way to use mathematica to take functional derivatives to do perturbation theory in qft? I know there is a package for functional derivatives, but can I get an example of how to use it ...
1
vote
0answers
47 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
51 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
58 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
50 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
64 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
79 views

StyleSheet for custom application

I'm working on a package that for some reasons needs to be installed into a "non standard" path, that means neither $BaseDirectory or ...
1
vote
0answers
47 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
75 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
121 views

CleanSlate[] not working?

...
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
557 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
123 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
37 views

Calling a custom function in slave kernel process connected through mathlink

I am performing a small experiment to check if we can call/execute a custom package function in slave kernel launched from master using mathLink. I have created a dummy application called ...
0
votes
0answers
30 views

Debug package with command line arguments

I'm creating a package that takes as arguments input from the command line using $ScriptCommandLine. What's unclear to me is how to best debug this package. How do others perform these tasks? I ...
0
votes
0answers
31 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 ...
0
votes
0answers
34 views

What is the right way to combine a Package, Module, ParallelTable and NIntegrate?

I am stuck with a curious problem. I would like to to have a package from which i can call a function test[path], which then performs a time consuming numerical ...
0
votes
0answers
27 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 ...
0
votes
0answers
94 views

Using Quantum Mathematica package with V10

I am using Quantum Mathematica add on/package for my calculations. It works well with Mathematica 9 and below. But when i run it on Mathematica 10 it gives problem/error. When I run the initial ...
0
votes
0answers
89 views

Simplify BeginPackage with Package of Packages

I have a group of Packages that I use to create a lot of other Packages. Let's see an example: ...
0
votes
0answers
71 views

EquationTrekker PropertyValue errors

In Mathematica 10.0.2, the basic example for EquationTrekker in the documentation is: ...
0
votes
0answers
58 views

Confusion/Problem with importing Packages in Mathematica

I am very new to Mathematica and managed to confuse myself completely while trying to import a package. I am supposed to use a package that I did not code myself (it definitely works though). I ...
0
votes
0answers
63 views

Package Problem

I am new to packages. But I am having the following problem. Say the package is defined as follows (on a Mac using Mathematica 10): File->New->Package And ...
0
votes
0answers
16 views

From ReadList[package,String] back to a Package

I read in a package as a list of strings Using ReadList ReadList["package1`", String] StringReplace can then be used on (e.g. mapped over) this list of strings. Is there anyway to save/export the ...
0
votes
0answers
59 views

How to hide global variables in package?

in the package I'm writing I have a list of global variables which should not be visible from a notebook. Here's an extract of the package: ...