batmat 0.0.15
Batched linear algebra routines
Loading...
Searching...
No Matches
transpose.hpp File Reference
#include <batmat/assume.hpp>
#include <batmat/config.hpp>
#include <batmat/simd.hpp>
#include <batmat/unroll.h>

Go to the source code of this file.

Transposition

template<index_t R, index_t C, class T>
void batmat::ops::transpose_dyn (const T *pa, index_t lda, T *pb, index_t ldb, index_t d=R)
 Transposes the R × C matrix at pa with leading dimension lda, writing the result to pb with leading dimension ldb, writing only the d first columns of the result.
template<index_t R, index_t C, class T>
void batmat::ops::transpose (const T *pa, index_t lda, T *pb, index_t ldb)
 Transposes the R × C matrix at pa with leading dimension lda, writing the result to pb with leading dimension ldb.

Namespaces

namespace  batmat
namespace  batmat::ops