tatami
C++ API for different matrix representations
Loading...
Searching...
No Matches
Namespaces | Functions
wrap_shared_ptr.hpp File Reference

Wrap a raw tatami::Matrix pointer inside a mock shared pointer. More...

Go to the source code of this file.

Namespaces

namespace  tatami
 Flexible representations for matrix data.
 

Functions

template<typename Value_ , typename Index_ >
std::shared_ptr< const Matrix< Value_, Index_ > > tatami::wrap_shared_ptr (const Matrix< Value_, Index_ > *ptr)
 

Detailed Description

Wrap a raw tatami::Matrix pointer inside a mock shared pointer.