Linked Questions

14 votes
3 answers
473 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 ...
Joel Klein's user avatar
  • 5,225
14 votes
2 answers
278 views

Why the Block command does not forget the $ContextPath variable

I do not understand this behavior: ...
zorank's user avatar
  • 829
7 votes
2 answers
1k views

Partition a set into $k$ non-empty subsets

The Stirling number of the second kind is the number of ways to partition a set of $n$ objects into $k$ non-empty subsets. In Mathematica, this is implemented as ...
Juho's user avatar
  • 1,855
4 votes
2 answers
257 views

Coupled differential equations from Lagrangian — singularity being reached very quickly

I was wondering if there was a way to help the solutions to these differential equations not hit a singularity as quickly as they currently do. The equations are very complex (derived from a ...
tomdodd4598's user avatar
17 votes
2 answers
581 views

When to use built-in Graph/GraphPlot vs. Combinatorica

What are the pros and cons of using built-in Graph/GraphPlot (and related) types vs. types in the Combinatorica package?
EmpireJones's user avatar
12 votes
1 answer
560 views

Importing parts of Packages

Some programming languages offer the possibility of importing a single function from a library, as in from x import y I'm looking to import only one function (<...
CHM's user avatar
  • 3,415
8 votes
2 answers
418 views

Is there something wrong with VertexConnectivity

Note: this is fixed in version 10. As I noticed in the documentation VertexConnectivity is defined as the following The vertex connectivity of a graph $g$ is ...
PlatoManiac's user avatar
  • 14.8k
6 votes
1 answer
620 views

Minimal Colouring of Graph Vertices

Is there a way to colour graph vertices minimally in new Mathematica? I tried loading MinimalVertexColoring with the old Combinatorica package but it doesn't work ...
A. Napster's user avatar
5 votes
1 answer
2k 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 ...
Ker's user avatar
  • 115
4 votes
1 answer
3k 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 ...
HyperGroups's user avatar
  • 8,619
0 votes
1 answer
107 views

combining NeighborhoodGraph and RandomGraph

I have Combinatorica` and GraphUtilities` loaded in version 9 of Mathematica. If I then set: ...
clive elphick's user avatar
3 votes
1 answer
101 views

MinimumVertexColoring does not work

g=RandomGraph[{5,6}] MinimumVertexColoring[g] I am using MacOS and Wolfram Mathematica 10.4
bios's user avatar
  • 401
2 votes
1 answer
87 views

Loading MultivariateStatistics` changes colour of some multivariate distributions to red in notebook. Should I be worried?

I need to use the pdf of a Wishart distribution which is only defined in the package MultivariateStatistics`. However, after loading the package, some or all of the ...
An old man in the sea.'s user avatar
0 votes
1 answer
61 views

PermutationReplace does not seem to work when Combinatorica is open. Is there a function that is equivalent.?

I want a permutation to act on a set. For example: I want the permutation {2,1,3,5,4} to act on the set {2,3,4} by returning {1,3,5}. I need to do this in the same code that has functions that need ...
Geoffrey Critzer's user avatar
2 votes
0 answers
108 views

A question regarding shadowed symbols

The more I study, the less I understand. This is the HelloWorld package: ...
mitochondrial's user avatar