Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49847 - in sandbox/multivariate_distributions: . boost doc example test
From: stipe_at_[hidden]
Date: 2008-11-19 17:34:57


Author: srajko
Date: 2008-11-19 17:34:56 EST (Wed, 19 Nov 2008)
New Revision: 49847
URL: http://svn.boost.org/trac/boost/changeset/49847

Log:
add multivariate_distribution skeleton
Added:
   sandbox/multivariate_distributions/
   sandbox/multivariate_distributions/Jamroot (contents, props changed)
   sandbox/multivariate_distributions/boost/
   sandbox/multivariate_distributions/boost/multivariate_normal.hpp (contents, props changed)
   sandbox/multivariate_distributions/doc/
   sandbox/multivariate_distributions/doc/Jamfile (contents, props changed)
   sandbox/multivariate_distributions/doc/multivariate_distributions.qbk (contents, props changed)
   sandbox/multivariate_distributions/example/
   sandbox/multivariate_distributions/example/Jamfile (contents, props changed)
   sandbox/multivariate_distributions/example/multivariate_normal_example.cpp (contents, props changed)
   sandbox/multivariate_distributions/test/
   sandbox/multivariate_distributions/test/Jamfile (contents, props changed)
   sandbox/multivariate_distributions/test/test_multivariate_normal.cpp (contents, props changed)

Added: sandbox/multivariate_distributions/Jamroot
==============================================================================
--- (empty file)
+++ sandbox/multivariate_distributions/Jamroot 2008-11-19 17:34:56 EST (Wed, 19 Nov 2008)
@@ -0,0 +1,36 @@
+#==================================---------------------------------------------
+# Copyright 2008 Thijs van den Berg
+# Copyright 2008 Stjepan Rajko
+#
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+#----------------------------------------------===============================*/
+
+
+import os ;
+
+# Set the BOOST_ROOT environment variable on your command-line or in the
+# environment to point at the root of your regular Boost installation.
+
+# get the BOOST_ROOT environment variable
+path-constant BOOST_ROOT : [ os.environ BOOST_ROOT ] ;
+
+# record the root of the directory structure
+path-constant TOP : . ;
+
+# we are using Boost
+use-project boost
+ : $(BOOST_ROOT)
+ ;
+
+# This project and anything using it needs these and Boost headers
+project multivariate_distributions
+ : build-dir bin.v2
+ : usage-requirements
+ <include>.
+ <include>$(BOOST_ROOT)
+ : requirements
+ <include>.
+ <include>$(BOOST_ROOT)
+ ;

Added: sandbox/multivariate_distributions/boost/multivariate_normal.hpp
==============================================================================
--- (empty file)
+++ sandbox/multivariate_distributions/boost/multivariate_normal.hpp 2008-11-19 17:34:56 EST (Wed, 19 Nov 2008)
@@ -0,0 +1,19 @@
+/*=================================---------------------------------------------
+ Copyright 2008 Thijs van den Berg
+ Copyright 2008 Stjepan Rajko
+
+ Distributed under the Boost Software License, Version 1.0.
+ (See accompanying file LICENSE_1_0.txt or copy at
+ http://www.boost.org/LICENSE_1_0.txt)
+-----------------------------------------------===============================*/
+
+#ifndef BOOST__MULTIVARIATE_NORMAL_HPP
+#define BOOST__MULTIVARIATE_NORMAL_HPP
+
+
+namespace boost { namespace math {
+
+
+} } // namespace boost::math
+
+#endif // BOOST__MULTIVARIATE_NORMAL_HPP

Added: sandbox/multivariate_distributions/doc/Jamfile
==============================================================================
--- (empty file)
+++ sandbox/multivariate_distributions/doc/Jamfile 2008-11-19 17:34:56 EST (Wed, 19 Nov 2008)
@@ -0,0 +1,35 @@
+#==================================---------------------------------------------
+# Copyright 2008 Thijs van den Berg
+# Copyright 2008 Stjepan Rajko
+#
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+#----------------------------------------------===============================*/
+
+
+project multivariate_distributions/doc ;
+
+import boostbook : boostbook ;
+using quickbook ;
+
+local loc = [ path.native [ path.pwd ] ] ;
+
+xml multivariate_distributions_xml : multivariate_distributions.qbk ;
+
+boostbook standalone
+ :
+ multivariate_distributions_xml
+ :
+ <xsl:param>doc.standalone=true
+ # formatting options
+ <xsl:param>chunk.first.sections=1
+ <xsl:param>chunk.section.depth=10
+ <xsl:param>toc.section.depth=4
+ <xsl:param>toc.max.depth=2
+ <xsl:param>generate.section.toc.level=4
+ <xsl:param>annotation.support=1
+ ;
+
+stage html : $(BOOST_ROOT)/doc/html/boostbook.css ;
+stage html/images : [ path.glob $(BOOST_ROOT)/doc/html/images : *.png ] ;
\ No newline at end of file

