Description Usage Arguments Value Note Author(s)
Calculate x1 %*% y1 + c(z)
.
1 | cg_linear1(x1, y1, z = NULL, name = NULL)
|
x1 |
either a cg_node object or a numerical matrix. |
y1 |
either a cg_node object or a numerical matrix. |
z |
either a cg_node object or a numerical vector (optional). |
name |
character scalar, name of the operation (optional). |
cg_operator object.
This function is equivalent to cg_matmul(x1, y1) + cg_as_numeric(z)
but shorter and more efficient.
Ron Triepels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.