void gemm(Matrix& result, double beta, const Matrix& left, bool transposeLeft, double alpha, const Matrix& right, bool transposeRight) { assert(left.isLeadingDimensionContiguous()); assert(right.isLeadingDimensionContiguous()); assert(result.isLeadingDimensionContiguous()); gemm(DynamicView(result), beta, ConstDynamicView(left), transposeLeft, alpha, ConstDynamicView(right), transposeRight); }
XyzGL::XyzGL(const QGLFormat& format,int view_type , QWidget* parent ,XyzWindow *mainWindow): QGLWidget(format,parent) { qDebug()<<"XyzGL"; mWin = mainWindow; mMousePressed = false; mClosing = false; mFirstDraw = true; mViewtype = view_type; mIsDynamicView = false; mViewTimer = new QTimer(this); mWay = LEFT; connect(mViewTimer , SIGNAL(timeout()) , this , SLOT(DynamicView())); connect(this , SIGNAL(ChangeView()) , mWin , SLOT(UpdateToolBar())); }