Boost logo

Ublas :

Subject: [ublas] Solving simple vector equation *newbie*
From: Andrew Hill (andy.bob.hill_at_[hidden])
Date: 2012-02-29 11:18:48


I'm 100% new to ublas. Can you help me get started?

I need to solve for a, b, c in the vector equation:

R = a*X + b*Y + c*Z

where R, X, Y, Z are known column vectors.

How do I do this in ublas? Will you create or point me to a simple
example of how to do this? Details will really help me here as I
haven't used ublas before, but I need it for several projects going
forward.

Thanks!