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
0
votes
0answers
29 views

How to call LabVIEW's .vi files in Mathematica?

I want to use Mathematica to process the data collected by LabVIEW, is there any way to implement Mathematica's call to LabVIEW's .vi files?
16
votes
3answers
1k views

Does anyone have experience with performing symbolic regression using Mathematica?

I understand that there is at least one Mathematica package, DataModeler commercially available for symbolic regression. I'm seeking any observations with this or any other similar tool. I'm ...
1
vote
1answer
81 views

Can't load Classes package

This is a followup question to packages will not load. I can get SamplePackage to load by doing <<SamplePackage.m or <<SamplePackage' but I cannot get TMPClasses.m package to load, which I ...
3
votes
1answer
86 views

Is it possible to automate definitions given with TagSetDelayed?

I am using the following two lines of code relatively frequently f/:Plus[f[x_], f[y_], z___]:=f[x+y]+z f/:Times[c_, f[x_]]:=f[c x] and I was wondering if it is ...
26
votes
1answer
589 views

What to be aware when using new-style package?

A new package format is described in this post. This format does not use BeginPackage and Begin. Instead, each package file is ...
1
vote
0answers
250 views

Differential Transformation Method

I am using the differential transformation method (DTM) to solve the differential equation. Is there any Mathematica package for differential transformation method?
0
votes
0answers
42 views

Easiest way to export amplitude from FeynArts to FeynCalc

I am having trouble calculating some unpolarized squared amplitudes with FeynArts+FormCalc and want to use FeynCalc to manually handle the amplitudes calculated by FeynArts. What is the easiest way to ...
4
votes
1answer
65 views

How to a package folder

After install some individual packagefile.m, I can use <<packagefile` to call it. However, I just got a folder of package from http://katlas.org/wiki/Setup#...
17
votes
2answers
444 views

How to create search indices for custom documentation pages?

I have a package that uses custom documentation pages that are not generated with Wolfram Workbench. How can I create search indices for these pages? Requirements: Searching should work in ...
1
vote
0answers
14 views

Open Details section in docs made with Workbench

I'm making some package docs with Workbench (10.1.822). The "Details" section is closed by default, which is a shame because I've got some useful info there that would be easy to overlook: ...
0
votes
0answers
28 views

Setting paths of packages once and for all

My question is quite elementary: Each time that I want to load an external package package.m I have to run: ...
4
votes
1answer
177 views

LieArt — 3 different 8 dimensional irreducible representation of $\mathrm{SO}(8)$ and their decompositions

I am using the LieArt which you can download freely online https://arxiv.org/pdf/1206.6379.pdf There are three different 8 dimensional $\mathrm{SO}(8)$ irreducible representations, formally it is ...
0
votes
0answers
42 views

wrong syntax in very short package

Here is a very short package ...
0
votes
0answers
28 views

Load management for a multi-subcontext application

I am developing an application containing a large number of functions divided into several independent subcontexts. Let's say I have a main context Main' (defining a few general symbols to be used in ...
1
vote
0answers
44 views

How to understand BeginPackage and Begin properly?

Using Get to evaluate these three .wl: First: ...
5
votes
2answers
773 views

Saving file as .m causes it to save as comments

I am attempting to create a Package and so am saving a notebook with the code from Mathematica's example ...
1
vote
0answers
35 views

.m files saving with comments [duplicate]

So I have posted a few questions on loading packages, because it is so simple, yet always failing for me. I made a new file Streams.m in the directory ~/Library/Mathematica/Applications/, which is in <...
2
votes
0answers
50 views

When making a package, how can I make a function that is already used by system?

Obviously, Plus[a,b] is given by Mathematica but say I have a package and I want to name a function Plus[a,b]. How can I go ...
2
votes
1answer
534 views

packages will not load [closed]

I have a package at /Users/me/Desktop/Mathematica/MyPackages/SamplePackage.m. It looks like this: ...
6
votes
2answers
167 views

Unimport wolfram language package

In Wolfram Language, Import["file.wl"] can import external wolfram package, Is it reversible? Can I unimport some packages? In other means Unset all the ...
3
votes
0answers
91 views

Using ASCII plots in Terminal in version 12.1

This question was asked before for version 12 but unfortunately the provided patch doesn't work anymore for version 12.1. Using Terminal` (ASCII plots) in Wolfram 12 I was trying to use the Terminal` ...
1
vote
0answers
46 views

Tutorial notebook on GitHub [duplicate]

I am currently writing a Mathematica package containing several functions I developed in the last few years to perform computations in quantum physics. I am planning to put a preliminary version of ...
3
votes
1answer
48 views

Not too obsolete package extending the built-in functionality of Permutation Groups

Is there a modern package geared to permutation groups? With functions, for instance, for group-isomorphism (either w.r.t. permutation representation & w.r.t. group structure), direct, semidirect ...
4
votes
1answer
58 views

Problem linking to tutorial in Workbench / DocumentationTools

I've picked up Workbench / DocumentationTools again to add some new tutorials. Everything was going fine until I tried to use the "Link to Tutorial" button in DocTools. Didn't work, and I got some ...
1
vote
0answers
32 views

Parallelization option gives Import error for Package files

I have an issue when trying to use parallelization when loading a stand-alone Package. To simplify the question I have a few scenarios: The first scenario, with single-kernel evaluation, works fine: ...
2
votes
0answers
20 views

Problems with ImageResize using Mathematica Online (different results than Mathematica desktop .nb)

I originally created a package (.m file) which handled figure formatting. This package was read into my desktop notebook file. In the code block below, I use ImageResize[image,width] to resize an ...
50
votes
1answer
2k views

PacletInfo.m documentation project

Packages can be made into paclets, which provides easy distribution and versioning. The paclet metadata is in the PacletInfo.m file. The PacletInfo settings also ...
6
votes
1answer
132 views

What is the correct to have package A use package B in its private section without making B visible to the user?

V 12.1 on windows. I am loading pkg2, which in its Private section loads pkg1 in order to call one of its function. After ...
6
votes
1answer
199 views

How can I use the legacy version in TreePlot in Mathematica 12.0 and later?

In other places on StackExchange, I read: "In versions 12.0, TreePlot is changed substantially, and the legacy TreePlot is ...
2
votes
0answers
43 views

Can Mathematica autogenerate package files with the extension .wl instead of .m?

I have Mathematica 12.1 running on macOS Catalina. The .m file has forever been a problem on macOS, which assumes that .m belongs to Objective C. I always autogenerate package files from notebooks, ...
7
votes
1answer
203 views

Documentation for undocumented packages

Ignoring the self-contradiction in the title, is there documentation for packages such as Algebra, which probably contains lots of useful functions? (The only one ...
1
vote
1answer
452 views

Problem while installing a custom package (RGTC)

I am using "11.2.0 for Mac OS X x86 (64-bit) (September 11, 2017)" and I am trying to install the RGTC package, which can be found here. Download the package Then following the answer given by ...
7
votes
1answer
187 views

AutomaticUnits package in Mma 11

I have really come to like this package, and, no, the built-in units handling in newer versions of Mma isn't a match for it by a long, long stretch. With some minor editing following the author's ...
1
vote
0answers
38 views

going from notebook to package

I am developing a project where I have a lot of functions and complex tasks rannanble from a single notebook. I would like to use a version control like git, but using it with a single notebook is not ...
4
votes
1answer
233 views

TuGames package does not run

I downloaded the package TuGames from http://library.wolfram.com/infocenter/MathSource/5709/ to calculate Shapley Values in cooperative bargaining games. I got it to work earlier today but after ...
10
votes
0answers
132 views

How to interact with Amazon S3 using Mathematica?

Unfortunately Mathematica 12.1 does not have a native way of handling S3 files, the S3 functions were removed from the experimental AWSLink package. Someone know where can I download it, or some ...
9
votes
1answer
157 views

Why are some functions available without having to load their parent package?

Functions such as GraphDistanceMatrix[] or AdjacencyMatrix[] are available without invoking ...
1
vote
1answer
138 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 ...
2
votes
0answers
38 views

OscillatorStrength[Helium] and OscillatorStrength[Rubidium] do not return results

I am new to working with the Resonance Absorption Lines Pacgage << ResonanceAbsorptionLines` and trying to write code using the OscillatorStrength command. ...
8
votes
1answer
76 views

