| 122 | } |
| 123 | |
| 124 | void |
| 125 | MatrixVariable::setMatrixSize( |
| 126 | Variable *rows, |
| 127 | Variable *columns, |
| 128 | Variable *ld, |
| 129 | Variable *off) |
| 130 | { |
| 131 | if ((rows == NULL) || (columns == NULL)) { |
| 132 | return; |
| 133 | } |
| 134 | rows_ = rows; |
| 135 | columns_ = columns; |
| 136 | ld_ = ld; |
| 137 | off_ = off; |
| 138 | matrixPointer_ = name_; |
| 139 | if (off != NULL) { |
| 140 | matrixPointer_ += " + " + off_->name(); |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | void |
| 145 | VectorVariable::setVectorSize( |