tests/linalg-cpu.r

suppressMessages(library(fmlr))

m = 3
n = 2
x = cpumat(m, n)
x$fill_linspace(1, m*n)
xr = x$to_robj()

y = cpumat(m, n)
y$fill_eye()
yr = y$to_robj()

v = cpumat(n)
v$fill_linspace(1, n)
vr = v$to_robj()


source("internals/common.r")
source("internals/linalg.r")
wrathematics/fmlr documentation built on Jan. 17, 2022, 4:10 p.m.