IT. Expert System.

PHP

This function returns the eigenvalues for a given square matrix


Lapack::eigenValues

(PECL lapack >= 0.1.0)

Lapack::eigenValuesThis function returns the eigenvalues for a given square matrix

Description

public static array Lapack::eigenValues ( array $a [, array $left [, array $right ]] )

Calculate the eigenvalues for a square matrix, and optionally calculate the left and right eigenvectors.

Parameters

a

The matrix to calculate the eigenvalues for.

left

Optional parameter - if an array is passed here, it will be filled with the left eigenvectors

right

Optional parameter - if an array is passed here, it will be filled with the right eigenvectors

Return Values

Returns an array of arrays representing the eigenvalues for the array.

Examples

Example #1 Using Lapack::eigenValues():

<?php

 $a 
= array(
     array(-
1.01,   0.86,  -4.60,  3.31,  -4.81  ),
     array( 
3.98,   0.53,  -7.04,  5.29,   3.55  ),
     array( 
3.30,   8.26,  -3.89,  8.20,  -1.51  ),
     array( 
4.43,   4.96,  -7.66, -7.33,   6.18  ),
     array( 
7.31,  -6.43,  -6.16,  2.47,   5.58  ),
 );

 
$result Lapack::eigenValues($a);

 
?>



Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 225 / 158716266. Delta: 0.03261 с