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)

3
votes
0answers
167 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 ...
3
votes
0answers
83 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
82 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
2answers
364 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 ...
2
votes
2answers
151 views

How to unprotect GeneratingFunction

I'm trying to add custom downvalues for GeneratingFunction, and to do so I thought I just had to Unprotect it. However, that ...
2
votes
1answer
184 views

Errors when using ParallelTable inside a package

I'm developing a package that contains a function that requires evaluation of an expensive Table, so I use ParallelTable ...
2
votes
1answer
618 views

Installing Mathematica's package in Linux

I copied the package folder (ProPac, http://www.pages.drexel.edu/~hgk22/software/ProPac/ProPac.html) in $UserBaseDirectory/Applications in Linux mint. But when I ...
2
votes
1answer
83 views

What replaced ListWaveform?

My old Mathematica code used ListWaveform to produce a sound file from a table of amplitudes and frequencies; this seems to no longer exist. What replaced it?
2
votes
1answer
42 views

Removing commands used before loading package

Original Question: I used the convert command before loading the Units package. Although the convert command still works, Convert, Mile, and Feet are colored in red. What is the best way at this ...
2
votes
1answer
168 views

How to find full names of all packages already on the $Path?

I'll show one specific example of what I am trying to do, I think it will explain things. On the default $Path there exist (in version 8) the following 4 packages ...
2
votes
1answer
48 views

Mathematica 8: EdgeList and CommunityStructureAssignment shadowing problem

I'm facing some issues when trying to use the CommunityStructureAssignment function from the GraphUtilities package in Mathematica 8. I'd like to output a ...
2
votes
1answer
92 views

Debugging the context of a Package

I am working on a package of functions that complement the NeuralNetworks` package that Wolfram provides. I am having a problem with the following code, which is ...
2
votes
2answers
103 views

What is the best way for an application to provide customisation options for the user?

Suppose that an application needs to be configured specifically for a user's system. e.g. the application needs to be told the location of certain data directories. What is the best way to provide ...
2
votes
1answer
30 views

Factoring an ideal in a number field into prime ideals

I'd like to factor an ideal in a number field into prime ideals, exactly as in this example from the Sage documentation: ...
2
votes
1answer
69 views

How to overwrite a private symbol value temporarily?

I have a package file mypackage.m with BeginPackage["Foo`Bar`"] Begin["`Private`"] tmp=2; foo=2*tmp; myprogram[foo] ... End[] EndPackage[] The file is VCS ...
2
votes
1answer
99 views

How to update package?

when I use `<< PhysicalConstants`` I get the message like :General::obspkg: PhysicalConstants is outdated... see the Compatibility Guide for more infomation... The question is how to update it? ...
2
votes
1answer
79 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, ...
2
votes
0answers
85 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
49 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
113 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
85 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
1answer
108 views

How to load a custom mathematica package from a .m file?

I would like to load the package groebner50.m which is available through the website of David A. Cox. It's supposed to contain some useful tools for commutative algebra, but I haven't been able to get ...
1
vote
1answer
93 views

How to input pure function to package?

I would like to input a pure function into a custom written package, but am running into a variety of errors. The package I have created is as follows: ...
1
vote
1answer
250 views

Feynrules -> FeynArts issue

When I try to use model files generated by FeynRules in FeynArts, I always get errors of this form Coupling definition in ...
1
vote
1answer
185 views

How do I insert a piece of code in Mathematica?

In Fortran, I can use include "file" to insert a piece of code. Is there a similar method in Mathematica?
1
vote
1answer
76 views

Symbol resolution for contexts inside packages

Say I create $UserBaseDirectory/Autoload/MyPackage/init.m containing: ...
1
vote
1answer
198 views

Recovering vertex names from Combinatorica Graph

According to WRI tech support: Combinatorica functionality is not technically deprecated, though it is our hope that future versions of Mathematica will subsume it entirely by incorporating its ...
1
vote
1answer
111 views

Caching data in Mathematica package

Consider the following: m=Quantity[1,"meter"] If I run the package, it will return 1m But when I load the package, the ...
1
vote
2answers
134 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
329 views

Complex Region using Presentations Package

Just purchased the Presentations package. First sketched this region: ...
1
vote
1answer
229 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
14 views

Package function not evaluating

I have a short package like this: ...
1
vote
1answer
180 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
92 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
73 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
0answers
36 views

How to package a function for export?

I often post code for functions on Stack-Exchange, and then later find that they are unexecutable - that people can't use them because I mistakenly omitted some private functions or values that are ...
1
vote
0answers
46 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
46 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
42 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
50 views

Best practice to group and have your favorite custom functions available at startup [closed]

The mathematica stackexchange site is a treasure trove of great functions that the user community has shared to make the use of mathematica easier. Many of those functions are very useful for daily ...
1
vote
0answers
57 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
118 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 ...
1
vote
0answers
187 views

Package autoloading not working in CDF and Player Pro

I have made a package BeginPackage["top`"] t[x_]:=MessageDialog["This is top"] t1[x_]:=MessageDialog["This is top1"] EndPackage[] and used the code of this ...
0
votes
3answers
903 views

Examples of (well coded) packages using custom notation

Which packages do you know of, that have the following properties: using custom notation (for input AND output would be preferable) well coded & designed (from your subjective perspective!)
0
votes
2answers
197 views

Can't find where to download VEST package for Mathematica

In the Internet I have found the article about the VEST package for abstract vector calculus simplification in Mathematica. http://arxiv.org/abs/1309.2561 However, I can not find any reference for ...
0
votes
2answers
266 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 ...
0
votes
1answer
82 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
112 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
1answer
231 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: ` ...
0
votes
2answers
157 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 ...