Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
MathPHP
LinearAlgebra
Vector
normalize
MathPHP\LinearAlgebra\Vector::normalize PHP Méthode
Vector Class Documentation
Afficher le fichier
Open project: markrogoyski/math-php
normalize()
public
méthode
http://mathworld.wolfram.com/NormalizedVector.html A Â ≡ --- |A| where |A| is the l²-norm (|A|₂)
public
normalize
( ) :
Vector
Résultat
Vector
public function normalize() : Vector { $│A│ = $this->l2norm(); return $this->scalarDivide($│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