cross_var_pillars {nandb}R Documentation

Calculate the cross-variance of corresponding pillars of 3d arrays.

Description

The cross-variance function is defined in the reference.

Usage

cross_var_pillars(x, y)

Arguments

x

A 3-dimensional array.

y

A 3-dimensional array with the same dimensions as x.

Details

Pillar ⁠i, j⁠ of the 3-dimensional array arr is arr[i, j, ].

Value

A matrix.

Examples

x <- array(1:27, dim = rep(3, 3))
y <- array(0:26, dim = rep(3, 3))
cross_var_pillars(x, y)

[Package nandb version 2.1.0 Index]