PHP 클래스 pocketmine\math\Matrix

상속: implements ArrayAccess
파일 보기 프로젝트 열기: ClearSkyTeam/ClearSky

공개 메소드들

메소드 설명
__construct ( $rows, $columns, array $set = [] )
__toString ( )
add ( Matrix $matrix )
determinant ( ) Computation of the determinant of 2x2 and 3x3 matrices
divideScalar ( $number )
getColumns ( )
getElement ( $row, $column )
getRows ( )
isSquare ( )
multiplyScalar ( $number )
offsetExists ( $offset )
offsetGet ( $offset )
offsetSet ( $offset, $value )
offsetUnset ( $offset )
product ( Matrix $matrix ) Naive Matrix product, O(n^3)
set ( array $m )
setElement ( $row, $column, $value )
substract ( Matrix $matrix )
transpose ( )

메소드 상세

__construct() 공개 메소드

public __construct ( $rows, $columns, array $set = [] )
$set array

__toString() 공개 메소드

public __toString ( )

add() 공개 메소드

public add ( Matrix $matrix )
$matrix Matrix

determinant() 공개 메소드

Computation of the determinant of 2x2 and 3x3 matrices
public determinant ( )

divideScalar() 공개 메소드

public divideScalar ( $number )

getColumns() 공개 메소드

public getColumns ( )

getElement() 공개 메소드

public getElement ( $row, $column )

getRows() 공개 메소드

public getRows ( )

isSquare() 공개 메소드

public isSquare ( )

multiplyScalar() 공개 메소드

public multiplyScalar ( $number )

offsetExists() 공개 메소드

public offsetExists ( $offset )

offsetGet() 공개 메소드

public offsetGet ( $offset )

offsetSet() 공개 메소드

public offsetSet ( $offset, $value )

offsetUnset() 공개 메소드

public offsetUnset ( $offset )

product() 공개 메소드

Naive Matrix product, O(n^3)
public product ( Matrix $matrix )
$matrix Matrix

set() 공개 메소드

public set ( array $m )
$m array

setElement() 공개 메소드

public setElement ( $row, $column, $value )

substract() 공개 메소드

public substract ( Matrix $matrix )
$matrix Matrix

transpose() 공개 메소드

public transpose ( )