📄 changelog
字号:
original MemoryBlockReference rather than data_ pointer of MemoryBlock itself when constructing a new MemoryBlockReference from an old one or changing the MemoryBlock that it refers to. The MemoryBlock data_ pointer points to the beginning of the usable portion of the allocated memory block, whereas the data_ pointer for a MemoryBlockReference points to the zeroth element of the Array allocated in this MemoryBlock. Note that the zeroth element may not be within the valid range of the Array and the MemoryBlockReference data_ pointer may point to an address outside of the memory block. I've given the offset parameter for the changeBlock method a default value of zero. Any offset value given will indicate an offset in memory between the zeroth element of the original Array and the modified or new Array. Normally, we can just accept the default offset value of zero and then adjust the position of the Array data_ pointer afterwards if needed.2004-08-24 Julian Cummings <cummings@artemis.cacr.caltech.edu> * blitz/array/methods.cc: Commented out an unnecessary line of code in Array::reference() method. * blitz/array/slicing.cc: Modified slice() method to flip the ascendingFlag inside the Array storage if slicing with a backwards Range. Factored expression for computing offset of data_ pointer. Corrected sign error in adjustment of zeroOffset_ value. It should move in the same direction as the data_ pointer.2004-07-28 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr> * blitz/array-impl.h: Made the return type of operator()(XXX) const be const references instead of values. Added constant case for multicomponent_traits.2004-06-23 Julian Cummings <cummings@artemis.cacr.caltech.edu> * m4/ac_fortran_flags_preset.m4: Tuned up some of the optimization flags and cleaned up file formatting. Allow modified forms of compiler name for KCC, SGI and IBM compilers, so we can use special scripts to invoke these compilers (e.g., mpxlC or newKCC). * m4/ac_cxx_flags_preset.m4: Tuned up some of the optimization flags and cleaned up file formatting. Allow modified forms of compiler name for KCC, SGI and IBM compilers, so we can use special scripts to invoke these compilers (e.g., mpxlC or newKCC). * m4/ac_compilers_64bits.m4: Added special 64-bit flags for the archiver and loader as needed. Allow modified forms of compiler name for KCC, SGI and IBM compilers, so we can use special scripts to invoke these compilers (e.g., mpxlC or newKCC). * configure.in: Moved test for 64-bit option ahead of libtool configuration, so that libtool will pick up the proper 64-bit flags for the archiver tool, if requested.2004-06-18 Julian Cummings <cummings@artemis.cacr.caltech.edu> * testsuite/iter.cpp: Added testing of standard iterator interface for blitz Array iterator types and run a couple of STL algorithms using Array iterators if BZ_HAVE_STL is defined. * blitz/array-impl.h: Eliminated the use of the _bz_endTag struct to request an end iterator for an Array. Just use the default iterator constructor to do this. * blitz/array/iter.h: Modified behavior of ArrayIterator and ConstArrayIterator to be more STL compliant. Specifically, the postfix operator++ now returns a const reference to the iterator object as it was before the increment. Users should expect the postfix operator++ to be slower than prefix operator++ and code accordingly. If BZ_HAVE_STL is defined, we provide specializations of the struct std::iterator_traits<> to provide the standard interface for the Array iterator types. * INSTALL: Updated to describe present configuration procedure using standardized autoconf configure script. Added note on running autoreconf when obtaining blitz from the cvs repository. * README: Added information about the new Blitz++ website hosted by SourceForge. Updated the listing and explanation of the directory structure.2004-06-15 Julian Cummings <cummings@artemis.cacr.caltech.edu> * blitz/array/reduce.h: Added new private method computeOrdering() to class _bz_ArrayExprReduce that properly computes the ordering values for each dimension of the reduction expression and stores them in a data member. The computeOrdering() method checks that ordering values from the expression to be reduced are not invalid and are unique. This is similar to a patch submitted by Derrick Bass for the code that constructs an Array from a _bz_ArrayExpr. I have also eliminated the use of "rank" as a local variable name to avoid possible confusion with the _bz_ArrayExprReduce enum of the same name.2004-06-04 Julian Cummings <cummings@artemis.cacr.caltech.edu> * blitz/array/stencilops.h: Added missing typename keyword. * blitz/array/stencils.h: Added blitz:: qualifier to use of TinyVector type.2004-05-06 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr> * configure.in: Do not execute the AC_FC_FREEFORM and AC_FC_SRCEXT macros if no fortran 90 compiler was found. * benchmarks/Makefile.am: search source files in $(srcdir) for compilation speed tests.2004-05-05 Julian Cummings <cummings@artemis.cacr.caltech.edu> * lib/Makefile.am: Restored -I$(top_builddir) flag needed to find generated config.h file when building in a separate directory. * testsuite/Makefile.am: Restored -I$(top_builddir) flag needed to find generated config.h file when building in a separate directory. * examples/Makefile.am: Restored -I$(top_builddir) flag needed to find generated config.h file when building in a separate directory. * benchmarks/Makefile.am: Restored -I$(top_builddir) flag needed to find generated config.h file when building in a separate directory. * doc/examples/Makefile.am: Restored -I$(top_builddir) flag needed to find generated config.h file when building in a separate directory. * doc/stencils/Makefile.am: Restored -I$(top_builddir) flag needed to find generated config.h file when building in a separate directory. Also fixed problem with building dump-stencil executable in wrong directory. I did this by explicitly creating dump-stencil in the current (build) directory. * manual/examples/Makefile.am: Restored -I$(top_builddir) flag needed to find generated config.h file when building in a separate directory. * manual/stencils/Makefile.am: Restored -I$(top_builddir) flag needed to find generated config.h file when building in a separate directory. * benchmarks/Makefile.am: Moved -I flags from AM_CXXFLAGS to AM_CPPFLAGS. Cleaned up LIBS list. * examples/Makefile.am: Moved -I flags from AM_CXXFLAGS to AM_CPPFLAGS. * testsuite/Makefile.am: Moved -I flags from AM_CXXFLAGS to AM_CPPFLAGS. * doc/stencils/Makefile.am: Moved -I flags from AM_CXXFLAGS to AM_CPPFLAGS. Removed use of deprecated INCLUDES variable. * doc/examples/Makefile.am: Moved -I flags from AM_CXXFLAGS to AM_CPPFLAGS. * manual/examples/debug.cpp: Restored indexing bug, which is apparently there for illustrative purposes. * doc/examples/debug.cpp: Restored indexing bug, which is apparently there for illustrative purposes. * doc/examples/debug.cpp: Fixed indexing bug. * doc/examples/cast.cpp: Cosmetic change. * manual/stencils/Makefile.am: Moved -I flags from AM_CXXFLAGS to AM_CPPFLAGS. * manual/examples/Makefile.am: Activated several example codes that had been commented out. Cleaned up list of extra files. Moved -I flags from AM_CXXFLAGS to AM_CPPFLAGS. * manual/examples/debug.cpp: Fixed indexing bug in this example, just so it will run without crashing. Not sure what this code is supposed to illustrate. * manual/examples/cast.cpp: Corrected this example code to use new-style blitz cast syntax. * lib/Makefile.am: Moved -I flags from AM_CXXFLAGS to AM_CPPFLAGS. * Makefile.am: Removed src from list of SUBDIRS because there is nothing to do there. * configure.in: Replaced deprecated AC_LANG_CXX and AC_LANG_F77 with calls to AC_LANG. Reordered AC_LANG calls so we don't need to call AC_LANG_CXX twice. Removed some superfluous m4 macro argument quoting. Removed compiler and src subdirectories from list of directories to configure. The compiler area is obsolete now that autoconf does this work for us. We don't need to visit the src directory, since the blitz library is built from the lib directory.2004-04-25 Patrick Guio <patrick.guio@fys.uio.no> * m4/ac_cxx_flags_preset.m4: Fixed initialisation and test of ac_cxx_flags_preset variable.2004-04-17 Patrick Guio <patrick.guio@fys.uio.no> * m4/ax_dirname.m4 m4/ax_create_pkgconfig_info.m4: New files. Macros to generate necessary files to use in conjunction with pkg-config tool (see http://www.freedesktop.org/Software/pkgconfig). Files copied from http://ac-archive.sourceforge.net. * m4/ac_cxx_lib_blitz.m4: New file. Macro to check whether Blitz is installed on the system. Useful when writing configure file for package using Blitz. * configure.in Makefile.am: Added support for generating .pc files to use in conjunction with pkg-config. 2004-04-09 Julian Cummings <cummings@artemis.cacr.caltech.edu> * benchmarks/Makefile.am: Added AM_CXXFLAGS to compile command for compile-time benchmarks. * configure.in: Reordered lists of C++ and Fortran compilers we search for to avoid common conflicts on systems that might have more than one compiler set installed. * m4/ac_cxx_flags_preset.m4: Minor formatting change. * m4/ac_cxx_flags_preset.m4: Changed use of "match" operator within expr commands to more standard ":" operator, since "match" is not recognized by the implementation of expr on Darwin systems. * lib/Makefile.am: Removed CXXFLAGS from AM_CXXFLAGS, since this gets added separately to the compile command already. * testsuite/Makefile.am: Removed CXXFLAGS from AM_CXXFLAGS, since this gets added separately to the compile command already. * examples/Makefile.am: Removed CXXFLAGS from AM_CXXFLAGS, since this gets added separately to the compile command already. * benchmarks/Makefile.am: Removed CXXFLAGS from AM_CXXFLAGS, since this gets added separately to the compile command already. * doc/examples/Makefile.am: Removed CXXFLAGS from AM_CXXFLAGS, since this gets added separately to the compile command already. * doc/stencils/Makefile.am: Use AM_CXXFLAGS macro for -I flags rather than deprecated INCLUDES macro.2004-04-07 Julian Cummings <cummings@artemis.cacr.caltech.edu> * blitz/Makefile.am: Removed new-config.h from list of blitz_HEADERS. * blitz/compiler.h: Changed <blitz/new-config.h> back to <blitz/config.h>. * Makefile.am: Removed compiler from list of SUBDIRS and deleted the check-compiler target. This work is now done by autoconf and the configure script, so we don't need to do it again. * configure.in: Bumped AC_PREREQ value to 2.59. Changed blitz/new-config.h back to standard name blitz/config.h. This will now replace the old file that was generate with the bzconfig script. Added nostdinc to list of automake options to prevent automake from adding -I../blitz to set of default include flags. This causes problems with Compaq cxx and is unnecessary because blitz header files are always included as <blitz/foo.h> anyway. * examples/random.cpp: Added workaround for problem with streams when using Compaq cxx compiler. Sending a long double to an ostream causes a core dump, so cast to double before sending value. * examples/rand2.cpp: Added workaround for problem with streams when using Compaq cxx compiler. Sending a long double to an ostream causes a core dump, so cast to double before sending value. * lib/Makefile.am: Corrected setting of include flags. * testsuite/Makefile.am: Corrected setting of include flags. * examples/Makefile.am: Corrected setting of include flags. * benchmarks/Makefile.am: Corrected setting of include flags. * doc/examples/Makefile.am: Corrected setting of include flags. * doc/stencils/Makefile.am: Corrected setting of include flags. * blitz/generate/Makefile.am: Removed incorrect and unneeded definition of generatedir. * m4/ac_cxx_flags_preset.m4: Modified default flags for Compaq cxx compiler to allow use of restrict keyword and simplified the set of optimization flags.2004-03-24 Patrick Guio <patrick.guio@fys.uio.no> * doc/doxygen/Makefile.am doc/doxygen/Doxyfile.in: New files. Handles doxygen documentation. Mostly "cut and paste" from tvmet project (tvmet.sourceforge.net). * configure.in: Added generation of doc/doxygen/Doxyfile from doc/doxygen/Doxyfile.in and doc/doxygen/Makefile. * doc/doxygen/blitz.doxygen: Removed. Replaced by doc/doxygen/Doxyfile.2004-03-22 Patrick Guio <patrick.guio@fys.uio.no> * m4: New directory containing m4 macros files that replace acinclude.m4. * m4/ac_check_cxx_features.m4 m4/ac_compilers_64bits.m4 m4/ac_cxx_bool.m4 m4/ac_cxx_complex_math_in_namespace_std.m4 m4/ac_cxx_const_cast.m4 m4/ac_cxx_default_template_parameters.m4 m4/ac_cxx_dynamic_cast.m4 m4/ac_cxx_enable_debug.m4 m4/ac_cxx_enable_optimize.m4 m4/ac_cxx_enum_computations.m4 m4/ac_cxx_enum_computations_with_cast.m4 m4/ac_cxx_exceptions.m4 m4/ac_cxx_explicit.m4 m4/ac_cxx_explicit_template_function_qualification.m4 m4/ac_cxx_flags_preset.m4 m4/ac_cxx_full_specialization_syntax.m4 m4/ac_cxx_function_nontype_parameters.m4 m4/ac_cxx_general.m4 m4/ac_cxx_have_climits.m4 m4/ac_cxx_have_complex.m4 m4/ac_cxx_have_complex_math.m4 m4/ac_cxx_have_ieee_math.m4 m4/ac_cxx_have_numeric_limits.m4 m4/ac_cxx_have_rusage.m4 m4/ac_cxx_have_std.m4 m4/ac_cxx_have_stl.m4 m4/ac_cxx_have_system_v_math.m4 m4/ac_cxx_have_valarray.m4
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -