cvxr_outer: Outer product of two vectors

View source: R/045_atoms_affine_binary_operators.R

cvxr_outerR Documentation

Outer product of two vectors

Description

Computes the outer product x %*% t(y). Both inputs must be vectors. Named cvxr_outer() because base R already exports outer().

Usage

cvxr_outer(x, y)

Arguments

x

An Expression or numeric value (vector).

y

An Expression or numeric value (vector).

Value

An Expression of shape (length(x), length(y)).

See Also

vdot()


CVXR documentation built on Aug. 24, 2026, 9:10 a.m.