Learn R Programming

bigalgebra (version 3.0.0)

dnrm2: Euclidean norm (2-norm)

Description

Euclidean norm (2-norm)

Usage

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

Value

Numeric scalar containing the Euclidean norm.

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`.