cplusplus: Wrappers to c calls

Description Usage Arguments Details Value Author(s)

Description

Various low-level wrappers to c calls, courtesy of Rcpp

Usage

1
2
3
4
5
6
7
overwrite(L1, powers1, L2, powers2)
accessor(L,powers,Lwanted)
assigner(L,p,L2,value)
addL(L1,p1,L2,p2)
identityL(L,p)
evaluate(L,powers,probs)
differentiate(L, powers, probs, n)

Arguments

L,L1,L2,Lwanted

Lists with integer vector elements, used to specify the brackets of the hyperdirichlet distribution

p,p1,p2,powers,powers1,powers2

A numeric vector specifying the powers to which the brackets are raised

value

RHS in assignment, a numeric vector

probs

Vector of probabilities for evaluation of log-likelihood

n

Integer specifying component to differentiate with respect to

Details

These functions are not really intended for the end-user, as out-of-scope calls may cause crashes.

Value

These functions return a named List

Author(s)

Robin K. S. Hankin


hyper2 documentation built on Aug. 10, 2018, 1:15 a.m.