inplace: Updating Objects In Place

Description Usage Arguments Details

Description

These functions modify objects (mainly matrix objects) in place, i.e. they act directly on the C pointer. Due to their side-effect, they are not meant to be called by the end-user.

neq.constraints.inplace apply unequality constraints in place.

Usage

1
2
3
4
  pmax.inplace(x, lim, skip = NULL)

  neq.constraints.inplace(x, constraints, ratio = NULL,
    value = NULL, copy = FALSE)

Arguments

x

an object to update in place.

lim

lower threshold value

skip

indexes to skip

constraints

constraint specification.

ratio

fixed ratio on which the constraint applies.

value

fixed value to enforce.

copy

a logical that indicates if x should be updated in place or not.

Details

pmax.inplace is a version of pmax that updates its first argument.


NMF documentation built on Aug. 1, 2020, 9:06 a.m.