Learn R Programming

SSM (version 1.0.1)

get.K.element: Compute entry of K matrix.

Description

Called by construct.K to compute entries of the K matrix.

Usage

get.K.element(n, m, basis)

Arguments

n

A number. Identifies the first basis element in the inner product.

m

A number. Identifies the second basis element in the inner product.

basis

A matrix. Rows are taken as exponent vectors.

Value

The inner product of the \(n, m\)-th basis elements as defined for construct.K.