Questions tagged [packages]

Questions on Mathematica packages, which are self-contained bundles of Mathematica code that add new functions and other functionality.

Filter by
Sorted by
Tagged with
1 vote
0 answers
49 views

Pattern matching and polluting the namespace

I am building a library. Inside of BeginPackage environment there is a function ...
user avatar
  • 74
1 vote
1 answer
61 views

Private`x from a package function used outside

I'm fairly new to the Wolfram Language and I'm having a problem with how packages work. I have some function that are inside a package, the goal of those function is to create random polynomial ...
user avatar
  • 69
1 vote
1 answer
47 views

Tensorial Package Installation

I tried to install the Tensorial5 package according to its developers' instructions, however, I was unable to call the package using Needs. Does anyone have any ...
user avatar
0 votes
1 answer
60 views

How to define prefix that can turn numeric?

I put these prefix in my init.m file. First I Unprotect all these symbols, set values and then ...
user avatar
  • 1,656
1 vote
1 answer
38 views

Nesting One Package in Another (Cournot Duopoly with neural network package)

I am writing a 2-firm (Cournot Duopoly) game, where both players learn to optimise their long-term rewards by a neural network (the input is the price the firm sets, the output is the estimated reward)...
user avatar
1 vote
0 answers
87 views

Why is WolframScript necessary?

Hi I have erased (for lack of space) WolframScript (without being sure of why it is needed), and now I get lots of error warnings like Set::wrsym: Symbol m is Protected. Is there a way to supress for ...
user avatar
  • 896
0 votes
0 answers
59 views

Codes that can solve $f'[a x]$

The usual Dsolve and NDSolve command are unable to sovle ODEs like ...
user avatar
0 votes
0 answers
61 views

Package Functions Not Evaluated

Edit: To address the issue raised by MarcoB, I did the following: Added a new global variable gblCopperCoin to the dispatchtables.mx file Created a very simple new package function ...
user avatar
1 vote
1 answer
109 views

Does the ccgrg package still work on mathematica 12?

I have a number of notebooks written for whatever the current version was of Mathematica in 2019 (not 1919 as I had earlier) and using the ccgrg package for general ...
user avatar
0 votes
0 answers
106 views

Loading a missing package in studymaterial

A notebook needs a package : Needs["Algebra`ReIm`"] Got it retrieved the package : Algebra`ReIm` Legacy Standard Add-...
user avatar
  • 649
0 votes
1 answer
101 views

Using mathematica.m files in Ubuntu 20.04

I am not 100% certain that I should ask this question, but I am hoping that some of you had similar issues with the combination Mathematica + ...
user avatar
  • 4,113
0 votes
0 answers
33 views

CustomTicks in Mathematica 13 [duplicate]

The package CustomTicks does not necessitate any particular installation; one just loads the relevant .m file (can be downloaded from the link above) and just runs the corresponding commands to ...
user avatar
  • 743
2 votes
0 answers
102 views

Install documentation to a package in Mathematica 13

I am trying to use the sneg package in Mathematica 13. It seems to work (tested some examples), but the documentation is inaccessible. I installed the package to ...
user avatar
  • 211
1 vote
2 answers
132 views

Using the obsolete structural mechanics package

I wanted to use the obsolete structural mechanics package which its documentation still exists here but I could not load it from the default packages of Mathematica nor do I found the installation ...
user avatar
  • 340
2 votes
0 answers
31 views

Problems with PublicPacletInstall

I tried to install the following package: << https://paclets.github.io/PacletServer/Install.wl PublicPacletInstall["EasyIDE"] The output: ...
user avatar
3 votes
0 answers
52 views

Is there an extensive guide on using the Notation Package?

I've always wondered if there is any relatively comprehensive guide to using the Notation Package. Can anyone give any recommendation on this? I thank you in ...
user avatar
0 votes
0 answers
132 views

Remove or Uninstall a package

strangely enough, I cannot find on the internet (nor the documentation of Mathematica) the proper information on how to remove an installed package. I installed GTPack, an amazing tool for doing group ...
user avatar
  • 184
1 vote
0 answers
101 views

I want MathLie setup for mathematica [duplicate]

I tried to find Math lie in Mathematica but I didn't find setup. Can anyone share Math lie setup for Mathematica?
user avatar
5 votes
1 answer
101 views

Adding logging functionallity in package

I build a package with code to solve specific equations. The code has become quite complex and so to convince myself (and others) that it works correctly I would like to add some code to write ...
user avatar
  • 928
4 votes
0 answers
135 views

Browne & Park Grassman Algebra package?

This year's Wolfram Innovator awards honored David Park Jr. and mentioned work on a Grassman Algebra & calculus package. This led me to find the Grassman Algebra book by John Browne https://...
user avatar
  • 710
1 vote
0 answers
78 views

How to solve ODEs using deep learning in Mathematica [closed]

I have a number of ODEs (58) with 16 parameters and 9 variables. I want to solve the ODEs to obtain the analytical relationship between the parameters and variables. It is obviously that the ODEs ...
user avatar
20 votes
1 answer
380 views

How to Develop Paclets in Workbench Considering the Recent Changes in PacletInfo.wl Format and Supporting Functions?

WRI Technical Support [CASE:4868964] Preamble So far I am using Wolfram Workbench (i.e., a plugin to the Eclipse IDE) to develop packages collecting often used Wolfram Language functionality. For ...
user avatar
  • 12.3k
4 votes
1 answer
78 views

How to add new coordinate chart?

I want to add my own coordinate system to existing CoordinateChartData[All], which would mimic the standard functionality as much as possible. As a simple work ...
user avatar
  • 2,847
9 votes
0 answers
118 views

Does Workbench support "new" package format?

The format described here and here seems to be a big step forward from BeginPackage/EndPackage structure and is apparently ...
user avatar
5 votes
2 answers
174 views

Is there a Mathematica resource to work with Geometric Algebra?

I've not been able to find a package which will deal with Geometric Algebra. Perhaps somebody can help?
user avatar
3 votes
1 answer
37 views

Position doesn't work for custom symbol within package

In a notebook, I can easily search an expression for a custom symbol. In[237]:= Position[{mySym, 1, 2}, mySym] Out[237]= {{1}} However, if I write a function and ...
user avatar
2 votes
1 answer
88 views

Can I tell whether a symbol is build-in (part of the System` library)?

