Skip to content

MergeModule

Overview

Merges two sorted arrays into a single sorted array.

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class MergeModule

outputSize: number (sum of inputASize and inputBSize)

import { MergeModule } from 'scenerystack/alpenglow';

Constructor

new MergeModule( providedOptions : MergeModuleOptions<T> )

Instance Methods

Instance Properties

inputA : BufferArraySlot<T>

(readonly)

inputB : BufferArraySlot<T>

(readonly)

output : BufferArraySlot<T>

(readonly)

Type MergeModuleOptions

import type { MergeModuleOptions } from 'scenerystack/alpenglow';

Source Code

See the source for MergeModule.ts in the alpenglow repository.