snrm2.f(3)

πŸ“¦ version 3.9.0, in centos-stream 9

Okay bestie, welcome to snrm2.f(3) from the LAPACK manual πŸ’–. This page is all about snrm2.f, and it's giving β€œshort, iconic, and the math is literally in the name.” Let's go.

🌸 NAME 🌸

snrm2.f β€” that's the name, no cap. This is the manual page for the snrm2.f file and the snrm2 function/subroutine documented inside it.

✨ SYNOPSIS ✨

🫢 Functions/Subroutines 🫢

real function snrm2 (N, X, INCX)
    SNRM2

πŸ’… Function/Subroutine Documentation πŸ’…

Here's the full signature, exactly as the page gives it:

real function snrm2 (integer N, real, dimension(*) X, integer INCX)
    SNRM2

🎯 Purpose: 🎯

Okay so the purpose is very β€œthe name says it”: SNRM2 returns the euclidean norm of a vector via the function name, so that the math lands as:

SNRM2 := sqrt( x'*x ).

That's the whole vibe. πŸ’–

πŸ“ Parameters: πŸ“

  • N β€” N is INTEGER, and it's the number of elements in input vector(s).
  • X β€” X is REAL array, dimension ( 1 + ( N - 1 )*abs( INCX ) ).
  • INCX β€” INCX is INTEGER, the storage spacing between elements of SX. Yes, the original really says SX here β€” keep that exact detail, bestie. 🫢

πŸ‘‘ Author: πŸ‘‘

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

🌈 Date: 🌈

November 2017

πŸ”₯ Further Details: πŸ”₯

  -- This version written on 25-October-1982.
     Modified on 14-October-1993 to inline the call to SLASSQ.
     Sven Hammarling, Nag Ltd.

Definition at line 76 of file snrm2.f.

🧚 Author 🧚

Generated automatically by Doxygen for LAPACK from the source code.


That's the whole page, bestie 🫢. Cute little footer recap: snrm2.f(3), LAPACK Version 3.8.0, dated Tue Nov 14 2017. Periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from