Vector class object definition for Pulpissimo

18 views
Skip to first unread message

mehmet ali

unread,
Apr 4, 2022, 3:13:53 AM4/4/22
to RISC-V SW Dev, mali...@ankasys.com
Dear RISC_V SW developers group,

Hello,

We (www.ankasys.com), are trying to develop a matrix class for Pulpissimo RISC-V core. 
I have developed the matrix codes in Visual C++, then trying to port to pulpissimo. 
I included vector, and defined vector object like this:

#include <vector>

int main(void)
{
 vector<double> vec{};
}

but g++ compiler did not identified word "vector". 

Does anybody know,
  • is my vector definition correct for pulpissimo?
  • are there any other header file, for pulp. to do vector operations to include?

I would be very grateful for your helps..

Mehmet Ali Ipin

Tommy Murphy

unread,
Apr 4, 2022, 4:04:53 AM4/4/22
to mehmet ali, RISC-V SW Dev, mali...@ankasys.com
What about std::vector<double>?


If that doesn't work then maybe post the specific compilation error(s) that you get.

Tommy Murphy

unread,
Apr 4, 2022, 8:18:55 AM4/4/22
to mali...@ankasys.com, mehmet ali, RISC-V SW Dev
Isn't that error suggesting what I mentioned - i.e. using std:: vector? Did you try that?
Reply all
Reply to author
Forward
0 new messages