alpaqa 1.0.0a19
Nonconvex constrained optimization
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
Functions
alpaqa::vec_util Namespace Reference

Functions

template<class Derived >
requires (Derived::ColsAtCompileTime == 1)
auto norm_inf (const Eigen::MatrixBase< Derived > &v)
 Get the maximum or infinity-norm of the given vector.
 
template<class Derived >
requires (Derived::ColsAtCompileTime == 1)
auto norm_1 (const Eigen::MatrixBase< Derived > &v)
 Get the 1-norm of the given vector.
 

Function Documentation

◆ norm_inf()

template<class Derived >
requires (Derived::ColsAtCompileTime == 1)
auto norm_inf ( const Eigen::MatrixBase< Derived > &  v)

Get the maximum or infinity-norm of the given vector.

Returns
v

Definition at line 202 of file config.hpp.

+ Here is the caller graph for this function:

◆ norm_1()

template<class Derived >
requires (Derived::ColsAtCompileTime == 1)
auto norm_1 ( const Eigen::MatrixBase< Derived > &  v)

Get the 1-norm of the given vector.

Returns
v1

Definition at line 210 of file config.hpp.

+ Here is the caller graph for this function: