Np

nd
in package

ND

A fast lite memory efficient Scientific Computing for php

Tags
version

V0.0.1

category

Scientific Computing

author

ghost (Shubham Chaudhary)

email

ghost.jat@gmail.com

copyright

(c) 2020-2021, Shubham Chaudhary

Table of Contents

DOUBLE  = 2
EPSILON  = 1.0E-8
FLOAT  = 1
INT  = 3
TWO_PI  = 2.0 * M_PI
$data  : mixed
$_mem  : mixed
$_time  : mixed
checkDimensions()  : mixed
checkDtype()  : mixed
checkShape()  : mixed
getMemory()  : mixed
set memory dog, get total memory
time()  : mixed
set Timer, get total time
__construct()  : mixed
_dimensionaMisMatchErr()  : dimensionalityMismatch
_dtypeErr()  : dtypeException
_err()  : runtimeException
_invalidArgument()  : invalidArgumentException
_ndDouble()  : mixed
_ndFloat()  : mixed
_ndInt()  : mixed

Constants

DOUBLE

public mixed DOUBLE = 2

EPSILON

public mixed EPSILON = 1.0E-8

FLOAT

public mixed FLOAT = 1

INT

public mixed INT = 3

TWO_PI

public mixed TWO_PI = 2.0 * M_PI

Properties

$data

public mixed $data

$_mem

protected mixed $_mem = null

$_time

protected mixed $_time = null

Methods

getMemory()

set memory dog, get total memory

public getMemory() : mixed
Return values
mixed

time()

set Timer, get total time

public time() : mixed
Return values
mixed

__construct()

protected __construct(int $ndim[, int $dtype = self::FLOAT ]) : mixed
Parameters
$ndim : int
$dtype : int = self::FLOAT
Return values
mixed

_ndDouble()

protected static _ndDouble(int $size) : mixed
Parameters
$size : int
Return values
mixed

_ndFloat()

protected static _ndFloat(int $size) : mixed
Parameters
$size : int
Return values
mixed

_ndInt()

protected static _ndInt(int $size) : mixed
Parameters
$size : int
Return values
mixed

Search results