#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 98 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(), 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 218 of file sqrtm.cc.
References octave_value::columns(), ComplexMatrix, do_sqrtm(), err_square_matrix_required(), FloatComplexMatrix, FloatMatrix, octave_value::is_diag_matrix(), octave_value::is_single_type(), octave_value::isnumeric(), Matrix, n, octave_value::ndims(), print_usage(), octave_value::rows(), octave_value::sqrt(), and xfrobnorm().
|
static |
Definition at line 45 of file sqrtm.cc.
References Array< T, Alloc >::fortran_vec(), n, Array< T, Alloc >::rows(), and warning_with_id().
Referenced by do_sqrtm().