Mathematica 9 is now available

Needs

Usage

Needs["context`"]当指定的上下文已经不在$Packages中时,装载一个适当文件.
Needs["context`", "file"]当指定的上下文已经不在$Packages时,装载 file


Notes

Needs["context`"] 调用Get["context`"]. 习惯上,以这种方式装载的文件包含定义 context` 的程序包.
• 例如: Needs["Collatz`"] 典型地读入名为 Collatz.m 的文件.
• 参见 Mathematica 全书: 2.6.10.
• 同时参见: Get, DeclarePackage, FileNames.
• 相关包: Utilities`Package`.
Further Examples

This loads the package PlotField if it has not already been loaded.

In[1]:=  

Now these package functions are available.

In[2]:=  

Out[2]=



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.