#include "schur.h"
#include "lo-ieee.h"
#include "lo-mappers.h"
#include "oct-norm.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "utils.h"
#include "xnorm.h"
Go to the source code of this file.
Functions | |
template<typename Matrix , typename ComplexMatrix , typename ComplexSCHUR > | |
static octave_value | do_sqrtm (const octave_value &arg) |
OCTAVE_EXPORT octave_value_list | Fsqrtm (const octave_value_list &args, int nargout) |
template<typename Matrix > | |
static void | sqrtm_utri_inplace (Matrix &T) |
|
static |
Definition at line 92 of file sqrtm.cc.
References blas_conj_trans, blas_no_trans, MatrixType::Diagonal, eps(), imag(), MatrixType::is_unknown(), octave_value::iscomplex(), MatrixType::Lower, octave_value::matrix_type(), octave_value_extract< ComplexMatrix >(), octave_value_extract< Matrix >(), real(), retval, sqrtm_utri_inplace(), MatrixType::type(), MatrixType::Upper, x, xgemm(), and xnorm().
Referenced by Fsqrtm().
OCTAVE_EXPORT octave_value_list Fsqrtm | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 212 of file sqrtm.cc.
References octave_value::columns(), do_sqrtm(), err_square_matrix_required(), octave_value::is_diag_matrix(), octave_value::is_single_type(), octave_value::isnumeric(), n, octave_value::ndims(), print_usage(), retval, octave_value::rows(), octave_value::sqrt(), and xfrobnorm().
|
static |
Definition at line 43 of file sqrtm.cc.
References Array< T >::fortran_vec(), n, Array< T >::rows(), and warning_with_id().
Referenced by do_sqrtm().