README.md

gvector - Generalized vector/matrix for R

Build Status

With gvector you can create a list (with elements of different types) and make calculations the same way you do with a vector or a matrix.

polynomial = poly.from.roots(c(1,2,3)) # take a polynomial
value = 1.3 # take some value
A = V(polynomial, value) # make a vector out of them
# now, calculate !
B = A*A
C = diag(2) %*% A


llaniewski/gvector documentation built on May 21, 2019, 7:34 a.m.