removeDiagonal: Removing diagonal from a matrix

View source: R/MatrixFunctions.R

removeDiagonalR Documentation

Removing diagonal from a matrix

Description

Function removes a diagonal from a square p by p matrix and returns (p-1) by p matrix

Usage

removeDiagonal(M)

Arguments

M

a matrix in which you need to remove a diagonal


jewel documentation built on May 29, 2024, 2:54 a.m.