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

Vector transpose. More...

#include <Vector.h>

Public Member Functions

 VectorTranspose (const Vector< T > &vector)
 Constructs vector transpose representation of a specified vector.
 
int len () const
 Length of the vector.
 
const T * ptrData () const
 Retrieves the pointer to the beginning of the vector.
 
int stride2 () const
 Stride in bytes between the elements in the vector.
 

Detailed Description

template<typename T>
class blo::VectorTranspose< T >

Vector transpose.

Template Parameters
TData type.

Constructor & Destructor Documentation

◆ VectorTranspose()

template<typename T >
blo::VectorTranspose< T >::VectorTranspose ( const Vector< T > &  vector)
explicit

Constructs vector transpose representation of a specified vector.

Parameters
vectorThe source vector.

Member Function Documentation

◆ len()

template<typename T >
int blo::VectorTranspose< T >::len ( ) const

Length of the vector.

Returns
Length of the vector.

◆ ptrData()

template<typename T >
const T * blo::VectorTranspose< T >::ptrData ( ) const

Retrieves the pointer to the beginning of the vector.

Returns
Pointer to the beginning of the vector.

◆ stride2()

template<typename T >
int blo::VectorTranspose< T >::stride2 ( ) const

Stride in bytes between the elements in the vector.

Returns
Stride in bytes between the elements in the vector.

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