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)

1
vote
1answer
72 views

How to label individual points in data set with use of SciDraw?

I'm trying to lable each point in data set and adjust corresponding TickLabels. Here is my code: ...
1
vote
1answer
200 views

ExcelLink: “Choose a Mathlink program to launch” after upgrading from 10.0.2 to 10.1

After upgrading to 10.1, I now get a prompt "Choose a Mathlink program to launch" when I call code that uses ExcelLink. This code worked prior to the update. I am wondering if this is a ...
1
vote
2answers
170 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 ...
1
vote
1answer
448 views

Complex Region using Presentations Package

Just purchased the Presentations package. First sketched this region: ...
1
vote
1answer
300 views

Not able to load the package in CDF

I am facing a problem in loading the package. My code is working in Mathematica but after deploying it into CDF, it is unable to ...
1
vote
1answer
68 views

How to import multiple .m files at once?

For example, I import several files with the following lines: ...
1
vote
1answer
30 views

RGtensor undefines some symbol

I am using the package RGTC for differential geometry. Firstly I define a symbol \[Sigma] = Array[PauliMatrix, {3}];, then a metric and other stuff (as required by ...
1
vote
1answer
64 views

Loading FeynCalc

I am trying to install the FeynCalc package, but I cannot load it, it always gives the following errors: Loading FeynCalc from /home/gabi/.Mathematica/Applications SetDirectory::cdir: Cannot set ...
1
vote
1answer
66 views

Calling functions defined inside Manipulate in other notebook?

I'm creating a notebook with a Manipulate and I'm trying to call/use a function from another notebook (I use Get for that), in ...
1
vote
1answer
98 views

FeynCalc: Why do LeviCivita remain after Calc/Contract?

In (perhaps even in older versions) version FeynCalc 9.0.0 sometimes, on the amplitude level, one gets expressions of the form $\epsilon^{\alpha q\varepsilon^*(p)\...
1
vote
1answer
59 views

No names when loading package [closed]

I want to use mu own package. This is the procedure I take: 1) In Mathematica notebook I put the following code taken from code ...
1
vote
1answer
49 views

How to reference StringExpression named parts from a package without full Context path?

I have a long StringExpression in a package returned by a function. There are some named parts in the expression that I would like to reference when I use the ...
1
vote
1answer
107 views
1
vote
1answer
61 views

Package Function Confusion

I am a freshman working with Mathematica. I have written a package with a function like this: ...
1
vote
1answer
180 views

Load a package and use it's functionality inside C#

I am trying to make a windows C# form which uses some functions that I wrote inside Mathematica. Suppose that we have the following package: ...
1
vote
1answer
66 views

Simplifying a product with indices by implementing a rule

I want to simplify a product of two operators including indices. Let's say my operators are $$ \mathcal{O}^{\mu \nu, \alpha \beta} = -p^2 \left( \eta^{\mu \alpha}\eta^{\nu \beta} + \eta^{\mu \beta} \...
1
vote
1answer
74 views

Package function not evaluating

I have a short package like this: ...
1
vote
1answer
331 views

How can I call the R-programming packages in my Mathematica?

I am trying to call the R-programming package called highfrequency in my Mathematica so that I can use its function rCov. I ...
1
vote
1answer
106 views

Is there a TwoColoring function of Graph object?

The following code shows the GraphUtilities package makes a problem for Graph object. I want to use a ...
1
vote
1answer
99 views

Why is a function I defined in a package not visible when I load the package? [duplicate]

I made a package containing some functions in the following way. ...
1
vote
1answer
148 views

Images in package Not visible

I want to make a package where some variables are initialized to images. but when i save the package, all images are in the form of ImageData that are very long. ...
1
vote
0answers
98 views

Differential algebra package in Mathematica

Is there any equivalent of Maple's differential algebra package in Mathematica? In particular, the Rosenfeld-Groebner algorithm has been implemented?
1
vote
0answers
78 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
124 views

Dynamica Package for Mathematica [on hold]

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
43 views

Importing replacement rules from files [closed]

I have some replacement rules written in different files. I am giving an example with two such files. cat input1.m a1 -> b1 cat input2.m a2 -> b2 Now I ...
1
vote
0answers
100 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 $$\{\gamma^...
1
vote
0answers
39 views

Issues with overloading Order [duplicate]

I am pretty new to Mathematica(about 90 minutes) and I have encountered a problem. I have searched the web pretty comprehensively and came up with nothing. For a computing problem that I am solving, ...
1
vote
0answers
72 views

Installing feynarts diag [closed]

I'm trying to install this package: http://www.feynarts.de/diag/, I followed the instruction entering ./configure make make install but when I type ...
1
vote
0answers
58 views

Fail to Create a package [closed]

This is rather basic. In an empty notebook I type in a single cell ...
1
vote
0answers
58 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
52 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
98 views

Calling a custom function in slave kernel process connected through mathlink [closed]

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 "...
1
vote
0answers
63 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
111 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
56 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
83 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
1answer
72 views

Using underscore in directory names and loading packages

Using an underscore with the SetDirectory command works fine. SetDirectory["D:\\at_work\\mathematica\\programming_maeder"] Now I can load a package using Get["...
1
vote
0answers
54 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
114 views

EquationTrekker PropertyValue errors

In Mathematica 10.0.2, the basic example for EquationTrekker in the documentation is: ...
1
vote
0answers
128 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
90 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
31 views

How to pass rules to packages [duplicate]

EDIT: After helpful comment from @Mr.Wizard I added the working implementation below for future reference. I wrote a module that does something with variables provided in form of a rule. It works ...
1
vote
0answers
816 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 Needs["PlotLegends`"],...
1
vote
0answers
147 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
1answer
188 views

Loading Statistics`Library`

I need to use a number of functions from theStatistics`Library` namespace. Since that is a bit of a mouthful I would like to import it, but I get errors: ...
0
votes
1answer
290 views

How can a package use a variable of a notebook?

I have defined a function g in a package. It is: g[x_]:=x/.t->3 Now I work in notebook with the command: ...
0
votes
2answers
2k views

Problem in downloading “ToMatLab” package [duplicate]

Iam trying to download "ToMatLab" Package from http://library.wolfram.com/infocenter/MathSource/577/ but it is showing me an error message by showing a big question mark and "File could not be loaded"...
0
votes
1answer
289 views

updating code from 5.0 to 9.0

I am updating a code from a 5.0 version to a 9.0 version. I am speaking about "Advanced visual quantum mechanics". There is a package with this code: ` ...