
Ublas : 
Subject: Re: [ublas] Solving simple vector equation *newbie*
From: petros (pmamales_at_[hidden])
Date: 20120229 11:40:46
this is equivalent to solving the system :
[ X Y Z ] * ( a b c ) T
for abc.
if X,Y,Z have length higher than 3 you need to do leas squares
(apply the regression formula)
hth
p
Original Message
From: Andrew Hill
Sent: Wednesday, February 29, 2012 11:18 AM
To: ublas_at_[hidden]
Subject: [ublas] Solving simple vector equation *newbie*
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!
_______________________________________________
ublas mailing list
ublas_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/ublas
Sent to: pmamales_at_[hidden]