fgentrig: Generation of sine and cosine functions

Description Usage Arguments Value Examples

View source: R/fgentrig.R

Description

Generates sin(pi*j*(1:n)/n) (odd) and cos(pi*j*(1:n)/n) (even) for j=1,...,m for a given sample size n.

Usage

1
fgentrig(n,m)

Arguments

n

Sample size

m

Maximum order of sine and cosine functions

Value

x The functions sin(pi*j*(1:n)/n) (odd) and cos(pi*j*(1:n)/n) (even) for j=1,...,m.

Examples

1
trig<-fgentrig(36,36)

gausscov documentation built on Jan. 17, 2022, 9:06 a.m.

Related to fgentrig in gausscov...