Convert scalar input to square matrix of dimension output_size
x output_size
with input
along the diagonal, or check that input array is equivalent to a square matrix of dimension output_size
x output_size
.
Source: R/utils.R
expand_dims_2d_diag.Rd
Convert scalar input to square matrix of dimension output_size
x output_size
with input
along the diagonal,
or check that input array is equivalent to a square matrix of dimension output_size
x output_size
.