Composite data type
In computer science, a composite data type or compound data type is a data type that consists of programming language scalar data types and other composite types that may be heterogeneous and hierarchical in nature. It is sometimes called a structure or by a language-specific keyword used to define one such as struct. It falls into the aggregate type classification which includes homogenous collections such as the array and list.[1]
See also
- Object composition – Method in computer programming of forming higher-level object types
- Record (computer science) – Composite data type
- Scalar (mathematics) – Elements of a field, e.g. real numbers, in the context of linear algebra
- Struct (C programming language) – C keyword for defining a structured data type
References
- ^ Howe, Denis. "The Free On-line Dictionary of Computing". foldoc.org. Retrieved 6 February 2023.
- v
- t
- e
Data types
- Bit
- Byte
- Trit
- Tryte
- Word
- Bit array
- Arbitrary-precision or bignum
- Complex
- Decimal
- Fixed point
- Floating point
- Reduced precision
- Minifloat
- Half precision
- bfloat16
- Single precision
- Double precision
- Quadruple precision
- Octuple precision
- Extended precision
- Reduced precision
- Integer
- Interval
- Rational
- Character
- String
- Algebraic data type
- Array
- Associative array
- Class
- Dependent
- Equality
- Inductive
- Intersection
- List
- Object
- Option type
- Product
- Record or Struct
- Refinement
- Set
- Union
- Boolean
- Bottom type
- Collection
- Enumerated type
- Exception
- Function type
- Opaque data type
- Recursive data type
- Semaphore
- Stream
- Strongly typed identifier
- Top type
- Type class
- Empty type
- Unit type
- Void
topics
- Abstract data type
- Boxing
- Data structure
- Generic
- Kind
- Parametric polymorphism
- Primitive data type
- Interface
- Subtyping
- Type constructor
- Type conversion
- Type system
- Type theory
- Variable