prepare_basis: Evaluate basis objects over observation times and quadrature...

Description Usage Arguments Value

View source: R/PCODE.R

Description

Calculate all basis functions over observation time points and store them as columns in a single matrix for each dimension. Also include first and second order derivative. Repeat over quadrature points.

Usage

1
prepare_basis(basis, times, nquadpts)

Arguments

basis

A basis object.

times

The vector contain observation times for corresponding dimension.

nquadpts

Number of quadrature points will be used later for approximating integrals.

Value

Phi.mat

Evaluations of all basis functions stored as columns in the matrix.

Qmat

Evaluations of all basis functions over quadrature points stored as columns in the matrix.

Q.D1mat

Evaluations of first order derivative all basis functions over quadrature points stored as columns in the matrix.

Q.D2mat

Evaluations of second order derivative all basis functions over quadrature points stored as columns in the matrix.

quadts

Quadrature points.

quadwts

Quadrature weights.


Aleks1123/PCODE documentation built on Nov. 24, 2019, 7:50 p.m.