jml.optimization
Class ProjL2

java.lang.Object
  extended by jml.optimization.ProjL2
All Implemented Interfaces:
Projection

public class ProjL2
extends java.lang.Object
implements Projection

Compute proj_tC(X) where C = {X: || X ||_2 <= 1}.

Version:
1.0, Oct. 14th, 2013
Author:
Mingjie Qian

Constructor Summary
ProjL2()
           
 
Method Summary
 org.apache.commons.math.linear.RealMatrix compute(double t, org.apache.commons.math.linear.RealMatrix X)
          Compute proj_{tC}(X) where C = {X: || X ||_2 <= 1}.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjL2

public ProjL2()
Method Detail

compute

public org.apache.commons.math.linear.RealMatrix compute(double t,
                                                         org.apache.commons.math.linear.RealMatrix X)
Compute proj_{tC}(X) where C = {X: || X ||_2 <= 1}.

Specified by:
compute in interface Projection
Parameters:
t - a nonnegative real scalar
X - a real matrix
Returns:
proj_{tC}(X) where C = {X: || X ||_2 <= 1}