Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Eigen::internal::rcond_compute_sign< Vector, RealVector, IsComplex > Struct Template Reference

#include <src/eigen/Eigen/src/Core/ConditionEstimator.h>

Static Public Member Functions

static Vector run (const Vector &v)
 

Detailed Description

template<typename Vector, typename RealVector, bool IsComplex>
struct Eigen::internal::rcond_compute_sign< Vector, RealVector, IsComplex >

Member Function Documentation

◆ run()

template<typename Vector , typename RealVector , bool IsComplex>
static Vector Eigen::internal::rcond_compute_sign< Vector, RealVector, IsComplex >::run ( const Vector &  v)
inlinestatic
19 {
20 const RealVector v_abs = v.cwiseAbs();
21 return (v_abs.array() == static_cast<typename Vector::RealScalar>(0))
22 .select(Vector::Ones(v.size()), v.cwiseQuotient(v_abs));
23 }

Referenced by Eigen::internal::rcond_invmatrix_L1_norm_estimate().

+ Here is the caller graph for this function:

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