Globals Library 1.0
Loading...
Searching...
No Matches
norms::abs_norm Type Referenceabstract

Abstract type for the definition of the procedure for the evaluation of the norm of a vector. More...

Inheritance diagram for norms::abs_norm:
norms::dir_norm norms::euc_norm

Public Member Functions

procedure(compute_norm), deferred, public eval_norm (this, nvec, vec, scr)
 Abstract procedure for the evaluation of the norm.
 

Detailed Description

Abstract type for the definition of the procedure for the evaluation of the norm of a vector.


General definition of norm of a vector function

Example:

  • \(\| v \| = \sqrt{\sum_{i} v_i^2}\)
  • \(\| v \| = \sqrt{\sum_{i \ni D} v_i^2}\), where \(D\) is a set of indices
  • \(\| v \| = \sqrt{ v^{\top} G v }\), for a metric \(G\)

Member Function/Subroutine Documentation

◆ eval_norm()

procedure(compute_norm), deferred, public norms::abs_norm::eval_norm ( class(abs_norm), intent(inout) this,
integer, intent(in) nvec,
real(kind=double), dimension(nvec), intent(in) vec,
real(kind=double), dimension(nvec), intent(inout), optional scr )
pure virtual

Abstract procedure for the evaluation of the norm.


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