Learn R Programming

normalizeH (version 1.0.0)

is.normalized: Normalized Hadamard Matrix

Description

Checks whether a Hadamard matrix is normalized or not.

Usage

is.normalized(H)

Value

Returns TRUE when the Hadamard matrix is normalized, otherwise returns FALSE.

Arguments

H

A Hadamard matrix

Author

Baidya Nath Mandal <mandal.stat@gmail.com>

Examples

Run this code
h2 <- matrix(c(1,1,1,-1),nrow = 2)
is.normalized(h2)
h4 <-h2 
is.normalized(h4)
h2 <- matrix(c(1,-1,1,1),nrow = 2)
is.normalized(h2)

Run the code above in your browser using DataLab