I'm trying to hold polynomial coefficients in QVector
. My polynomials are of degree 2, so it has three numbers.
When I define QVector<double[3]> zeros_Real(n + 1)
I get an error (below). First, I thought I could use QVector<QVector<double>>
but it will be speed and memory problem, so I decided to not do that.
Why can't I have a QVector
of double[3]
elements?
The error:
mingw32-make[1]: *** [debug/main.o] Error 1
mingw32-make: *** [debug] Error 2
21:27:01: The process "C:\Qt\Tools\mingw492_32\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project untitled11 (kit: Desktop Qt 5.5.1 MinGW 32bit)
When executing step "Make"