MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
cholmod_workspace.hpp File Reference
#include <memory>
#include <stdexcept>
#include <cholmod.h>

Classes

struct  mtl::interface::detail::cholmod_common_deleter
 Calls cholmod_finish, which frees the common's workspace, then the struct. More...

Namespaces

namespace  mtl
namespace  mtl::interface
namespace  mtl::interface::detail

Typedefs

using mtl::interface::detail::cholmod_workspace = std::unique_ptr<cholmod_common, cholmod_common_deleter>
 A heap cholmod_common that moves as a pointer and is finished exactly once.

Functions

cholmod_workspace mtl::interface::detail::make_cholmod_workspace ()
 A started workspace.
template<typename Common = cholmod_common>
cholmod_workspace mtl::interface::detail::make_solve_workspace (const Common &settings)
 A fresh workspace for one solve, so that concurrent solves on one const solver share no mutable state (#839).