dsum: Sum of elements

View source: R/blas_extras.R

dsumR Documentation

Sum of elements

Description

Sum of elements

Usage

dsum(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 giving the sum of elements of 'X'.


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