I'd like a function that checks whether a symbol is a predefined part of the language or not. More generally, it might check whether it's part of a given package. ...
user avatar
2 votes
0 answers
63 views

How to check Rubi version number in use? [closed]

On my Mathematica 11.2 Windows system I have Rubi version 4.15 installed manually and version 4.16 installed with the paclet installation procedure. So these two versions reside in totally different ...
user avatar
0 votes
0 answers
79 views

Incorrect precedence when saving notebook as Wolfram language package

I want to save a notebook as a Wolfram language package. When I use the menu command File>Save As and choose ".wl" then the resulting package contains ...
user avatar
  • 7,666
0 votes
1 answer
83 views

Trouble installing NCAlgebra package

I am interested in doing some quantum operator calculations - and tried using a quantum mathematica package as outlined in this question. One suggestion in the comments was that I could try using the ...
user avatar
1 vote
1 answer
215 views

Simplifying quantum operators (ladder operators with multiple modes)

Similar to this question, I am interested in working with an implementation of quantum ladder operators. I've been trying to use this "Quantum Mathematica Package" to solve some lengthy ...
user avatar
1 vote
0 answers
30 views

Is ChiSquarePValue from Hypothesis testing package incorrect? [closed]

Needs["HypothesisTesting`"]; ChiSquarePValue[2/10, 1] gives OneSidedPValue -> 0.345279 whereas ...
user avatar
1 vote
0 answers
59 views

Perturbation of Einstein tensor around a fixed background in Xact [duplicate]

I want to compute Ricci tensor expansion around a fixed curved background. It is easy to find the formal expansion around the background metric, but I have a reference metric with known components and ...
user avatar
  • 149
1 vote
0 answers
50 views

