8.7 Internal Representation of Records
Record expressions are translated to tuple expressions during compilation. A record defined as
-record(Name, {Field1,...,FieldN}).
is internally represented by the tuple
{Name,Value1,...,ValueN}
where each ValueI is the default value for FieldI.
To each module using records, a pseudo function is added during compilation to obtain information about records:
record_info(fields, Record) -> [Field]
record_info(size, Record) -> Size
Size is the size of the tuple representation, that is one more than the number of fields.
分享到:
相关推荐
《深入理解FindBugs:可能通过返回暴露内部表示——“NULL”问题分析》 在软件开发过程中,确保代码的质量和安全至关重要。FindBugs作为一款静态代码分析工具,能够帮助开发者在程序运行前发现潜在的问题。...
Ch4 Internal Representation of Files高级操作系统课件PPT(UNIX).ppt
在COBOL编程语言中,理解数据的内部表示对于有效地处理和操作数据至关重要。这份文档由K.V.R.S.Sarma (E&R)制作,旨在解释IBM主机上COBOL数据类型的内部表示方式,并涉及到二进制数据表示和二进制算术的基础知识。...
- **May expose internal representation by incorporating reference to mutable object**:调用set方法,修改对象属性,被修改的对象属性是一个可变的对象。 - **描述**:这通常意味着通过公共接口暴露了内部状态...
This book provides a definition and study of a knowledge representation and reasoning formalism stemming from conceptual graphs, while focusing on the computational properties of this formalism....
在本文中,美国德克萨斯大学达拉斯分校的Philipos C. Loizou教授团队,通过研究滤波器间距和正确的频率图(tonotopic)表示对旋律识别的影响,探讨了对人工耳蜗植入技术的含义。研究的主要内容包括人工耳蜗植入者在...
1999(CCA起源文章2)-A Geometrical Representation of M1
This Will Allow You To See A Visual Representation Of The Latency of Your Local Machines IP. A.k.a Lag Meter
Representation Theory of Finite Groups
Group Representation of Global Intrinsic Symmetries
"学习内部表示通过错误传播" 深度学习领域中,学习内部表示是指神经网络在处理任务时,自动学习和表示高维数据的能力。该领域的研究始于20世纪80年代,随着计算机视觉和自然语言处理技术的发展,学习内部表示变得...
Robust Recovery of Subspace Structures by Low-Rank Representation 本文讨论子空间聚类问题,提出了一种新的方法,称为低秩表示(LRR),用于恢复子空间结构。低秩表示可以在样本中找寻低秩表示,把样本表示为...
在论文《On the Representation and Estimation of Spatial Uncertainty》中,Smith和Cheeseman提出了一种用于估计物体相对位置坐标框架间名义关系和预期误差(协方差)的通用方法。这种方法允许通过一系列空间关系...
### XML Schema Representation of DICOM Structured Reporting #### 概述 **数字成像与医学通信系统(Digital Imaging and Communications in Medicine, DICOM)结构化报告(Structured Reporting, SR)标准**...
We present a new compact but dense representation of scene geometry which is conditioned on the intensity data from a single image and generated from a code consisting of a small number of parameters....
CMMI Staged Representation <br>There are multiple CMMI models available, as generated from the CMMI Framework See Chapter 3 for an explanation of how "CMMI Framework" is used in the CMMI Product ...
### 新复平面表示法下极化性质的研究 #### 摘要 本文主要探讨了复平面上极化状态表示的新属性。这些属性包括任意极化态的分解为两个正交状态,以及定义了用于衡量两个复平面上表示的极化状态之间接近程度的近似...