ops
Operations A fast lite & memory efficient Scientific Computing for php
Tags
Table of Contents
- abs() : matrix|vector
- acos() : matrix|vector
- asin() : matrix|vector
- atan() : matrix|vector
- ceil() : matrix|vector
- clip() : matrix
- Clip the elements in the matrix to be between given minimum and maximum and return a new matrix.
- clipLower() : matrix
- Clip the matrix|vector to be lower bounded by a given minimum.
- clipUpper() : matrix
- Clip the matrix|vector to be upper bounded by a given maximum.
- copy() : matrix|vector
- make a copy of matrix|vector;
- cos() : matrix|vector
- degToRad() : matrix|vector
- exp() : matrix|vector
- exp1() : matrix|vector
- floor() : matrix|vector
- free() : void
- log() : matrix|vector
- log1p() : matrix|vector
- map() : matrix|vector
- Run a function over all of the elements in the matrix|vector.
- max() : matrix|vector
- Return the element-wise maximum of two matrices| two vectors.
- min() : matrix|vector
- Return the element-wise minimum of two matrices|two vectors.
- radToDeg() : matrix|vector
- reshape() : matrix
- return a reshaped data buffer as matrix
- sin() : matrix|vector
- sqrt() : matrix|vector
- tan() : matrix|vector
Methods
abs()
public
abs() : matrix|vector
Return values
matrix|vector —acos()
public
acos() : matrix|vector
Return values
matrix|vector —asin()
public
asin() : matrix|vector
Return values
matrix|vector —atan()
public
atan() : matrix|vector
Return values
matrix|vector —ceil()
public
ceil() : matrix|vector
Return values
matrix|vector —clip()
Clip the elements in the matrix to be between given minimum and maximum and return a new matrix.
public
clip(float $min, float $max) : matrix
Parameters
- $min : float
- $max : float
Return values
matrix —clipLower()
Clip the matrix|vector to be lower bounded by a given minimum.
public
clipLower(float $min) : matrix
Parameters
- $min : float
Return values
matrix —clipUpper()
Clip the matrix|vector to be upper bounded by a given maximum.
public
clipUpper(float $max) : matrix
Parameters
- $max : float
Return values
matrix —copy()
make a copy of matrix|vector;
public
copy() : matrix|vector
Return values
matrix|vector —cos()
public
cos() : matrix|vector
Return values
matrix|vector —degToRad()
public
degToRad() : matrix|vector
Return values
matrix|vector —exp()
public
exp() : matrix|vector
Return values
matrix|vector —exp1()
public
exp1() : matrix|vector
Return values
matrix|vector —floor()
public
floor() : matrix|vector
Return values
matrix|vector —free()
public
free() : void
Return values
void —log()
public
log([float $b = M_E ]) : matrix|vector
Parameters
- $b : float = M_E
Return values
matrix|vector —log1p()
public
log1p() : matrix|vector
Return values
matrix|vector —map()
Run a function over all of the elements in the matrix|vector.
public
map(callable $func) : matrix|vector
Parameters
- $func : callable
Return values
matrix|vector —max()
Return the element-wise maximum of two matrices| two vectors.
public
max(matrix|vector $d) : matrix|vector
Parameters
Return values
matrix|vector —min()
Return the element-wise minimum of two matrices|two vectors.
public
min(matrix|vector $d) : matrix|vector
Parameters
Return values
matrix|vector —radToDeg()
public
radToDeg() : matrix|vector
Return values
matrix|vector —reshape()
return a reshaped data buffer as matrix
public
reshape(int $row, int $col) : matrix
Parameters
- $row : int
- $col : int
Return values
matrix —sin()
public
sin() : matrix|vector
Return values
matrix|vector —sqrt()
public
sqrt() : matrix|vector
Return values
matrix|vector —tan()
public
tan() : matrix|vector