<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I think the answer is probably "no", but is there a way to create a bounded_vector with different bounds on different elements? <div>I need this because I store my model coefficients in a vector to be multiplied by the matrix of predictors and I want to restrict some coefficients to be positive and others negative. Maybe this could go on a to-do list?</div><div><br></div><div>I guess I could hack this by restricting the coefficients to be positive and making certain predictors negative in my .dat file.</div><div>thanks,</div><div>Mollie</div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><span class="Apple-style-span" style="font-size: medium;"><br></span></span></font></div><div><div apple-content-edited="true"><br class="Apple-interchange-newline"> </div><br></div></body></html>