LabWindows/CVI

Table of Contents
  • LabWindows/CVI Fundamentals
  • Creating Applications
  • Distributing Applications
  • Library Reference
  • Programmer Reference
  • Hardware Information

Determinant

AnalysisLibErrType Determinant (void *inputMatrix, ssize_t matrixSize, double *determinant);

Purpose

Finds the determinant of an n-by-n 2D input matrix.

The result is a scalar value. If the matrix is singular, the determinant is undefined.

Parameters

Input
Name Type Description
inputMatrix void * Square real matrix whose determinant is computed.
matrixSize ssize_t Number of rows and columns in the input matrix.
Output
Name Type Description
determinant double Determinant of the input matrix.

Return Value

Name Type Description
status AnalysisLibErrType A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants.

Additional Information

Library: Analysis Library

Include file: analysis.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later

Log in to get a better experience