|
Ublas : |
From: Nico Galoppo (nico_at_[hidden])
Date: 2005-09-22 09:41:46
Hi,
the documentation of atlas::potrf(SA) suggests using symmetric_adaptor<>(A) to
let potrf() know which part of the matrix (upper,lower) is being represented.
But what about if I don't want to store the original matrix A as a dense matrix?
Say i have a symmetric_matrix<> A, shouldn't I be able to call atlas::potrf(A)?
Trying to compile above approach gives following compilation error:
h:\Dev\boost_1_33_0\boost\numeric\bindings\atlas\clapack.hpp(539) : error C2027:
use of undefined type 'boost::STATIC_ASSERTION_FAILURE<x>'
with
[
x=false
]
h:\Dev\boost_1_33_0\boost\numeric\bindings\atlas\clapack.hpp(539) : see
reference to class template instantiation 'boost::STATIC_ASSERTION_FAILURE<x>'
being compiled
with
[
x=false
]
h:\Nico's Documents\Code\Hybrid\include\math\smwmatrix.h(135) : see
reference to function template instantiation 'int
boost::numeric::bindings::atlas::potrf<boost::numeric::ublas::symmetric_matrix<T,TRI>>(SymmA
&)' being compiled
with
[
T=OpenTissue::SMWMatrix<Application::model_type>::real_type,
TRI=boost::numeric::ublas::upper,
SymmA=boost::numeric::ublas::symmetric_matrix<OpenTissue::SMWMatrix<Application::model_type>::real_type,boost::numeric::ublas::upper>
]
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\map(36)
: while compiling class-template member function 'void
OpenTissue::SMWMatrix<Model>::init(const Model &,const
OpenTissue::SMWMatrix<Model>::real_type)'
with
[
Model=Application::model_type
]
-- nico galoppo von borries @ address: 105 creel st., chapel hill comp. graphics phd. student @ north carolina, 27516 USA UNC, chapel hill @ phone: +1 (919) 962-1898 (office) @ +1 (919) 942-7609 (home) @ email: nico at cs dot unc dot edu @ homepage: http://www.cs.unc.edu/~nico --- debian linux :: vim powered