encyclopegia.org

Segmented scan

In computer science, a segmented scan is a modification of the prefix sum with an equal-sized array of flag bits to denote segment boundaries on which the scan should be performed.[src]

In computer science, a segmented scan is a modification of the prefix sum with an equal-sized array of flag bits to denote segment boundaries on which the scan should be performed.[src] ==Example== In the following, the '1' flag bits indicate the beginning of each segment.[src] \begin{array} 1 & 2 & 3 & 4 & 5& 6 &\text{input}\\ \hline 1 & 0 & 0 & 1 & 0 & 1 &\text{flag bits}\\ \hline 1 & 3 & 6 & 4& 9 & 6 &\text{segmented scan +}\\ \end{array} Group1 1 = 1 3 = 1 + 2 6 = 1 + 2 + 3 Group2 4 = 4 9 = 4 + 5 Group3 6 = 6 An alternative method used by High Performance Fortran is to begin a new segment at every transition of flag value.[src] An advantage of this representation is that it is useful with both prefix and suffix (backwards) scans without changing its interpretation.[src] In HPF, Fortran logical data type is used to represent segments.[src] So the equivalent flag array for the above example would be as follows: \begin{array} 1 & 2 & 3 & 4 & 5& 6 &\text{input}\\ \hline T & T & T & F & F & T &\text{flag values}\\ \hline 1 & 3 & 6 & 4& 9 & 6 &\text{segmented scan +}\\ \end{array} ==References==[src]

7 sentences · 7 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Segmented scan." encyclopegia.org, 2024, https://encyclopegia.org/wiki/segmented-scan. Accessed 25 November 2026.

Chicago

"Segmented scan." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/segmented-scan.

APA

encyclopegia.org. (2024). Segmented scan. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/segmented-scan

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Scan chain

stub · references available

Scan

stub · references available

octreotide scan

stub · references available

Track while scan

stub · references available

raster scan

stub · references available

Segmented filamentous bacteria

stub · references available

scan line

stub · references available

Simple Scan

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1205467640 · 0.5 · snapshot enwiki-001205467640

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.