Learn R Programming

WoodburyMatrix (version 0.0.3)

determinant,WoodburyMatrix,logical-method: Calculate the determinant of a WoodburyMatrix object

Description

Calculates the (log) determinant of a WoodburyMatrix using the matrix determinant lemma.

Usage

# S4 method for WoodburyMatrix,logical
determinant(x, logarithm)

Value

Same as base::determinant.

Arguments

x

A object that is a subclass of WoodburyMatrix

logarithm

Logical indicating whether to return the logarithm of the matrix.

See Also