Is it possible to enhance the CoordinatesTool by manipulating its associated package?

Mathematica has a Coordinates Tool which is part of tools&actions which show up if one clicks on a Graphics or a picture. Coordinates Tool lets you digitize pixels from a graphics or picture in a ...
user avatar
0 votes
1 answer
63 views

Retain rotate, zoom and pan in Plot3D generated inside a Palette

Consider the following .wl package: ...
user avatar
  • 205
1 vote
0 answers
51 views

How to avoid repeated nested loading of packages? [closed]

Suppose my main program depends on functions provided by package A and B, while package B also loads package A "privately". Now package A can be accessed from the main program via the ...
user avatar
  • 489
1 vote
0 answers
63 views

How to run a Mathematica package (.m) (which depends on Notation` package) via Python using "Wolfram Client Library for Python"?

In How to run a Mathematica package (.m) from Python using the “Wolfram Client Library for Python”?, I was able to get the basicPackage` example to work, but ran ...
user avatar
  • 493
0 votes
0 answers
40 views

Package file (.wl) automatically changing symbols when opened

If I open a .wl file and enter the symbol for the imaginary unit, or the double brackets you get when you surround [[ with esc, when I close and open the file I ...
user avatar
  • 1,055
1 vote
0 answers
47 views

Automatically export .nb to a package upon saving while preserving section headings

Is it possible to automatically export a .m package when I save my .nb as can be done using the option ...
user avatar
  • 3,543
3 votes
0 answers
31 views

Missing Hover and Autocomplete INFO Buttons for Custom Paclet

I've built my own paclet application with documentation using Workbench 3 (Eclipse add-in 10.1.822) with MM 12.1 (there are currently issues with 12.2-3 and the only Workbench add-in update, which I'm ...
user avatar
10 votes
1 answer
334 views

How to download "ResourceFunction" packages onto a notebook, so I can place it in a USB and access it on a different computer

So I want to use "ResourceFunction" commands, but that requires internet, as it needs to retrieve it from the wolfram cloud. However, I want to access a number of them (such as, ...
user avatar
  • 137
2 votes
1 answer
60 views

shadowing problem with options of a package

So here is my problem. I am writing a software with mathematica, that uses an external package as a resource. They are some libraries for numerical integration, the CUBA libraries. http://www.feynarts....
user avatar
4 votes
0 answers
90 views

best way to turn large amount of mathematica code into a package?

I have a code that is made up of 30+ .m files. of this, about 20 are just files with generic definitions, and 10 are files with a set of routines that define a set of calculations to be made in series....
user avatar
6 votes
1 answer
134 views

mathematica package new style: a few beginner questions

I have got a code made of several .m files, and I would like to turn it into a package. I have a few beginner questions Can I force the loading order of the files by adding all of them in the ...
user avatar
4 votes
1 answer
154 views

CharacterTable for symmetric groups $S_n$ with large $n$

I am looking for a package to generate character tables for symmetric groups $S_n$. At this moment I am using ...
user avatar
  • 361
0 votes
0 answers
85 views

Looking for Dynamica Package

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. I ...
user avatar
  • 1
0 votes
1 answer
129 views

How do I install the " FourierSeries` " package?

Can anyone tell me where are the packages for Wolfram Mathematica 11.2 ? How do I load them?
user avatar
  • 39
2 votes
0 answers
187 views

BVPH Package 2.0

Hopefully you guys can help with this issue. I am currently using Mathematica package BVPH2.0 to solve hybrid nanofluid in boundary layer flow problem using homotopy analysis method. But I seem to ...
user avatar
  • 21
2 votes
0 answers
45 views

Exporting packages containing "Python Code" cells

I created a notebook with Python code cells (evaluated using External Evaluate) as can be created by typing > at the beginning of a cell. (And choosing Python ...
user avatar
  • 3,543
2 votes
0 answers
58 views

How to install AskConstants

In one of the posts at mathematica.stackexchange I came across the AskConstants package. I am quite interested to try it, but after the downloading I realized that the package is huge: ~2GB in ...
user avatar
  • 15.7k

1
2 3 4 5
16