/** * Sets the residuals. */ void Point::SetResiduals(const Residuals& r) { if (!this->mp_Data) this->SetData(Point::Data::New(static_cast<int>(r.rows()))); this->mp_Data->SetResiduals(r); this->Modified(); };