Example #1
0
File: prox.c Project: mjacob75/bart
/*
 * Proximal function for greater than or equal to:
 * f(z) = 1{z >= b}
 */
const struct operator_p_s* prox_greq_create(unsigned int N, const long dims[N], const complex float* b)
{
	return prox_ineq_create(N, dims, b, true);
}
Example #2
0
/*
 * Proximal function for nonnegative orthant
 * f(z) = 1{z >= 0}
 */
const struct operator_p_s* prox_nonneg_create(unsigned int N, const long dims[N])
{
	return prox_ineq_create(N, dims, NULL, true);
}