InpMtrx <- c(1, 3, 2, 6) Determtrx <- matrix(InpMtrx, nrow = 2, ncol = 2) print(det(Determtrx))
## [1] 0