I'm a physics student and I try to simplify my day with Mathematica. Every time I use Mathematica I need Div[]
, Grad[]
, Curl[]
, etc., so I use Needs["VectorAnalysis`"]
.
My question is: Is there any way to tell Mathematica that the package VectorAnalysis`
should always be loaded? It would simplify my day enormously.
By the way, I tried
DeclarePackage["VectorAnalysis`", {"Div", "Grad", "Curl"}]
from the Mathematica tutorial on Automatic Loading of Packages, which says:
When you first use Grad, Mathematica automatically loads the package that defines it.
Unfortunately, nothing happens. The functions are still unknown, until I use Needs["VectorAnalysis`"]
What am I doing wrong, and how do I fix my problem?
init.m
in the docs. $\endgroup$