R/inner.R

Defines functions inner

Documented in inner

#' @export
inner <- function(w,v){
	(Conj(t(w)) %*% v)[1]			#[1,1] is to take element out of "matrix", it's a scaler
}

Try the QuantumOps package in your browser

Any scripts or data that you put into this service are public.

QuantumOps documentation built on Feb. 3, 2020, 5:07 p.m.