GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <float.h>
#include "CmplxSCHUR.h"
#include "fCmplxSCHUR.h"
#include "lo-ieee.h"
#include "lo-mappers.h"
#include "oct-norm.h"
#include "defun.h"
#include "error.h"
#include "gripes.h"
#include "utils.h"
#include "xnorm.h"
Go to the source code of this file.
Functions | |
template<class Matrix , class ComplexMatrix , class ComplexSCHUR > | |
static octave_value | do_sqrtm (const octave_value &arg) |
OCTAVE_EXPORT octave_value_list | Fsqrtm (const octave_value_list &args, int nargout) |
template<class Matrix > | |
static void | sqrtm_utri_inplace (Matrix &T) |
|
static |
Definition at line 93 of file sqrtm.cc.
References NDArray::any_element_is_negative(), arg(), blas_conj_trans, blas_no_trans, Matrix::diag(), MatrixType::Diagonal, eps, imag(), octave_value::is_complex_type(), MatrixType::is_unknown(), MatrixType::Lower, octave_value::matrix_type(), octave_value_extract< ComplexMatrix >(), octave_value_extract< Matrix >(), real(), Array< T >::rows(), ComplexSCHUR::schur_matrix(), sqrtm_utri_inplace(), Matrix::transpose(), ComplexMatrix::transpose(), MatrixType::type(), ComplexSCHUR::unitary_matrix(), MatrixType::Upper, x, xgemm(), and xnorm().
OCTAVE_EXPORT octave_value_list Fsqrtm | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 213 of file sqrtm.cc.
References arg(), octave_value::columns(), error_state, gripe_square_matrix_required(), octave_value::is_diag_matrix(), octave_value::is_numeric_type(), octave_value::is_single_type(), octave_value_list::length(), octave_value::ndims(), print_usage(), octave_value_list::resize(), octave_value::rows(), octave_value::sqrt(), and xfrobnorm().
|
static |
Definition at line 44 of file sqrtm.cc.
References Array< T >::fortran_vec(), Array< T >::rows(), octave_value::sqrt(), and warning_with_id().
Referenced by do_sqrtm().