Skip to main content

builtin_row

Function builtin_row 

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

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

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