Moodle PHP Documentation 4.1
Moodle 4.1.18+ (Build: 20250530) (7e19a2a6401)
Phpml\Math\Distance\Manhattan Class Reference
Inheritance diagram for Phpml\Math\Distance\Manhattan:
Phpml\Math\Distance\Distance

Public Member Functions

 __construct ()
 Manhattan constructor.
 
 distance (array $a, array $b)
 

Public Attributes

float int $norm
 

Protected Member Functions

 deltas (array $a, array $b)
 

Member Function Documentation

◆ deltas()

Phpml\Math\Distance\Distance::deltas ( array $a,
array $b )
protectedinherited
Exceptions
InvalidArgumentException

◆ distance()

Phpml\Math\Distance\Distance::distance ( array $a,
array $b )
inherited
Exceptions
InvalidArgumentException

Reimplemented in Phpml\Math\Distance\Chebyshev.


The documentation for this class was generated from the following file: