Topic: co-sequence operations

topics > computer science > data > Group: sequence operations

multiple for loop
parallel control statements
vector processing


Sequences can be combined by pair-wise elements. This allows operating on entire sequences at a time. A twist is co-apply in which one sequence contains functions for elements. Then co-sequence is pair-wise application of each function to its corresponding element. Pairwise vector and matrix operations are a form of co-sequencing. (cbb 5/80)
Subtopic: co-apply up

Quote: convert matrix addition into a loop over pair-wise additions [»gallBA4_1967, OK]
Quote: the coapply operator relates a sequence of arguments with a sequence of functions [»wileDS11_1973]
Quote: use element-at-a-time processing for coapply operations since termination may be unknown [»wileDS11_1973, OK]
Quote: co-sequencing allows for infinite computational objects since only processing one element at a time [»wileDS11_1973, OK]
Quote: apply a xector of functions to all tuples with common xector indices; e.g., (.alpha.+ '{a->1 b->2} '{b-3 c->2}) => {b->5} [»hillWD_1985]
Quote: the generalized .beta. creates a xector from a value xector, an index xector, and a combining function for duplicates; gives example [»hillWD_1985]

Subtopic: array operator up

Quote: AQuery variables and operators refer to arrays (a column); e.g., price - prev(price) is daily-change-in-price [»lernA9_2003]

Subtopic: distribution up

QuoteRef: kayAC6_1968 ;;28 (a,b) * (c,d,e) = (z*c, b*d, e) while a*(b,c,d) as usual

Related Topics up

Topic: multiple for loop (2 items)
Topic: parallel control statements (12 items)
Topic: vector processing
(15 items)

Updated barberCB 4/04
Copyright © 2002-2008 by C. Bradford Barber. All rights reserved.
Thesa is a trademark of C. Bradford Barber.