alpaqa 1.0.0a17
Nonconvex constrained optimization
Loading...
Searching...
No Matches
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
\( \left\|v\right\|_\infty \)

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
\( \left\|v\right\|_1 \)

Definition at line 210 of file config.hpp.

+ Here is the caller graph for this function: