view .editorconfig @ 28639:7ebe185e3818

new octave_value constructors for integer and float ranges. * ov-range.h (octave::octave_range): New constructors that accept range<T> for T = float and integer types. (make_double_range): New template function. (octave_range::octave_range): Use it to convert range<T> arguments to range<double> for T = float and integer types. (octave_float_range, octave_double_range, octave_int8_range, octave_int16_range, octave_int32_range, octave_int64_range, octave_uint8_range, octave_uint16_range, octave_uint32_range, octave_uint64_range): New typedefs. * ov.h, ov.cc (octave_value::octave_value): New constructors that accept range<T> for T = float and integer types. (make_range): Return range<T> instead of range<double> for float, double, and integer types. * Range.h (range<T>::range): New constructor accepting base, increment, limit, final, and numel values.
author John W. Eaton <jwe@octave.org>
date Thu, 06 Aug 2020 23:57:40 -0400
parents 640ee0d531d0
children
line wrap: on
line source

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true

[*.{am,mk}]
indent_size = tab
indent_style = tab