Lines Matching defs:empty
132 inline bool empty() const { return segs.empty(); }
155 ASSERT_INVARIANTS(cuts.empty() || c > cuts.back());
207 //Scales the domain of the function by a value. 0 will result in an empty Piecewise.
223 if(empty()) return;
224 /* dom can not be empty
225 if(dom.empty()) {
240 if(other.empty()) return;
242 if(empty()) {
257 if(other.empty()) return;
259 if(empty()) { segs = other.segs; cuts = other.cuts; return; }
271 if(!(segs.size() + 1 == cuts.size() || (segs.empty() && cuts.empty())))
291 if(f.empty()) return typename FragmentConcept<T>::BoundsType();
307 if(f.empty()) return typename FragmentConcept<T>::BoundsType();
323 if(f.empty() || !_m) return typename FragmentConcept<T>::BoundsType();
365 if(c.empty()) return Piecewise<T>(pw);
370 if(pw.empty()) {
432 if(pw.empty() || from == to) return Piecewise<T>();
469 if(f.empty()) return f;
489 if(f.empty()) return f;
528 //TODO:empty
539 //TODO: empty
551 if(a.empty()) { a.push_cut(0.); a.push(T(b), 1.); return a; }
561 if(a.empty()) { a.push_cut(0.); a.push(T(-b), 1.); return a; }
594 if(a.empty()) return Piecewise<T>();
612 if(a.empty()) return Piecewise<T>();
631 if(a.empty()) return Piecewise<T>();
768 if (f.empty()) return result;