Please enable JavaScript to view this site.

IBM® SPSS® Amos™ 28

Replaces a positive definite symmetric matrix with its inverse.

Syntax

object.ChversInPlace (N, SymMatrix, WorkVector, Determinant, Eps, errorflag)

The ChversInPlace property syntax has the following parts:

Part

Description

object

An object of type AmosRanGen.

N

Number of rows in the matrix.

SymMatrix

An array of length N*(N+1)/2, of type Double. On input, the matrix to be inverted. On output, the inverse. SymMatrix contains the first element of the first row, the first two elements of the second row, and so on. The first element of SymMatrix is passed by reference.

WorkVector

An array of length N, of type Double. Used as work space. The first element of WorkVector is passed by reference.

Determinant

Output, of type Double. The determinant.

Eps

Input, of type Double. Each pivot element must exceed Eps.

errorflag

Output, of type Integer. If the matrix was successfully inverted, errorflag=0. Otherwise, errorflag=1.

 

© 2021 Amos Development Corporation