Domain
A domain is a set of possible or permitted values associated with a variable, function, or other mathematical object.
Geometry for Programmers
The domain of a function is the set of input values for which the function is defined.
- How it is used
- Classifies geometric functions by the spaces from which they accept inputs and to which they send outputs.
- How deep it goes
- Defines domains through sine and develops whole-space, vector-field, and parametric-surface uses without formal relation theory.
- Examples
- Uses sine over ℝ, translation of a square, vector and scalar fields, and surfaces parameterized by (u, v).
- What you can do after
- Evaluate/understand which inputs a geometric rule covers and distinguish whole-space transformations from parameterized surfaces.
Classic Computer Science Problems in Swift: Essential techniques for practicing programmers
In a constraint-satisfaction problem, a domain is the set of possible values that may be assigned to a variable.
- How it is used
- Models the possible assignments available to each variable while constraints determine which combinations remain valid.
- How deep it goes
- Defines domains and stores them in Swift dictionaries, then uses them during recursive value-by-value backtracking.
- Examples
- Uses meeting hours, map colors, and word-search grid locations as domain values.
- What you can do after
- Build a CSP by assigning each variable an explicit collection of candidate values for backtracking search.
Also covered in
- Effective Platform Engineering
- Data-Oriented Programming in JavaIn early access (MEAP)
- Functional Programming in C#, Second Edition
Related concepts
- constraint-satisfaction problempart of · A constraint-satisfaction problem is a problem defined by variables, domains of possible values, and constraints, with the goal of finding an assignment that satisfies the constraints.
- functionpart of · A function is a callable unit of program code that performs a computation or operation, can accept inputs, and may produce a result or side effect.
- setkind of · A set is a collection of distinct elements in which membership, rather than order or duplicate occurrences, defines the collection.
- mathematical functionconfigures · A mathematical function is a mapping that assigns exactly one output to each permitted input in its domain.
Questions about domain
What is domain?
A domain is a set of possible or permitted values associated with a variable, function, or other mathematical object.
Which Manning books explain domain?
Geometry for Programmers and Classic Computer Science Problems in Swift: Essential techniques for practicing programmers.
What kinds of domain are there?
Kinds of domain include finite domain.
What is domain a kind of?
Domain is a kind of set. A set is a collection of distinct elements in which membership, rather than order or duplicate occurrences, defines the collection.
What is domain part of?
Domain is part of constraint-satisfaction problem. A constraint-satisfaction problem is a problem defined by variables, domains of possible values, and constraints, with the goal of finding an assignment that satisfies the constraints.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

