Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
MathPHP
LinearAlgebra
Vector
__toString
MathPHP\LinearAlgebra\Vector::__toString PHP Method
Vector Class Documentation
Show file
Open project: markrogoyski/math-php
__toString()
public
method
Print the vector as a string Ex: [1, 2, 3]
public
__toString
( ) :
string
return
string
public function __toString() { return '[' . implode(', ', $this->A) . ']'; }
Vector
__construct
__toString
add
asColumnMatrix
asRowMatrix
count
crossProduct
directProduct
dotProduct
get
getN
getVector
innerProduct
jsonSerialize
l1Norm
l2Norm
length
maxNorm
normalize
offsetExists
offsetGet
offsetSet
offsetUnset
outerProduct
pNorm
perp
perpDotProduct
perpendicular
projection
scalarDivide
scalarMultiply
subtract
sum