LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::pivot_mag< T > Struct Template Reference

The ordered type the pivot search compares in. More...

#include <line/util/lu.h>

Inheritance diagram for line::pivot_mag< T >:

Public Types

using type = T

Static Public Member Functions

static type of (const T &x)

Detailed Description

template<class T>
struct line::pivot_mag< T >

The ordered type the pivot search compares in.

It is T itself for every ordered field, so the real instantiations compile to the same code as before. A complex element type has no order, and its specialization (in line/num/complex_number.h) reduces to the real modulus – which is what MATLAB's own pivot rule uses on a complex matrix.

Definition at line 38 of file lu.h.

Member Typedef Documentation

◆ type

template<class T>
using line::pivot_mag< T >::type = T

Definition at line 39 of file lu.h.

Member Function Documentation

◆ of()

template<class T>
type line::pivot_mag< T >::of ( const T & x)
inlinestatic

Definition at line 40 of file lu.h.

References line::num_abs().

Referenced by line::lu_det(), and line::lu_factor().


The documentation for this struct was generated from the following file:
  • include/line/util/lu.h