doc/tp2-vignette.R

## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## ----setup--------------------------------------------------------------------
library(tp2)

## -----------------------------------------------------------------------------

x <- v
y <- m

x
y


## -----------------------------------------------------------------------------

dot_product(x,y)

dot_product(y,x)

product_by_element(x,y)


## ----out.width = '100%'-------------------------------------------------------
knitr::include_graphics("../inst/big_flowers.png")
alexey-larionov/tp2 documentation built on April 15, 2022, 8:35 p.m.