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.

Usage

1
2
3
4
5
6
7
8
9
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.


renozao/NMF documentation built on June 14, 2020, 9:35 p.m.