akreon-convex
Typed convex modeling, conic canonicalization, and primal-dual optimization in C++26.
Loading...
Searching...
No Matches
trace.hpp File Reference
#include "akreon/linalg/operator/operator_traits.hpp"
#include "weighted_sum.hpp"
Include dependency graph for trace.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  convex::TraceWeights< Mat >
 TraceWeights for non symmetric square matrix. More...
 
struct  convex::TraceWeights< linalg::SymmetricMatrix< Mat > >
 TraceWeights for symmetric square matrix. More...
 
struct  convex::Trace< Space >
 Trace objective. More...
 

Namespaces

namespace  convex
 

Functions

template<AtomLike Var>
constexpr auto convex::make_trace (const Var &X)
 make trace objective with domain deduced from variable atom.
 
template<std::size_t Offset, linalg::RnSpace TraceSpace, AtomLike Var>
constexpr auto convex::make_trace_block (const Var &X)
 make trace objective over a matrix block inside a merged variable.