Last updated

API / geotoolkit / seismic / analysis / util / ArrayOperations / ArrayOperations

Class: ArrayOperations

util.ArrayOperations.ArrayOperations

A utility class with methods useful for removing the DC Component of a signal by subtracting the mean value. Ported from the Saddleback Geosolution's Java implementation

Table of contents

Constructors
Methods

Contents

Constructors

new ArrayOperations()

new ArrayOperations()

Methods

getClassName

getClassName(): string

Returns

string


arrayCopy

Static arrayCopy(src, srcPos, dest, destPos, length): void

Copies elements from a source array starting at a specified index to a destination array at a specified index. The number of components copies is specified in the length argument.

Parameters

Name Type Description
srcFloat32ArraySource array
srcPosnumberSource array start index
destFloat32ArrayDestination array
destPosnumberDestination stat index
lengthnumberThe length of the copied data

Returns

void


fill

Static fill(array, start, end, value): void

Fills the array with specified value at the specified range

Parameters

Name Type Description
arrayFloat32ArrayThe array that will be filled
startnumberThe start position
endnumberThe end position
valuenumberThe value.

Returns

void


getClassName

Static getClassName(): string

Returns

string