This might help: In-place matrix transposition.
(You might also have to do some mirroring after the transposition, as rlbond mentions).
More Related Contents:
- Access of register STM32 CAN communication
- C pointer to another struct
- Unit Testing C Code [closed]
- What does this GCC error “… relocation truncated to fit…” mean?
- Difference between const & const volatile
- Static allocation of opaque data types
- How to prevent system hang before watchdog timer task kicks in
- Set ALSA master volume from C code
- How do I gaussian blur an image without using any in-built gaussian functions?
- How do you implement a class in C? [closed]
- Why are global variables bad, in a single threaded, non-os, embedded application
- Rotate cv::Mat using cv::warpAffine offsets destination image
- implementation of rand()
- Floating point linear interpolation
- Intersection of two lines defined in (rho/theta ) parameterization
- Fixed address variable in C
- Is there a way to convert from UTF8 to ISO-8859-1?
- Convert ASM to C (not reverse engineer)
- STM32 how to get last reset status
- Multiple assignment in one line
- Algorithm to pick values from array that sum closest to a target value?
- How to "LoadLibrary" in C? [closed]
- What is short-circuit evaluation in C?
- typedef pointer const weirdness
- Is the behaviour of casting a negative double to unsigned int defined in the C standard? Different behaviour on ARM vs. x86
- Using memset for integer array in C
- CMake cross-compiling: C flags from toolchain file ignored
- zero length arrays [duplicate]
- How to do an specific action when a certain breakpoint is hit in GDB?
- GCC – no warning about an uninitialized array with -O0