projMatrix

Returns a projection function that can be used to constrain a matrix norm.

The operator norm induced by the vector p-norm is used.

projMatrix
(
Operation maxnorm
,
float p = 2
)

Parameters

maxnorm Operation

A scalar value indicating the maximum allowable operator norm.

p float

The vector p-norm that will induce the operator norm.

Return Value

A projection function that can be used with the online optimisation algorithms.

Meta