convolve
in package
Convolve
1D & 2D SignalProcessing in pure php
Tags
Table of Contents
- conv1D() : vector
- 1D convolution between a vector v and kernel k, with a given stride.
- conv2D() : matrix
- 2D convolution between a matrix ma and kernel kb, with a given stride.
Methods
conv1D()
1D convolution between a vector v and kernel k, with a given stride.
public
static conv1D(vector $v, vector $k[, int $stride = 1 ]) : vector
Parameters
Tags
Return values
vector —conv2D()
2D convolution between a matrix ma and kernel kb, with a given stride.
public
static conv2D(matrix $ma, matrix $kb[, int $stride = 1 ]) : matrix