#include "DET.h"
#include "defun-dld.h"
#include "error.h"
#include "gripes.h"
#include "oct-obj.h"
#include "utils.h"
#include "ops.h"
#include "ov-re-mat.h"
#include "ov-cx-mat.h"
#include "ov-flt-re-mat.h"
#include "ov-flt-cx-mat.h"
#include "ov-re-diag.h"
#include "ov-cx-diag.h"
#include "ov-flt-re-diag.h"
#include "ov-flt-cx-diag.h"
#include "ov-perm.h"
Go to the source code of this file.
Defines | |
#define | MAYBE_CAST(VAR, CLASS) |
Functions | |
DEFUN_DLD (det, args, nargout,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {} det (@var{A})\n\ @deftypefnx {Loadable Function} {[@var{d}, @var{rcond}] =} det (@var{A})\n\ Compute the determinant of @var{A}.\n\ \n\ Return an estimate of the reciprocal condition number if requested.\n\ \n\ Routines from @sc{lapack} are used for full matrices and code from\n\ @sc{umfpack} is used for sparse matrices.\n\ \n\ The determinant should not be used to check a matrix for singularity.\n\ For that, use any of the condition number functions: @code{cond},\n\ @code{condest}, @code{rcond}.\n\ @seealso{cond, condest, rcond}\n\ @end deftypefn") |
#define MAYBE_CAST | ( | VAR, | ||
CLASS | ||||
) |
const CLASS *VAR = arg.type_id () == CLASS::static_type_id () ? \ dynamic_cast<const CLASS *> (&arg.get_rep ()) : 0
Definition at line 46 of file det.cc.
Referenced by DEFUN_DLD().
DEFUN_DLD | ( | det | , | |
args | , | |||
nargout | ||||
) |
Definition at line 50 of file det.cc.
References arg(), octave_value::columns(), octave_value::complex_diag_matrix_value(), octave_value::complex_matrix_value(), ComplexMatrix::determinant(), SparseComplexMatrix::determinant(), Matrix::determinant(), SparseMatrix::determinant(), FloatComplexMatrix::determinant(), FloatMatrix::determinant(), PermMatrix::determinant(), DiagMatrix::determinant(), FloatDiagMatrix::determinant(), ComplexDiagMatrix::determinant(), FloatComplexDiagMatrix::determinant(), octave_value::diag_matrix_value(), empty_arg(), error_state, octave_value::float_complex_diag_matrix_value(), octave_value::float_complex_matrix_value(), octave_value::float_diag_matrix_value(), octave_value::float_matrix_value(), gripe_square_matrix_required(), gripe_wrong_type_arg(), octave_value::is_complex_type(), octave_value::is_diag_matrix(), octave_value::is_perm_matrix(), octave_value::is_real_type(), octave_value::is_single_type(), octave_value::is_sparse_type(), octave_value::matrix_value(), MAYBE_CAST, octave_value(), octave_value::perm_matrix_value(), print_usage(), DiagMatrix::rcond(), FloatDiagMatrix::rcond(), ComplexDiagMatrix::rcond(), FloatComplexDiagMatrix::rcond(), octave_value::rows(), octave_value::sparse_complex_matrix_value(), octave_value::sparse_matrix_value(), and base_det< T >::value().