Learn R Programming

spatsurv (version 2.0)

circulantij: circulantij function

Description

A function to return the "idx" i.e. c(i,j) element of a circulant matrix with base "base".

Usage

circulantij(idx, base)

Value

the ij element of the full circulant

Arguments

idx

vector of length 2 th (i,j) (row,column) index to return

base

the base matrix of a circulant matrix