Added: sandbox/multivariate_distributions/doc/multivariate_distributions.qbk
==============================================================================
--- (empty file)
+++ sandbox/multivariate_distributions/doc/multivariate_distributions.qbk 2008-11-19 17:34:56 EST (Wed, 19 Nov 2008)
@@ -0,0 +1,21 @@
+[article Boost.MultivariateDistributions
+ [quickbook 1.4]
+ [version alpha]
+ [authors [van den Berg,Thijs],[Rajko, Stjepan]]
+ [copyright 2008 Thijs van den Berg, Stjepan Rajko]
+ [purpose Multivariate statistical distributions.]
+ [license
+ Distributed under the Boost Software License, Version 1.0.
+ (See accompanying file LICENSE_1_0.txt or copy at
+ [@http://www.boost.org/LICENSE_1_0.txt])
+ ]
+]
+
+[section:license License]
+
+Copyright 2008 Thijs van den Berg, Stjepan Rajko.
+Distributed under the Boost Software License, Version 1.0. (See
+accompanying file LICENSE_1_0.txt or copy at
+[@http://www.boost.org/LICENSE_1_0.txt])
+
+[endsect]

Added: sandbox/multivariate_distributions/example/Jamfile
==============================================================================
--- (empty file)
+++ sandbox/multivariate_distributions/example/Jamfile 2008-11-19 17:34:56 EST (Wed, 19 Nov 2008)
@@ -0,0 +1,16 @@
+#==================================---------------------------------------------
+# Copyright 2008 Thijs van den Berg
+# Copyright 2008 Stjepan Rajko
+#
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+#----------------------------------------------===============================*/
+
+
+project multivariate_distributions/example
+ : requirements
+ <define>BOOST_ALL_NO_LIB=1
+ ;
+
+exe multivariate_normal_example : multivariate_normal_example.cpp ;

Added: sandbox/multivariate_distributions/example/multivariate_normal_example.cpp
==============================================================================
--- (empty file)
+++ sandbox/multivariate_distributions/example/multivariate_normal_example.cpp 2008-11-19 17:34:56 EST (Wed, 19 Nov 2008)
@@ -0,0 +1,16 @@
+/*=================================---------------------------------------------
+ Copyright 2007,2008 Stjepan Rajko
+
+ Distributed under the Boost Software License, Version 1.0.
+ (See accompanying file LICENSE_1_0.txt or copy at
+ http://www.boost.org/LICENSE_1_0.txt)
+-----------------------------------------------===============================*/
+
+
+#include <boost/multivariate_normal.hpp>
+
+
+int main()
+{
+ return 0;
+}

Added: sandbox/multivariate_distributions/test/Jamfile
==============================================================================
--- (empty file)
+++ sandbox/multivariate_distributions/test/Jamfile 2008-11-19 17:34:56 EST (Wed, 19 Nov 2008)
@@ -0,0 +1,21 @@
+#==================================---------------------------------------------
+# Copyright 2008 Thijs van den Berg
+# Copyright 2008 Stjepan Rajko
+#
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+#----------------------------------------------===============================*/
+
+
+import testing ;
+
+
+project multivariate_distributions/test
+ : requirements
+ <define>BOOST_ALL_NO_LIB=1
+ <library>/boost/test//boost_unit_test_framework/<link>static
+ ;
+
+
+run test_multivariate_normal.cpp ;

Added: sandbox/multivariate_distributions/test/test_multivariate_normal.cpp
==============================================================================
--- (empty file)
+++ sandbox/multivariate_distributions/test/test_multivariate_normal.cpp 2008-11-19 17:34:56 EST (Wed, 19 Nov 2008)
@@ -0,0 +1,20 @@
+/*=================================---------------------------------------------
+ Copyright 2008 Stjepan Rajko
+
+ Distributed under the Boost Software License, Version 1.0.
+ (See accompanying file LICENSE_1_0.txt or copy at
+ http://www.boost.org/LICENSE_1_0.txt)
+-----------------------------------------------===============================*/
+
+
+#include <boost/multivariate_normal.hpp>
+
+
+#define BOOST_TEST_MAIN
+#include <boost/test/unit_test.hpp>
+
+
+BOOST_AUTO_TEST_CASE( test )
+{
+ BOOST_CHECK_EQUAL(1,1);
+}


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk