更新しました。先週に引き続き今週もMathのパフォーマンスチューニングが行われています。 ttp://booster.x0.to/ 以下更新内容の一部 [Fusion] Fusion: resolved const correctness issue [Spirit] Spirit: started to add attribute transformation capabilities, new examples Spirit: added simple token printer for parser trace output Spirit: added bool_ generators Spirit: added qi::bool_ [Unordered] Try supporting reference parameters in pairs. Probably not required. Remove the optimization for std::pair with a key reference. [Exeption] New function: diagnostic_information_what. [Math] A few more minor performance tweaks for issue #3407. Another round of performance tweaks for issue #3408. These should make our igamma implementation comparable in performance to the dcdflib FORTRAN routine - at least as far as MSVC is concerned. [Impl] missing namespace Refactored: use static_cast and const pointer where possible. [Graph] Another attempt at a CSR edges() fix [Python] boost/python: some Py_ssize_t replaced with boost::python::ssize_t to restore compatibility with Python 2.3 and 2.4 [Date_time] Refs #2213. Fixed UTC zone offset boudaries. Refs #1861. Changed the default format for time durations to "%-%O:%M:%S%F" instead of "%-%H:%M:%S%F".
#include <boost/multi_array.hpp> #include <boost/numeric/ublas/matrix.hpp> int n = 10; int m = 10; boost::multi_array<double, 2> myArray(boost::extents[n][m]); boost::numeric::ublas::matrix<double> myArray2(n, m, n*m);
更新しました。このところ、今迄あまり動きの無かったMathやuBLASといった数式関連に手が入っています。 亦、layout=taggedでリンクエラーが発生しておりましたのでlayout=versionedに戻しました。 尚、バージョン無しのファイルは必要無い様に思えますのでバージョン無しファイル生成バッチは同梱せずに暫く様子を見ます。 ttp://booster.x0.to/ 以下更新内容の一部 [Spirit] Spirit: fixed a problem in Qi real_impl preventing to use an integral type as an attribute to a floating point parser. Spirit: restructured customization points, added qi::attr_cast, added phoenix expression support for Karma attributes Spirit: disabled Phoenix attributes for V2.1, adjusted tests [Numeric] see #3449: introduce new free functions to access matrix/vector properties (Incomplete) [Date_time] Refs #3470. Modified documentation for c_time functions to reflect the actual behavior. [Unordered] Make sure inserting from a range of types other than the value type is better tested. [Fusion] BOOST_FUSION_ADAPT_CLASS [Math] Fix erf calculation limits. Added more performance tests along with comparisons to the DCDFLIB. Change iteration limits to use get_epsilon(). Merge changes from Sandbox. [Fusion] Fusion: fixing mismatch in default parameter to nview [Syatem] System: minor code clean up [Signals2] Added support for tracking of objects owned by non-boost shared_ptr. No documentation yet. [Graph] Fixed duplicate base class problem Removed old parameters from test code
更新しました。何となく1.41リリースが近い様な気がします。 ttp://booster.x0.to/ 以下更新内容の一部 [Spirit] Spirit: fixing re-initialization problem for optional attributes Spirit: improved fix for re-initialization of optionals, added tests Spirit: added missing specialization to transform_attribute. Fixed qi::subrule to use this Spirit: updating examples and tests Spirit: removing remnants of safe_bool [Fusion] Spirit: improved fix for re-initialization of optionals, added tests [Graph] Fixed bugs in F-R layout Fixed numlocalverts bug Changed boost::get() call to get() to reflect new distributed property map namespace (boost::parallel) [Serialization] Address complaints for Inspect fix memory leaks Fix problem with multiple declaration of void_cast_register [Exeption] Added errinfo_nested_exception typedef. Fixed minor documentation error. [Signals2] Work around missing include in Boost.Variant headers Include <functional>, for std::greater. [Interprocess] Fixes for 1.41 [Unordered] Correct macro checks for initializer lists. [Graph_parallel] Added edges_are_sorted tag to distributed CSR graph ctor since passing a sorted iterator range to the unsorted ctor seems to produce a different graph than passing a sorted iterator range to the sorted ctor.
更新しました。 ttp://booster.x0.to/ 以下更新内容の一部 [Spirit] Spirit: fixing endianess/truncation problem in Karma|s output iterator Spirit: fixing tests for big endian binary generator Spirit: removed undefined behavior in grammar initialization [Interprocess] Fixes for 1.41 [Intrusive] Fixes for 1.41 [Graph] Removed assertions that may depend on FP precision. [Serialization] add non-polymorphic pointer test [Pool] Allow zero-sized blocks to be allocated by malloc_n. Fixes #386 [Unordered] Use normal emplace implementation for emplace_hint and insert with hint. Fix allocator for construct from initializer list. [Random] Disable some warnings for msvc. Fixes #3532 [Math] Improve ibeta error handling, and add new tests. [Detail] fix for fix in r35591: sometimes __hppa is on PA-RISC but __hpux isn't Fixes ticket #3537 [Signals2] Qualify addressof call, refs #3534. [Python] Fix for #3490, parameter depends on python. [Thread] Added futures to boost.thread