eye: function to reproduce the behavior of eye function in matlab

Description Usage Arguments Value

Description

function to reproduce the behavior of eye function in matlab

Usage

1
eye(n, m)

Arguments

n

number of rows in the returned eye matrix

m

number of columns in the returned eye matrix

Value

a matrix with diagonal element as 1 while other elements as zero (eye matrix)


cole-trapnell-lab/L1-graph documentation built on May 17, 2019, 12:50 p.m.