Learn R Programming

matrixdist (version 1.1.9)

vector_of_powers: Computes elements A^n until the given size

Description

Computes elements A^n until the given size

Usage

vector_of_powers(A, vect_size)

Arguments

A

A matrix.

vect_size

Size of vector.