obtain properly formatted code from autogenerated package

Overview: I have written a few mathematica packages, always using the method of writing my code in a mathematica notebook and letting mathematica autogenerate the .m package file. Currently I do not ...
3
votes
0answers
24 views

Details about using packages with Wolfram Player

Is there a definitive document that describes the differences between what's allowed in Mathematica and Wolfram Player? I'm seeing differences in behavior between references to variables in packages (...
2
votes
1answer
45 views

Storing and Loading Data for a Package

I'm updating my package for Dirichlet Characters (https://github.com/truculentmath/DirichletCharacters) to include precomputed zeros of the associated $L$-series. That's about 15 meg of data, ...
0
votes
0answers
8 views

Help to find some packages [duplicate]

Can anybody help me to find the following packages: ErrorBarPlots Histograms PlotLegends Thanks in advance.
1
vote
0answers
171 views

Multifractal Package - Description of Multifractals

I am trying to run this Multifractal package given in the classical book of Baumann — Mathematica for Theoretical Physics II. The problem is that the code does not work, that is I have no plots. In my ...
0
votes
0answers
99 views

Finding Some Mathematica Packages for Version 6

For some reasons, I have to use Mathematica 6 version and I need the following packages: ErrorBarPlots` Histograms` PlotLegends` Can anybody help me to find these packages? It is really important ...
2
votes
0answers
57 views

How can I install SNEG Library package on Windows?

I want to save my time doing second quantization calculation, so I tried to install SNEG package. (http://nrgljubljana.ijs.si/sneg/) But in the website I only founnd ways to install the package on ...
1
vote
0answers
68 views

How to reproduce `JacobianMatrix` function

I want to use the JacobianMatrix function in package VectorAnalysis, but I get the following warning message after running the ...
1
vote
0answers
32 views

Can one use .wls (script) files in a simple way, like Matlab scripts?

I have been fighting unsucessfully with the intricacies of creating Mathematica packages (Private, scopes , context) for a long time. I just need a simple version of Matlab scripts, to be able to ...
5
votes
1answer
216 views

How to run a Mathematica package (.m) from Python using the “Wolfram Client Library for Python”?

This question is about calling a Mathematica Package (.m file) from Python employing the "Wolfram Client Library for Python" (https://github.com/WolframResearch/WolframClientForPython). For ...
28
votes
1answer
2k views

How can I install packages distributed as .paclet files?

I downloaded a Mathematica package. It came as a file with the .paclet extension. How can I install or uninstall it?

1
2 3 4 5
15