SmartPtr<const Vector> NLPScalingObject::apply_vector_scaling_x_LU( const Matrix& Px_LU, const SmartPtr<const Vector>& lu, const VectorSpace& x_space) { if (have_x_scaling()) { return ConstPtr(apply_vector_scaling_x_LU_NonConst(Px_LU, lu, x_space)); } else { return lu; } }
SmartPtr<const Vector> NLPScalingObject::apply_vector_scaling_x_LU( const Matrix& Px_LU, const SmartPtr<const Vector>& lu, const VectorSpace& x_space) { DBG_START_METH("NLPScalingObject::apply_vector_scaling_x_LU", dbg_verbosity); if (have_x_scaling()) { return ConstPtr(apply_vector_scaling_x_LU_NonConst(Px_LU, lu, x_space)); } else { return lu; } }