Home | History | Annotate | Download | only in Core

Lines Matching refs:linspaced_op

612 template <typename Scalar, bool RandomAccess = true> struct linspaced_op;
613 template <typename Scalar, bool RandomAccess> struct functor_traits< linspaced_op<Scalar,RandomAccess> >
615 template <typename Scalar, bool RandomAccess> struct linspaced_op
618 linspaced_op(Scalar low, Scalar high, int num_steps) : impl((num_steps==1 ? high : low), (num_steps==1 ? Scalar() : (high-low)/(num_steps-1))) {}