Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59026 - sandbox/numeric_bindings/libs/numeric/bindings/atlas
From: rutger_at_[hidden]
Date: 2010-01-15 04:33:02


Author: rutger
Date: 2010-01-15 04:33:01 EST (Fri, 15 Jan 2010)
New Revision: 59026
URL: http://svn.boost.org/trac/boost/changeset/59026

Log:
update of symm2 blas regression, now using bindings-provided set level1 function

Text files modified:
   sandbox/numeric_bindings/libs/numeric/bindings/atlas/ublas_symm2.cc | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: sandbox/numeric_bindings/libs/numeric/bindings/atlas/ublas_symm2.cc
==============================================================================
--- sandbox/numeric_bindings/libs/numeric/bindings/atlas/ublas_symm2.cc (original)
+++ sandbox/numeric_bindings/libs/numeric/bindings/atlas/ublas_symm2.cc 2010-01-15 04:33:01 EST (Fri, 15 Jan 2010)
@@ -8,6 +8,7 @@
 #include <stddef.h>
 #include <iostream>
 #include <complex>
+#include <boost/numeric/bindings/blas/level1/set.hpp>
 #include <boost/numeric/bindings/blas/level2.hpp>
 #include <boost/numeric/bindings/ublas/vector.hpp>
 #include <boost/numeric/bindings/ublas/matrix.hpp>
@@ -75,7 +76,7 @@
   cout << endl;
 
   vct_t vx (n), vy (n);
- std::fill( bindings::begin(vx), bindings::end(vx), 1. );
+ blas::set( 1., vx );
   print_v (vx, "vx");
 
   ucsymm_t ucs (n, n);
@@ -149,7 +150,7 @@
   size_t n2 = 3;
 
   cvct_t cvx (n2), cvy (n2);
- std::fill( bindings::begin(cvx), bindings::end(cvx), 1. );
+ blas::set( 1., cvx );
   print_v (cvx, "cvx");
   cout << endl;
 


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