akreon-convex
Typed convex modeling, conic canonicalization, and primal-dual optimization in C++26.
Loading...
Searching...
No Matches
convex::TraceWeights< Mat > Struct Template Reference

TraceWeights for non symmetric square matrix. More...

#include <trace.hpp>

Public Types

using T = linalg::space_type_t< Mat >
 alias and type extractions
 
using Vec = linalg::Vector< T, Dim >
 

Static Public Member Functions

static constexpr auto make ()
 make helper to form weights for trace objective
 

Static Public Attributes

static constexpr std::size_t N = linalg::mat_rows_v<Mat>
 
static constexpr std::size_t Dim = linalg::space_dim_v<Mat>
 

Detailed Description

template<linalg::SquareMatrix Mat>
requires (!linalg::is_symmetric_matrix_space_v<Mat>)
struct convex::TraceWeights< Mat >

TraceWeights for non symmetric square matrix.

Definition at line 20 of file trace.hpp.

Member Typedef Documentation

◆ T

template<linalg::SquareMatrix Mat>
using convex::TraceWeights< Mat >::T = linalg::space_type_t<Mat>

alias and type extractions

Definition at line 22 of file trace.hpp.

◆ Vec

template<linalg::SquareMatrix Mat>
using convex::TraceWeights< Mat >::Vec = linalg::Vector<T, Dim>

Definition at line 25 of file trace.hpp.

Member Function Documentation

◆ make()

template<linalg::SquareMatrix Mat>
static constexpr auto convex::TraceWeights< Mat >::make ( )
inlinestaticconstexpr

make helper to form weights for trace objective

Definition at line 28 of file trace.hpp.

References convex::dom_size_v.

Member Data Documentation

◆ Dim

template<linalg::SquareMatrix Mat>
constexpr std::size_t convex::TraceWeights< Mat >::Dim = linalg::space_dim_v<Mat>
staticconstexpr

Definition at line 24 of file trace.hpp.

◆ N

template<linalg::SquareMatrix Mat>
constexpr std::size_t convex::TraceWeights< Mat >::N = linalg::mat_rows_v<Mat>
staticconstexpr

Definition at line 23 of file trace.hpp.


The documentation for this struct was generated from the following file: