@private
| 1252 | |
| 1253 | /// @private |
| 1254 | static inline CompMatr _createInlineCompMatr(int numQb, qcomp elems[1<<numQb][1<<numQb]) { |
| 1255 | _validateParamsToCreateInlineCompMatr(numQb); |
| 1256 | CompMatr out = createCompMatr(numQb); // malloc failures will report 'createCompMatr', rather than 'inline' version. Alas! |
| 1257 | _setCompMatrFromArr(out, elems); |
| 1258 | return out; |
| 1259 | } |
| 1260 | |
| 1261 | /// @private |
| 1262 | static inline DiagMatr _createInlineDiagMatr(int numQb, qcomp elems[1<<numQb]) { |
nothing calls this directly
no test coverage detected