cg_linear: Linear Transformation

Description Usage Arguments Value Note Author(s)

View source: R/array.R

Description

Calculate x %*% y + c(z).

Usage

1
cg_linear(x, y, z, name = NULL)

Arguments

x

either a cg_node object or a numerical matrix.

y

either a cg_node object or a numerical matrix.

z

either a cg_node object or a numerical vector.

name

character scalar, name of the operation (optional).

Value

cg_operator object.

Note

This function is equivalent to cg_matmul(x, y) + cg_as_numeric(z).

Author(s)

Ron Triepels


cgraph documentation built on Feb. 9, 2020, 5:07 p.m.

Related to cg_linear in cgraph...