A

ArithmeticTraitClass in namespace SciPhp\NdArray
Arithmetic methods
ArithmeticTrait::add() — Method in class ArithmeticTrait
Add a matrix or a number
AttributeTraitClass in namespace SciPhp\NdArray
Attribute methods for NdArray
VisitorTrait::axis() — Method in class VisitorTrait
Execute axis operations and return an aggregate
NumPhp::ar() — Method in class NumPhp
Construct a n-dimensional array
NumPhp::allNumeric() — Method in class NumPhp
Check that all values are numeric
ArithmeticTraitClass in namespace SciPhp\NumPhp
ArithmeticTrait::add() — Method in class ArithmeticTrait
Add two array_like
RangeTrait::arange() — Method in class RangeTrait
Creates a NdArray with a range of values

B

BasicTraitClass in namespace SciPhp\NdArray
Basics for NdArray
NumArrayTrait::broadcast_to() — Method in class NumArrayTrait
Broadcast an array to a new shape.

C

CholeskyTraitClass in namespace SciPhp\LinAlg
Choleski decomposition
CholeskyTrait::cholesky() — Method in class CholeskyTrait
Decomposition of a Hermitian, positive-definite matrix into the product of a lower triangular matrix
BasicTrait::copy() — Method in class BasicTrait
Create a copy
Decorator::copysign() — Method in class Decorator
Change the sign to that of given matrix, element-wise. {@link http://sciphp.org/ndarray.copysign}
Decorator::cos() — Method in class Decorator
Cosine element-wise. {@link http://sciphp.org/ndarray.cos}
ArithmeticTrait::colDot() — Method in class ArithmeticTrait
Browse p cols and sum products
FloatTrait::copysign() — Method in class FloatTrait
Change the sign of m-element to that of n-element, element-wise.
TrigonometricTrait::cos() — Method in class TrigonometricTrait
Cosine element-wise.
NumArrayTrait::createArray() — Method in class NumArrayTrait
Construct a n-dim array with a default value

D

DecoratorClass in namespace SciPhp\LinAlg
Multiple inheritance for LinAlg
$ NdArray#dataProperty in class NdArray
Access data as a PHP array.
ArithmeticTrait::divide() — Method in class ArithmeticTrait
Divide matrix by a given input, element-wise
ArithmeticTrait::dot() — Method in class ArithmeticTrait
Dot matrix with an input
$ AttributeTrait#dataProperty in class AttributeTrait
DecoratorClass in namespace SciPhp\NdArray
Multiple inheritance for NdArray
ArithmeticTrait::divide() — Method in class ArithmeticTrait
Divide two arrays, element-wise
ArithmeticTrait::dot() — Method in class ArithmeticTrait
Dot product of two arrays
DecoratorClass in namespace SciPhp\NumPhp
Multiple inheritance for NumPhp
DiagonalTraitClass in namespace SciPhp\NumPhp
Diagonal methods for NumPhp
DiagonalTrait::diag() — Method in class DiagonalTrait
Extract a diagonal or construct a diagonal array
DiagonalTrait::diagonal() — Method in class DiagonalTrait
Extract a diagonal
DiagonalTrait::diagflat() — Method in class DiagonalTrait
Create a two-dimensional array with the flattened input as a diagonal.
DecoratorClass in namespace SciPhp\Random
Multiple inheritance for Random

E

Decorator::expm1() — Method in class Decorator
Calculate exp(x) - 1 for all elements in the array. {@link http://sciphp.org/ndarray.expm1}
Decorator::exp2() — Method in class Decorator
Calculate 2**p for all p in the input array. {@link http://sciphp.org/ndarray.exp2}
DiagonalTrait::eye() — Method in class DiagonalTrait
Construct a diagonal array
ExponentTraitClass in namespace SciPhp\NumPhp
Exponent methods
ExponentTrait::exp() — Method in class ExponentTrait
Calculate the exponential of all elements in the input array.
ExponentTrait::expm1() — Method in class ExponentTrait
Calculate exp(x) - 1 for all elements in the array.
ExponentTrait::exp2() — Method in class ExponentTrait
Calculate 2**p for all p in the input array.
ExtensionsTraitClass in namespace SciPhp\NumPhp

F

FormatterClass in namespace SciPhp\NdArray
NdArray formatter
IndexTrait::filterGet() — Method in class IndexTrait
Get values from an element or a range
IndexTrait::filterSet() — Method in class IndexTrait
Assign values to an element or a range
IndexTrait::filterRange() — Method in class IndexTrait
Get range definition
DiagonalTrait::fromDiagonal() — Method in class DiagonalTrait
Construct a diagonal array
FileTraitClass in namespace SciPhp\NumPhp
File methods
FloatTraitClass in namespace SciPhp\NumPhp
Floating point methods
NumArrayTrait::full() — Method in class NumArrayTrait
Creates a NdArray with a default value
NumArrayTrait::full_like() — Method in class NumArrayTrait
Construct a new array with the same shape and type as a given array, filled with a given value

G

AttributeTrait::getSize() — Method in class AttributeTrait
Get the total number of elements of the array
AttributeTrait::getShape() — Method in class AttributeTrait
ShapeTrait::getShape() — Method in class ShapeTrait
Gets the dimensions of the array

I

InvalidAttributeExceptionClass in namespace SciPhp\Exception
Decorator::is_square() — Method in class Decorator
Is current matrix a square matrix. {@link http://sciphp.org/ndarray.is_square}
IndexInterfaceClass in namespace SciPhp\NdArray
Indexing constants
IndexTraitClass in namespace SciPhp\NdArray
Indexing methods for NdArray
IndexTrait::indexFilter() — Method in class IndexTrait
Prepare filter values
VisitorTrait::iterate() — Method in class VisitorTrait
Iterate on next value
DiagonalTrait::identity() — Method in class DiagonalTrait
Construct an identity array
DiagonalTrait::itemFromDiagonal() — Method in class DiagonalTrait
Fill a line among diagonal, offset and indexes
MatrixTrait::is_square() — Method in class MatrixTrait
Is given matrix a square matrix ?
TriangleTrait::itemTriu() — Method in class TriangleTrait
Fill zeros from first item to a position
TriangleTrait::itemTril() — Method in class TriangleTrait
Fill zeros from a position to the end of the array
TriangleTrait::itemTri() — Method in class TriangleTrait
Return a closure that fill a line item with ones
VanderTrait::itemVander() — Method in class VanderTrait
Apply decreasing power on each row values

L

LinAlgClass in namespace SciPhp
Linear algebra wrapper
Decorator::log() — Method in class Decorator
Natural logarithm, element-wise. {@link http://sciphp.org/ndarray.log}
Decorator::log10() — Method in class Decorator
Base-10 logarithm, element-wise. {@link http://sciphp.org/ndarray.log10}
Decorator::log2() — Method in class Decorator
Base-2 logarithm, element-wise. {@link http://sciphp.org/ndarray.log2}
ExtensionsTrait::linalg() — Method in class ExtensionsTrait
Loads Linear Algebra extension
FileTrait::loadtxt() — Method in class FileTrait
Load data from a text file.
LogarithmTraitClass in namespace SciPhp\NumPhp
LogarithmTrait::log() — Method in class LogarithmTrait
Natural logarithm, element-wise.
LogarithmTrait::log10() — Method in class LogarithmTrait
Base 10 logarithm, element-wise.
LogarithmTrait::log2() — Method in class LogarithmTrait
Base 2 logarithm, element-wise.
RangeTrait::linspace() — Method in class RangeTrait
RangeTrait::logspace() — Method in class RangeTrait
Creates a NdArray with a range of values

M

MessageClass in namespace SciPhp\Exception
Decorator::multiply() — Method in class Decorator
Multiply matrix by a given input, element-wise. {@link http://sciphp.org/ndarray.multiply}
ArithmeticTrait::multiply() — Method in class ArithmeticTrait
Multiply two arrays, element-wise
MatrixTraitClass in namespace SciPhp\NumPhp

N

NormsTraitClass in namespace SciPhp\LinAlg
Norms methods
NormsTrait::norm() — Method in class NormsTrait
Matrix or vector norm.
NdArrayClass in namespace SciPhp
Base array
$ NdArray#ndimProperty in class NdArray
Number of dimensions of an array.
Decorator::negative() — Method in class Decorator
Numerical negative, element-wise. {@link http://sciphp.org/ndarray.negative}
NumPhpClass in namespace SciPhp
Entry point for np calls.
MatrixTrait::negative() — Method in class MatrixTrait
Numerical negative, element-wise.
NumArrayTraitClass in namespace SciPhp\NumPhp
NumArrayTrait::nulls() — Method in class NumArrayTrait
Creates a NdArray with null as default value 'empty' can not be used in PHP
NumArrayTrait::nulls_like() — Method in class NumArrayTrait
Construct a new array of nulls with the same shape and type as a given array.

O

IndexTrait::offsetGet() — Method in class IndexTrait
Get a view by index
IndexTrait::offsetSet() — Method in class IndexTrait
Set a view by index
IndexTrait::offsetUnset() — Method in class IndexTrait
Remove a portion of the data array
IndexTrait::offsetExists() — Method in class IndexTrait
Check that an index is defined
NumArrayTrait::ones() — Method in class NumArrayTrait
Creates a NdArray with one as default value
NumArrayTrait::ones_like() — Method in class NumArrayTrait
Construct a new array of ones with the same shape and type as a given array.
OperationTraitClass in namespace SciPhp\NumPhp

P

Decorator::power() — Method in class Decorator
Matrix elements raised to powers. {@link http://sciphp.org/ndarray.power}
NumPhp::parseArgs() — Method in class NumPhp
Parse args as a tuple or an array
ExponentTrait::power() — Method in class ExponentTrait
Matrix elements raised to powers.

R

Decorator::reciprocal() — Method in class Decorator
Return the reciprocal of the argument, element-wise. {@link http://sciphp.org/ndarray.reciprocal}
ShapeTrait::ravel() — Method in class ShapeTrait
Flattens data array
ShapeTrait::resize() — Method in class ShapeTrait
Resize array
ShapeTrait::reshape() — Method in class ShapeTrait
Reshapes data
ArithmeticTrait::reciprocal() — Method in class ArithmeticTrait
Return the reciprocal of the argument, element-wise.
ArithmeticTrait::rowDot() — Method in class ArithmeticTrait
Browse p rows
ExtensionsTrait::random() — Method in class ExtensionsTrait
Loads Random generator extension
RangeTraitClass in namespace SciPhp\NumPhp
RandomClass in namespace SciPhp
Random sampling entry point
RandomStateTraitClass in namespace SciPhp\Random
Random generator methods.
RandomStateTrait::randn() — Method in class RandomStateTrait
Return a sample (or samples) from the “standard normal” distribution.
RandomStateTrait::rand() — Method in class RandomStateTrait
Random values in a given shape.
RandomStateTrait::randint() — Method in class RandomStateTrait
Return random integers from low (inclusive) to high (exclusive).

S

$ NdArray#sizeProperty in class NdArray
Number of elements of an array.
$ NdArray#shapeProperty in class NdArray
Tuple of array dimensions.
Decorator::signbit() — Method in class Decorator
Returns element-wise true where signbit is set (less than zero). {@link http://sciphp.org/ndarray.signbit}
Decorator::square() — Method in class Decorator
The element-wise square of the input. {@link http://sciphp.org/ndarray.square}
Decorator::sqrt() — Method in class Decorator
The non-negative square-root of an array, element-wise. {@link http://sciphp.org/ndarray.sqrt}
Decorator::sum() — Method in class Decorator
Sum all elements. {@link http://sciphp.org/ndarray.sum}
Decorator::subtract() — Method in class Decorator
Subtract input from matrix. {@link http://sciphp.org/ndarray.subtract}
Decorator::sin() — Method in class Decorator
Trigonometric sine, element-wise. {@link http://sciphp.org/ndarray.sin}
ShapeTraitClass in namespace SciPhp\NdArray
Shape methods for NdArray
ArithmeticTrait::subtract() — Method in class ArithmeticTrait
Subtract a matrix from matrix
ExponentTrait::square() — Method in class ExponentTrait
The element-wise square of the input.
ExponentTrait::sqrt() — Method in class ExponentTrait
The non-negative square-root of an array, element-wise.
FloatTrait::signbit() — Method in class FloatTrait
Returns element-wise true where signbit is set (less than zero).
TrigonometricTrait::sin() — Method in class TrigonometricTrait
Trigonometric sine, element-wise.
OperationTrait::sum() — Method in class OperationTrait
Sum all elements.

T

$ NdArray#TProperty in class NdArray
Permute the dimensions of an array.
Decorator::trace() — Method in class Decorator
Sum along diagonals {@link http://sciphp.org/ndarray.trace}.
Decorator::tril() — Method in class Decorator
Lower triangle of an array {@link http://sciphp.org/ndarray.tril}
Decorator::triu() — Method in class Decorator
Upper triangle of an array {@link http://sciphp.org/ndarray.triu}
Decorator::trapz() — Method in class Decorator
Integrate along the given axis using the composite trapezoidal rule. {@link http://sciphp.org/ndarray.trapz}
Decorator::tan() — Method in class Decorator
Compute tangent element-wise. {@link http://sciphp.org/ndarray.tan}
Decorator::transform() — Method in class Decorator
Transform a PHP array in a NdArray if needed
Formatter::toString() — Method in class Formatter
Stringify an array
NumPhp::transform() — Method in class NumPhp
Transform a PHP array in a NdArray
DiagonalTrait::trace() — Method in class DiagonalTrait
Sum along diagonals
TrigonometricTraitClass in namespace SciPhp\NumPhp\Mathematical
Trigonometric methods
TrigonometricTrait::tan() — Method in class TrigonometricTrait
Compute tangent element-wise.
MatrixTrait::transpose() — Method in class MatrixTrait
Permute the dimensions of an array.
OperationTrait::trapz() — Method in class OperationTrait
Integrate along the given axis using the composite trapezoidal rule.
TriangleTraitClass in namespace SciPhp\NumPhp
TriangleTrait::triu() — Method in class TriangleTrait
Upper triangle of an array
TriangleTrait::tril() — Method in class TriangleTrait
Lower triangle of an array
TriangleTrait::tri() — Method in class TriangleTrait
Construct an array with ones at and below the given diagonal and zeros elsewhere

V

Decorator::vander() — Method in class Decorator
Generate a Vandermonde matrix. {@link http://sciphp.org/ndarray.vander}
VisitorTraitClass in namespace SciPhp\NdArray
Visitor methods
VanderTraitClass in namespace SciPhp\NumPhp
VanderTrait::vander() — Method in class VanderTrait
Generate a Vandermonde matrix.

W

VisitorTrait::walk() — Method in class VisitorTrait
Walk on first dimension
VisitorTrait::walk_recursive() — Method in class VisitorTrait
Walk on last dimension

Z

NumArrayTrait::zeros() — Method in class NumArrayTrait
Creates a NdArray with zero as default value
NumArrayTrait::zeros_like() — Method in class NumArrayTrait
Construct a new array of zeros with the same shape and type as a given array.

_

InvalidAttributeException::__construct() — Method in class InvalidAttributeException
NdArray::__construct() — Method in class NdArray
Constructor
NdArray::__toString() — Method in class NdArray
Pretty printer
AttributeTrait::__set() — Method in class AttributeTrait
Attribute setter
AttributeTrait::__get() — Method in class AttributeTrait
Generic getter
Decorator::__call() — Method in class Decorator
Call a np function
Formatter::__construct() — Method in class Formatter
Set array data and options