banded_nonstat_ip: Inner Product of an Observation with itself through a...

View source: R/cvband_nonstat.R

banded_nonstat_ipR Documentation

Inner Product of an Observation with itself through a Non-stationary Banded Covariace

Description

Inner Product of an Observation with itself through a Non-stationary Banded Covariace

Usage

banded_nonstat_ip(X, B)

Arguments

X

observation, a K1 x K2 matrix

B

banded non-stationary covariance in the form of output of banded_nonstat_est()

Value

the inner product, i.e. a number

Examples

X <- array(runif(20*3*4), c(20,3,4))
B <- banded_nonstat_est(X,2)
banded_nonstat_ip(X[1,,],B)

TMasak/surfcov documentation built on April 25, 2022, 12:15 a.m.