transform_M: Apply row left-right flips and column up-down flips to a...

View source: R/transform_M.R

transform_MR Documentation

Apply row left-right flips and column up-down flips to a matrix

Description

Apply row left-right flips and column up-down flips to a matrix

Usage

transform_M(M, L1, L2)

Arguments

M

Initial matrix

L1

Vector of row indices (1‑based) to be left-right flipped

L2

Vector of column indices (1‑based) to be up-down flipped

Value

Transformed matrix


YangHuiMagic documentation built on March 23, 2026, 5:07 p.m.