all_crossterms: Create crossterms from two matrices

View source: R/all_crossterms.R

all_crosstermsR Documentation

Create crossterms from two matrices

Description

A helper function for 'G_generate' that produces cross-terms.

Usage

all_crossterms(Z_i, Z_j, make_sparse = TRUE)

Arguments

Z_i

Matrix

Z_j

Matrix

make_sparse

Boolean for whether to output a sparse matrix. Default is 'TRUE'.

Value

Matrix of cross-terms between 'Z_i' and 'Z_j'.


fastFMM documentation built on April 12, 2025, 2:26 a.m.