cg_square: Square

Description Usage Arguments Value Note Author(s) See Also

View source: R/vector.R

Description

Calculate x ^ 2.

Usage

1

Arguments

x

either a cg_node object or a numerical vector or array.

name

character scalar, name of the operation (optional).

Value

cg_operator object.

Note

This function is equivalent to cg_pow(x, 2) but more efficient.

Author(s)

Ron Triepels

See Also

square


triepels/cgraph documentation built on April 24, 2020, 12:58 a.m.