sf.math.matvec¶
- math.matvec(b)¶
The matrix vector product of
a(matrix) andb(vector).- Parameters:
a (
ndarray[Tuple[int,int],Union[TypeVar(R,float16,float32,float64),TypeVar(C,complex64,complex128),TypeVar(Z,int16,int32,int64),TypeVar(N,uint16,uint32,uint64)]]) – The matrix to multiplyb (
ndarray[Tuple[int],Union[TypeVar(R,float16,float32,float64),TypeVar(C,complex64,complex128),TypeVar(Z,int16,int32,int64),TypeVar(N,uint16,uint32,uint64)]]) – The vector to multiply
- Return type:
ndarray[Tuple[int,...],Union[TypeVar(R,float16,float32,float64),TypeVar(C,complex64,complex128),TypeVar(Z,int16,int32,int64),TypeVar(N,uint16,uint32,uint64)]]- Returns:
The matrix vector product of
aandb
code/api/mrmustard.math.matvec
Download Python script
Download Notebook
View on GitHub