[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C++ insert row vector into matrix?
From: |
Mark B. |
Subject: |
Re: C++ insert row vector into matrix? |
Date: |
Mon, 2 Jul 2007 08:22:22 -0700 (PDT) |
Hello,
Where can I download these C++ libraries for using with my standalone
programs?
Thanks
Michael Creel wrote:
>
> The Octave wiki CPP quick reference
> (http://wiki.octave.org/wiki.pl?CPPQuickReference) shows how to stack
> matrices.
> How can I insert a row vector into an existing matrix of zeros, to avoid
> constantly re-sizing? Or is re-sizing a low cost operation?
>
> I'm trying this:
> W.insert(zzz, i, 0);
> where W is a matrix and zzz is a row vector. This compiles, but is not
> correct.
> Thanks, M.
> _______________________________________________
>
--
View this message in context:
http://www.nabble.com/C%2B%2B-insert-row-vector-into-matrix--tf3993829.html#a11395903
Sent from the Octave - General mailing list archive at Nabble.com.
- Re: C++ insert row vector into matrix?,
Mark B. <=