mapMatrixUnit: Function to map rows of a numeric matrix to the unit ball

Description Usage Arguments Value

View source: R/utilities-objective.R

Description

This function will ensure that the row having the largest p-norm will be located on the unit ball

Usage

1
mapMatrixUnit(X, p = 1)

Arguments

X

Numeric matrix

p

The p in p-norm

Value

List that includes the transformed matrix and the value corresponding to the maximum observed p-norm


IQSS/PSI-Library documentation built on Feb. 15, 2020, 9:03 p.m.