MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::array::detail_interop Namespace Reference

Functions

void require (bool ok, const char *what)
 A precondition of the zero-copy views, checked in every build: a strided array aliased as a dense vector or matrix reads the wrong elements (#856: it was an assert).

Function Documentation

◆ require()

void mtl::array::detail_interop::require ( bool ok,
const char * what )
inline

A precondition of the zero-copy views, checked in every build: a strided array aliased as a dense vector or matrix reads the wrong elements (#856: it was an assert).