Skip to content

forwardTransform

Implementations

Microsoft Excel: AIDCT.forwardTransform(domain, value, tweak)

Google Sheets: Google Sheets: aidctForwardTransform(domain, value, tweak)

Transform a value forward.

This function returns a matrix of values of the same shape and size as the value parameter.

Parameters

NameTypeDescription
domainNumberTransformation domain. Valid input values are from 0 to domain-1.
value**NumberValue to transform.
tweakNumberValue by which to tweak the transformation. If not provided or zero, the output is sequential. Otherwise, the output is encrypted in such a way as to appear random, masking the values used as inputs to the sequence.

Parameters in italics are optional.

** This parameter accepts a single value, an array of values, or a matrix of values.