|
Boost Users : |
From: yanyaqin (tinyfat_at_[hidden])
Date: 2004-09-02 20:37:24
Hi folks!I have two question:1. In ublas::vector, there's 3 constructions:
vector () | Allocates an uninitialized vector that holds zero elements. |
vector (size_type size) | Allocates an uninitialized vector that holds size elements. |
vector (const vector &v) |
but how can i construct a vector with the default value like std::vector( n, value )
2. How to make ublas more efficiency?
I tried to comment some mac define of check in ublas/config.hpp, and found it make some sense.
I wonder if some one has more experience to share.
Best regards!
Yan Yaqin 2004-09-03========================== 263电子邮件-信赖邮自专业
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net