Lines Matching defs:PBQPNum
21 typedef float PBQPNum;
30 : Length(Length), Data(new PBQPNum[Length]) {
36 Vector(unsigned Length, PBQPNum InitVal)
37 : Length(Length), Data(new PBQPNum[Length]) {
46 : Length(V.Length), Data(new PBQPNum[Length]) {
71 Data = new PBQPNum[Length];
101 PBQPNum& operator[](unsigned Index) {
108 const PBQPNum& operator[](unsigned Index) const {
118 std::transform(Data, Data + Length, V.Data, Data, std::plus<PBQPNum>());
126 std::transform(Data, Data + Length, V.Data, Data, std::minus<PBQPNum>());
138 PBQPNum *Data;
170 Rows(Rows), Cols(Cols), Data(new PBQPNum[Rows * Cols]) {
175 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal)
176 : Rows(Rows), Cols(Cols), Data(new PBQPNum[Rows * Cols]) {
182 : Rows(M.Rows), Cols(M.Cols), Data(new PBQPNum[Rows * Cols]) {
200 Data = new PBQPNum[Rows * Cols];
237 PBQPNum* operator[](unsigned R) {
244 const PBQPNum* operator[](unsigned R) const {
269 Matrix& reset(PBQPNum Val = 0) {
276 Matrix& setRow(unsigned R, PBQPNum Val) {
284 Matrix& setCol(unsigned C, PBQPNum Val) {
320 std::plus<PBQPNum>());
332 PBQPNum getRowMin(unsigned R) const {
339 PBQPNum getColMin(unsigned C) const {
341 PBQPNum MinElem = (*this)[0][C];
349 Matrix& subFromRow(unsigned R, PBQPNum Val) {
354 std::bind2nd(std::minus<PBQPNum>(), Val));
359 Matrix& subFromCol(unsigned C, PBQPNum Val) {
370 std::bind2nd(std::not_equal_to<PBQPNum>(), 0)) ==
376 PBQPNum *Data;