The blo Library
Loading...
Searching...
No Matches
Public Member Functions | List of all members
blo::SmallMatrixTranspose< T, M, N > Class Template Reference

Small matrix transpose. More...

#include <SmallMatrix.h>

Public Member Functions

 SmallMatrixTranspose (const SmallMatrix< T, M, N > &matrix)
 Constructs matrix transpose representation of a specified matrix.
 
const T * ptrData () const
 Retrieves the pointer to the beginning of the matrix.
 
int rows () const
 Number of rows in the matrix.
 
int columns () const
 Number of columns in the matrix.
 
int stride1 () const
 Stride in bytes between the rows in the matrix.
 
int ld () const
 Leading dimension between the rows in the matrix.
 
int stride2 () const
 Stride in bytes between the elements in the matrix.
 

Detailed Description

template<typename T, size_t M, size_t N>
class blo::SmallMatrixTranspose< T, M, N >

Small matrix transpose.

Template Parameters
TData type.
MNumber of rows.
NNumber of columns.

Constructor & Destructor Documentation

◆ SmallMatrixTranspose()

template<typename T , size_t M, size_t N>
blo::SmallMatrixTranspose< T, M, N >::SmallMatrixTranspose ( const SmallMatrix< T, M, N > &  matrix)
explicit

Constructs matrix transpose representation of a specified matrix.

Parameters
matrixThe source matrix.

Member Function Documentation

◆ columns()

template<typename T , size_t M, size_t N>
int blo::SmallMatrixTranspose< T, M, N >::columns ( ) const

Number of columns in the matrix.

Returns
Number of columns in the matrix.

◆ ld()

template<typename T , size_t M, size_t N>
int blo::SmallMatrixTranspose< T, M, N >::ld ( ) const

Leading dimension between the rows in the matrix.

Returns
Leading dimension between the rows in the matrix.

◆ ptrData()

template<typename T , size_t M, size_t N>
const T * blo::SmallMatrixTranspose< T, M, N >::ptrData ( ) const

Retrieves the pointer to the beginning of the matrix.

Returns
Pointer to the beginning of the matrix.

◆ rows()

template<typename T , size_t M, size_t N>
int blo::SmallMatrixTranspose< T, M, N >::rows ( ) const

Number of rows in the matrix.

Returns
Number of rows in the matrix.

◆ stride1()

template<typename T , size_t M, size_t N>
int blo::SmallMatrixTranspose< T, M, N >::stride1 ( ) const

Stride in bytes between the rows in the matrix.

Returns
Stride in bytes between the rows in the matrix.

◆ stride2()

template<typename T , size_t M, size_t N>
int blo::SmallMatrixTranspose< T, M, N >::stride2 ( ) const

Stride in bytes between the elements in the matrix.

Returns
Stride in bytes between the elements in the matrix.

The documentation for this class was generated from the following file: