symmetric: Check for a symmetric array

symmetricR Documentation

Check for a symmetric array

Description

This function checks whether a numeric array is symmetric, in the sense of transposition. This is tested by comparing the reversed vectorised array to the unreversed equivalent.

Usage

symmetric(x)

Arguments

x

An object that can be coerced to a numeric array.

Value

A logical value indicating whether the array is symmetric or not.

Author(s)

Jon Clayden <code@clayden.org>


mmand documentation built on Feb. 16, 2023, 9:22 p.m.