dnrm2: Euclidean norm (2-norm)

View source: R/blas_extras.R

dnrm2R Documentation

Euclidean norm (2-norm)

Description

Euclidean norm (2-norm)

Usage

dnrm2(N = NULL, X, INCX = 1L)

Arguments

N

Optional integer giving the number of elements. Defaults to 'length(X)'.

X

Double-precision vector, matrix or ['bigmemory::big.matrix'] input.

INCX

Integer stride for traversing 'X'.

Value

Numeric scalar containing the Euclidean norm.


bigalgebra documentation built on Sept. 9, 2026, 5:12 p.m.