Questions on Mathematica packages, which are self-contained bundles of Mathematica code that add new functions and other functionality.
12
votes
1answer
115 views
Creating documentation for sub-packages in Workbench
I'd like to create proper documentation for a package of mine, and Workbench in principle provides the tools to do this. However, I've split my package into multiple sub-packages (because I found it ...
1
vote
0answers
79 views
Shapley value and Mathematica [closed]
I use the TuGames package in Mathematica to analyze
cooperative games. Is it possible to calculate Shapley
value, Nucleolus, etc., for a large number of players like
400 or more?
10
votes
1answer
82 views
When is the output of examples in function documentation rasterized?
Upon building documentation in Workbench, Workbench sometimes converts the output of examples on function pages into rasterized images, and sometimes not. Does anybody know what controls this ...
9
votes
4answers
174 views
Plotting ErrorBars with a different style
I would like to plot the error bars of ErrorListPlot with a different style than the points. I know of ErrorBarFunction, but ...
4
votes
2answers
130 views
Simplifying the trace of a matrix expression
I have a long expression involving matrices that I derived using the NCAlgebra package. Can I simplify the trace of the expression?
For example, say b is a scalar ...
1
vote
2answers
65 views
NumberForm in logarithmic plot (with LevelScheme package)
I am trying to plot some data using the LevelScheme package, but changing the logarithmic scale to display values in NumberForm ...
-2
votes
0answers
86 views
Phase space Plot [closed]
Using Mathematica 8 EquationTrekker is not working.
Could anyone please help me to find how the phase space will look for this vector fields?
...
15
votes
1answer
245 views
Recommended settings for git when using with Mathematica projects?
Background
I'm relatively new to git — currently overseeing an offshore .NET-based development project on GitHub within a private business account, but little experience beyond that.
I'd like to set ...
0
votes
0answers
37 views
Error on loading Orthogonalization package [closed]
I'm trying to implement this on my computer. I typed
Needs["LinearAlgebra`Orthogonalization`"]
I got this as a response:
Needs::cxt: Invalid context ...
10
votes
1answer
371 views
Using a different R version with RLink
I wish to use a different version of R than what is provided by Mathematica 9. For example, I want to use the Macports version of R, where R_HOME is ...
0
votes
0answers
107 views
Using the Global context as a package context [closed]
Can I use
BeginPackage["Global`"]
in my Mathematica package? What are the drawbacks, or possible problems, of using the ...
8
votes
0answers
46 views
How to find the package file that stores a certain symbol?
Is it possible to figure out in what file a certain packaged symbol lives in (assuming there is no shadowing between multiple identical symbol names)? I would like to have a function that if, given a ...
9
votes
2answers
350 views
FiniteFields package is very slow. Any fast substitute for Mathematica?
I want to compute the inverse of matrix, say with dimensions $100 \times 100$, defined over a large finite field extension such as $GF(2^{120})$. I am using the package FiniteFields, but Mathematica's ...
8
votes
1answer
196 views
How to run an external program in parallel with a Mathematica package?
Under Mathematica 8 (Linux x84_64) I was able to run an external program in parallel from a Mathematica package. However this procedure breaks down under Mathematica 9.
Within my Mathematica package ...
2
votes
1answer
59 views
Simple problem about shadow symbols in multi-contexts
When I'm tiding up my simple packages, shadow awlays comes out. Here is an example.
Packages1
...
10
votes
2answers
454 views
How do I compute sidereal time and JD?
There was once a package that provided a wide range of functions for computing astronomical information. This package now appears to be out of date; but as near as I can tell, many of the useful ...
3
votes
0answers
57 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?
0
votes
1answer
79 views
Get function not working [closed]
Here is what is at the beginning of one of my packages. I have the same problem with any package in which i'm trying to get any another package.
...
0
votes
1answer
337 views
Using GRTensorM 1.2 in Mathematica 8.0
I am copying a post from 2009 that didn't get any reply on the Wolfram page, as I am experiencing a similar problem to this at the moment:
I was wondering if anyone here knows of a way to force 8.0 ...
3
votes
1answer
132 views
How to determine all possible functions/symbols that can be accessed from a Mathematica installation?
I made a list of all symbols and functions that can be accessed from Mathematica and any included package that comes with it after standard installation.
I thought I managed to get a list of ...
12
votes
1answer
117 views
Predictive code completion and custom functions in contexts
Suppose I work for organisation PQR, and have been developing a suite of packages, PQRUtilities, PQRVisualization etc, all of ...
3
votes
2answers
134 views
How can Private functions be made completely opaque?
I want to make Private functions.
From my point of view, being a Private function means that the function is not accessible from other packages. For that purpose I wrote the following code. But my ...
5
votes
3answers
103 views
How can I make private functions inside packages
I want to make private functions.for that purpose,I wrote the following code.
BeginPackage["Test1`"]
Begin["`Private`"]
function1[x_]:=x
End[]
EndPackage[]
I ...
4
votes
0answers
102 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 ...
0
votes
0answers
82 views
Function Nodal2`NodalNetwork is not evaluating [closed]
I am using a default package Nodal2.m for nodal analysis of a Voltage Controlled Current Source, but it's giving the same statement back in output instead of Y ...
7
votes
1answer
824 views
How do I create and use Mathematica packages?
I have created a package following the tutorial in Mathematica 8 virtual book. However this tutorial is quite, let's call it, "short". I have a TestPackage.m file:
...
12
votes
1answer
247 views
Creating a R DataFrame like construct in Mathematica
I kept getting my data mixed up so I decided to see if I could construct a package adding a R DataFrame like construct to Mathematica. I managed to cobble something together that sort of works, but ...
3
votes
1answer
117 views
FeynCalc “May shadow or be shadowed by other definitions”
So I've downloaded the latest FeynCalc from this site and put the extracted folder in user/me/library/Mathematica/application, but when I write the command
...
2
votes
1answer
61 views
Can I place a link to a package file (.m) in my Applications folder
I am developing a package and would like to be able to test it without having to copy the package file to my $UserBaseDirectory/Applications folder for each change, ...
6
votes
3answers
152 views
How to program a F::argx message?
How useful is it to program a user-built function in a package to produce a red warning message F::argx if you give the wrong number of arguments to that function? ...
3
votes
3answers
94 views
Can I put subscripted parameter values into a package?
When defining packages, can I put parameter values alone or along with functions into a package in subscripted form?
...
5
votes
1answer
78 views
On Reverting Code that Mma Switches to Raw Input Form Back to Standard Form
I experienced a similar issue to what is described in this post while editing formatted usage messages (that contained italics) in the declaration section of a package that I'm developing in the ...
6
votes
1answer
122 views
Could a package be composed of references?
Could a package be composed of references (e.g. usage messages)? Do the code for an induvidual function implemented in a package has to be physically in that package file where it is referenced (i.e. ...
3
votes
1answer
88 views
Looking for a package regarding Schur Polynomials and Kostka numbers
I'm currently looking for any Mathematica package that involves Schur polynomials and/or Kostka numbers.
More generally, I'd be happy with anything that expands on symmetric polynomials in general. ...
8
votes
2answers
132 views
Problem with PlayerPro recognizing a proprietary package
This question follows on from my earlier question Can Wolfram's Player Pro Use Proprietary Packages.
That question appeared to have established that, yes, PlayerPro can use proprietary packages.
...
11
votes
1answer
185 views
Can Wolfram's Player Pro use proprietary packages?
A few entwined/related questions:
Can Wolfram's Player Pro use proprietary packages?
I have searched Wolfram's site pages on Player Pro and don't see anything that provides a clear answer to this ...
5
votes
1answer
98 views
How can I get Mathematica to recognize the documentation for a newly installed package?
To install a new package on one's machine, one first downloads and unpacks the package into the $BaseDirectory/Applications directory. The tutorial
Installing ...
0
votes
1answer
83 views
Integrating polynomial functions over polytopes with an add-on package
There is a Mathematica package to evaluate integrals over polytopes:
http://library.wolfram.com/infocenter/Books/3652/
In the documentation (Functions.nb file) I ...
2
votes
0answers
108 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 ...
0
votes
0answers
93 views
Availability of Quantum Optics package [closed]
I am wondering whether the quantum optics mathematica package developed by
D. Meiser (pls see http://acceleratedqo.blogspot.com.au/ is freely available?
8
votes
4answers
258 views
Numerical integration of a numeric data available as a nested list
I have some numerical data in the form of a list with the following structure: {...{x,y,z},...} defining a surface z=z(x,y) in a 3D space (x,y,z). The data came from a simulation, and I am ...
7
votes
1answer
81 views
Attaching the same message to several symbols
It is common in many packages, as well as system symbols, that the same message can be issued by several functions. Here's an example:
One mechanism that can be used for this is to define the ...
3
votes
1answer
97 views
Creation of name.m Package
I have a structure of folders.
Main Directory( has init.m, and name.m files)
Subfolders under Main directory
library ( has the packages, pacakge1.m, package2.m)
Data (some xcel sheets and other ...
10
votes
1answer
221 views
Load a Mathematica Package via .Net code
I'm using C# to pass data to Mathematica and return graphs:
...
-1
votes
1answer
213 views
How can I access variables from one .nb file to another .nb file? [closed]
upto last weekend,I wrote my entire Application code in one .nb file.Because of this,it's very difficult for finding the specific code after some time,so
I divided ...
4
votes
1answer
115 views
Does new MMA9 Time Series support obsolete the old TimeSeries Package?
MMA9 includes a fair number of functions and symbols that seem to overlap with the old TimeSeries package. The new features are documented here and the old material is documented here. Some of the ...
7
votes
3answers
127 views
How to define a package without adding it to $ContextPath
How can you introduce a package, so that it is listed in $Packages, without adding it to $ContextPath?
Note that this question ...
2
votes
2answers
164 views
Packages problems on version 9 under OS X
Using Version 9 on OS X, I've run into some problems with creating packages and accessing them. I've done the following:
wrote all the function definitions in a notebook and tested that they all ...
3
votes
2answers
156 views
Function saved in a package won't load in the deployed CDF on startup
I wrote a function and saved it in a package. I saved a copy of the package in the Autoload folder too. I deployed a CDF that contains this function. When I open the CDF later, this function (which ...
4
votes
2answers
377 views
Game theory packages
Is there any game theory package around?
I mean supporting functions which take a game in matrix form and tell you all about nash equilibra, best strategies, ect





