Overview

Workspace queries and the explicit-inverse helper.

Functions

◆ inv_buffer_size()

template<Backend B, typename T>
size_t batchlas::inv_buffer_size ( Queue & ctx,
const MatrixView< T, MatrixFormat::Dense > & A )

Required workspace size, in bytes, for inv().

◆ cond_buffer_size()

template<Backend B, typename T, MatrixFormat MF>
requires RealScalar<T>
size_t batchlas::cond_buffer_size ( Queue & ctx,
const MatrixView< T, MF > & A,
const NormType norm_type )

Workspace bytes needed by the span overload of cond().

Instantiated only for T in {float, double} with MatrixFormat::Dense: a complex T is a compile error (requires RealScalar<T>), another format a link error.

Returns
size in bytes for the workspace argument of cond()