TestLazyMatrix: Check matrix by computing xM, My, and xMy with random dense...

View source: R/MatrixLazyEval_core.R

TestLazyMatrixR Documentation

Check matrix by computing xM, My, and xMy with random dense x, y.

Description

Check matrix by computing xM, My, and xMy with random dense x, y.

Usage

TestLazyMatrix(M, seed = 0)

Arguments

M

Lazymatrix

seed

Seed for RNG.

Details

This makes sure matrix-vector products can be computed and yield the correct shape of results.


ekernf01/MatrixLazyEval documentation built on July 24, 2022, 2:42 a.m.