detmatrix {cmna}R Documentation

Calculate the determinant of the matrix

Description

Calculate the determinant of the matrix

Usage

detmatrix(m)

Arguments

m

a matrix

Details

detmatrix calculates the determinant of the matrix given.

Value

the determinant

See Also

Other linear: choleskymatrix(), gdls(), invmatrix(), iterativematrix, lumatrix(), refmatrix(), rowops, tridiagmatrix(), vecnorm()

Examples

A <- matrix(c(1, 2, -7, -1, -1, 1, 2, 1, 5), 3)
detmatrix(A)


[Package cmna version 1.0.5 Index]