|
Ublas : |
From: nisha kannookadan (nishak44_at_[hidden])
Date: 2008-01-12 12:26:12
Hi all
Im trying to use the bindings, but something is wrong, but the error feedback aint helpful.
This is the code:
#include
#include
#include
#include
#include
#include
#include
#include
#define NDEBUG
using namespace boost::numeric;
int main() {
ublas::matrix A(5,5);
ublas::matrix b(5,1);
// Construct a simple matrix
for (int i=0; i<=j ? 5.0+i-j : 0.0;
std::cout << A << std::endl;
for (int i=0; i<< b << std::endl;
}
I believe, this should work, but the line: bindings::lapack::gesv(A,b); gives trouble, it says "Undefined symbols",
but I put its header in it.
Thanks for any help
Nisha K
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/