copt.utils.SquareLoss

class copt.utils.SquareLoss(A, b, alpha=0)[source]
__init__(A, b, alpha=0)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(A, b[, alpha]) Initialize self.
func_grad(x[, return_gradient])