Functions for obtaining fixed-size matrices.
More...
Functions for obtaining fixed-size matrices.
◆ getCompMatr1() [1/2]
◆ getCompMatr1() [2/2]
| static CompMatr1 getCompMatr1 |
( |
qcomp | in[2][2] | ) |
|
|
inlinestatic |
- Note
- Documentation for this function or struct is under construction!
Definition at line 950 of file matrices.h.
950{ return _getCompMatr1FromArr(in); }
◆ getCompMatr2() [1/2]
- Note
- Documentation for this function or struct is under construction!
- See also
-
Definition at line 837 of file matrices.h.
837 {
838 _validateNewNestedElemsPtrNotNull(in, 2, __func__);
839
841
844 for (int r=0; r<4; r++)
845 for (int c=0; c<4; c++)
846 out.
elems[r][c] = in[r][c];
847
848 return out;
849}
Referenced by applyMultiStateControlledSqrtSwap().
◆ getCompMatr2() [2/2]
| static CompMatr2 getCompMatr2 |
( |
qcomp | in[4][4] | ) |
|
|
inlinestatic |
- Note
- Documentation for this function or struct is under construction!
Definition at line 955 of file matrices.h.
955{ return _getCompMatr2FromArr(in); }
◆ getDiagMatr1()
◆ getDiagMatr2()
- Note
- Documentation for this function or struct is under construction!
- See also
-
Definition at line 889 of file matrices.h.
889 {
890 _validateNewElemsPtrNotNull(in, __func__);
891
893
896 for (int i=0; i<4; i++)
897 out.
elems[i] = in[i];
898
899 return out;
900}
◆ getInlineCompMatr1()
| CompMatr1 getInlineCompMatr1 |
( |
{{ matrix }} | | ) |
|
- Note
- Documentation for this function or struct is under construction!
-
This entity is actually a macro.
- See also
-
◆ getInlineCompMatr2()
| CompMatr2 getInlineCompMatr2 |
( |
{{ matrix }} | | ) |
|
- Note
- Documentation for this function or struct is under construction!
-
This entity is actually a macro.
- See also
-
◆ getInlineDiagMatr1()
- Note
- Documentation for this function or struct is under construction!
-
This entity is actually a macro.
- See also
-
◆ getInlineDiagMatr2()
- Note
- Documentation for this function or struct is under construction!
-
This entity is actually a macro.
- See also
-