|
SOLUTIONS
|
MATHEMATICA 内置符号
PropertyValue
PropertyValue[{obj, item}, name]
给出 obj 中 item 的与 name 相关联的属性值.
更多信息更多信息
- 属性用于存储和操作在诸如 Graph 的对象中特定已命名项目的
对. - 无论何时,当对于 name 没有可用的属性值时,PropertyValue[{obj, item}, name] 返回 $Failed.
- PropertyValue[{obj, item}, name]=val 可用于修改属性值.
- Graph 对象可用的项目包括顶点和边.
版本 8 的新功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »



