Skip to content

Tessero\Ext\NDArray

← All classes

AI assistant

Build this with Claude Code, Cursor or Copilot

Copy a Tessero-tuned prompt for Tessero\Ext\NDArray, grounded in 16 real API signatures , into your IDE's AI. No chatbot, just exact context.

array static
array($data, ?string $dtype = …)
zeros static
zeros($shape, ?string $dtype = …)
ones static
ones($shape, ?string $dtype = …)
empty static
empty($shape, ?string $dtype = …)
full static
full($shape, $value, ?string $dtype = …)
arange static
arange($start, $stop = …, $step = …, ?string $dtype = …)
linspace static
linspace($start, $stop, $num = …, $endpoint = …)
eye static
eye($n, $m = …, $k = …, ?string $dtype = …)
fromBytes static
fromBytes(string $bytes, string $dtype, $shape = …)
where static
where($cond, $x, $y)
complex static
complex($real, $imag = …)
shape
shape()
strides
strides()
ndim
ndim()
size
size()
dtype
dtype()
isContiguous
isContiguous()
isView
isView()
count
count(): int
getIterator
getIterator(): Iterator
toArray
toArray()
toList
toList()
toBytes
toBytes()
toJson
toJson()
jsonSerialize
jsonSerialize(): mixed
item
item(...$args)
copy
copy()
astype
astype(string $dtype)
reshape
reshape(...$args)
ravel
ravel()
transpose
transpose(?array $axes = …)
t
t()
flatten
flatten()
swapAxes
swapAxes(int $axis1, int $axis2)
squeeze
squeeze(?int $axis = …)
nbytes
nbytes()
view
view(string $dtype)
round
round(int $decimals = 0)
nonzero
nonzero()
mT
mT()
trace
trace(?int $offset = …, ?int $axis1 = …, ?int $axis2 = …)
diagonal
diagonal(?int $offset = …, ?int $axis1 = …, ?int $axis2 = …)
repeat
repeat($arg1, $arg2 = …)
compress
compress($arg1, $arg2 = …)
choose
choose($arg1, $arg2 = …)
searchsorted
searchsorted($arg1, $arg2 = …)
partition
partition($arg1, $arg2 = …)
argpartition
argpartition($arg1, $arg2 = …)
fill
fill($value)
byteswap
byteswap(bool $sync = …)
resize
resize($value)
take
take($indices, ?int $axis = …)
put
put($indices, $values, ?int $axis = …)
slice
slice(string $spec)
assign
assign($value)
add
add($value)
sub
sub($value)
mul
mul($value)
div
div($value)
pow
pow($value)
mod
mod($value)
floorDiv
floorDiv($value)
maximum
maximum($value)
minimum
minimum($value)
atan2
atan2($value)
hypot
hypot($value)
eq
eq($value)
ne
ne($value)
lt
lt($value)
le
le($value)
gt
gt($value)
ge
ge($value)
logicalAnd
logicalAnd($value)
logicalOr
logicalOr($value)
logicalXor
logicalXor($value)
rsub
rsub($value)
rdiv
rdiv($value)
rpow
rpow($value)
neg
neg()
abs
abs()
square
square()
sign
sign()
sqrt
sqrt()
exp
exp()
log
log()
log10
log10()
log2
log2()
sin
sin()
cos
cos()
tan
tan()
arcsin
arcsin()
arccos
arccos()
arctan
arctan()
sinh
sinh()
cosh
cosh()
tanh
tanh()
floor
floor()
ceil
ceil()
rint
rint()
expm1
expm1()
log1p
log1p()
reciprocal
reciprocal()
isnan
isnan()
isfinite
isfinite()
isinf
isinf()
invert
invert()
real
real()
imag
imag()
conj
conj()
angle
angle()
logicalNot
logicalNot()
clip
clip($min = …, $max = …)
sum
sum(array|int|null $axis = null, bool $keepdims = false)
prod
prod(array|int|null $axis = null, bool $keepdims = false)
min
min(array|int|null $axis = null, bool $keepdims = false)
max
max(array|int|null $axis = null, bool $keepdims = false)
argmin
argmin(?int $axis = null, bool $keepdims = false)
argmax
argmax(?int $axis = null, bool $keepdims = false)
any
any(array|int|null $axis = null, bool $keepdims = false)
all
all(array|int|null $axis = null, bool $keepdims = false)
mean
mean(array|int|null $axis = null, bool $keepdims = false)
var
var(array|int|null $axis = null, int $ddof = 0, bool $keepdims = false)
std
std(array|int|null $axis = null, int $ddof = 0, bool $keepdims = false)
cumsum
cumsum(?int $axis = …)
cumprod
cumprod(?int $axis = …)
sort
sort()
argsort
argsort()
matmul
matmul($value)
dot
dot($value)
memmap static
memmap(string $filename, string $mode = …, ?array $shape = …, string $dtype = …, int $offset = …)
load static
load(string $path, ?string $mmapMode = …)
openMemmap static
openMemmap(string $path, string $mode = …, ?array $shape = …, string $dtype = …, bool $fortranOrder = …)
save
save(string $path)
flush
flush(bool $sync = …)
isMemmap
isMemmap()
isReadonly
isReadonly()
filename
filename()