calculus (version 0.1.0)

det: Numerical and Symbolic Determinant

Description

Calculates the determinant of a matrix.

Usage

det(x)

Arguments

x

numeric or character matrix.

Value

numeric or character determinant.

Examples

Run this code
# NOT RUN {
# numeric matrix
x <- matrix(1:4, nrow = 2)
det(x)

# symbolic matrix
x <- matrix(letters[1:4], nrow = 2)
det(x)

# }

Run the code above in your browser using DataLab