comparison src/ChangeLog @ 4901:35bfb4e0b96b

[project @ 2004-06-14 18:33:02 by jwe]
author jwe
date Mon, 14 Jun 2004 18:33:02 +0000
parents 8fd9495f5054
children 71229573b6bf
comparison
equal deleted inserted replaced
4900:cf470c996819 4901:35bfb4e0b96b
1 2004-06-14 John W. Eaton <jwe@octave.org>
2
3 * pr-output.h, pr-output.cc (octave_print_conv): New traits class.
4 (template <class T> void octave_print_internal (std::ostream&,
5 const intNDArray<T>&, bool, int),
6 (template <class T> void octave_print_internal (std::ostream&,
7 const octave_int<T>&, bool)): New template functions.
8 Instantiate versions for new int types.
9
10 * ov-typeinfo.h (octave_value_typeinfo::type_conv_ops):
11 New data member.
12 (octave_value_typeinfo::register_type_conv_op,
13 octave_value_typeinfo::lookup_type_conv_op,
14 octave_value_typeinfo::do_register_type_conv_op,
15 octave_value_typeinfo::do_lookup_type_conv_op): New functions.
16
17 * ov-re-mat.cc (Fdouble): New function.
18
19 * ov-range.h (octave_range::reshape): Reshape array_value, not
20 matrix_value.
21
22 * ov-base-scalar.h (octave_base_scalar<ST>::all,
23 octave_base_scalar<ST>::any, octave_base_scalar<ST>::is_true): Use
24 ST() instead of 0.0.
25
26 * ov-base-mat.h (octave_base_matrix<MT>::byte_size): New function.
27
28 * ops.h (INSTALL_COLNVOP, DEFCONVFNX, DEFDBLCONVFN, DEFCONVFN,
29 DEFCONVFN2): New macros.
30
31 * DLD-FUNCTIONS/filter.cc (Ffilter): Kluge type conversions.
32
33 * ov.cc (install_types): Register new integer types.
34
35 * ov.h, ov.cc (octave_value::octave_value (const octave_int8&),
36 octave_value::octave_value (const octave_uint8&),
37 octave_value::octave_value (const octave_int16&),
38 octave_value::octave_value (const octave_uint16&),
39 octave_value::octave_value (const octave_int32&),
40 octave_value::octave_value (const octave_uint32&),
41 octave_value::octave_value (const octave_int64&),
42 octave_value::octave_value (const octave_uint64&),
43 octave_value::octave_value (const int8NDArray&),
44 octave_value::octave_value (const uint8NDArray&),
45 octave_value::octave_value (const int16NDArray&),
46 octave_value::octave_value (const uint16NDArray&),
47 octave_value::octave_value (const int32NDArray&),
48 octave_value::octave_value (const uint32NDArray&),
49 octave_value::octave_value (const int64NDArray&),
50 octave_value::octave_value (const uint64NDArray&)):
51 New constructors.
52
53 * ov.h (octave_value::internal_rep): New function.
54 (DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA): Also define
55 static_type_id, static_type_name, and static_class_name
56 functions.
57
58 * Cell.h (Cell::reshape (const dim_vector&)): New forwarding
59 function for return type conversion.
60
61 * ov-int16.cc, ov-int32.cc, ov-int64.cc, ov-int8.cc, ov-uint16.cc,
62 ov-uint32.cc, ov-uint64.cc, ov-uint8.cc, ov-type-conv.h,
63 OPERATORS/op-int-conv.cc, OPERATORS/op-double-conv.cc,
64 OPERATORS/op-i16-i16.cc, OPERATORS/op-i32-i32.cc,
65 OPERATORS/op-i64-i64.cc, OPERATORS/op-i8-i8.cc,
66 OPERATORS/op-ui16-ui16.cc, OPERATORS/op-ui32-ui32.cc,
67 OPERATORS/op-ui64-ui64.cc, OPERATORS/op-ui8-ui8.cc: New files.
68 Makefile.in: Add them to the appropriate lists.
69
1 2004-06-03 John W. Eaton <jwe@octave.org> 70 2004-06-03 John W. Eaton <jwe@octave.org>
2 71
3 * ov-fcn-handle.h (octave_function_handle::is_matrix_type, 72 * ov-fcn-handle.h (octave_function_handle::is_matrix_type,
4 octave_function_handle::is_numeric_type, 73 octave_function_handle::is_numeric_type,
5 octave_function_handle::is_constant, 74 octave_function_handle::is_constant,