Skip to main content

builtin_col

Function builtin_col 

Source
fn builtin_col(
    args: &[RValue],
    _: &[(String, RValue)],
) -> Result<RValue, RError>
Expand description

Return a matrix of column indices (same dim as input, each element = its column number).

@param x matrix or matrix-like object (must have dim attribute) @return integer matrix where element [i,j] = j @namespace base