26 #if defined (HAVE_CONFIG_H)
68 if (args.length () != 1)
87 math::hess<FloatMatrix> result (tmp);
90 retval =
ovl (result.hess_matrix ());
92 retval =
ovl (result.unitary_hess_matrix (),
93 result.hess_matrix ());
99 math::hess<FloatComplexMatrix> result (ctmp);
102 retval =
ovl (result.hess_matrix ());
104 retval =
ovl (result.unitary_hess_matrix (),
105 result.hess_matrix ());
114 math::hess<Matrix> result (tmp);
117 retval =
ovl (result.hess_matrix ());
119 retval =
ovl (result.unitary_hess_matrix (),
120 result.hess_matrix ());
126 math::hess<ComplexMatrix> result (ctmp);
129 retval =
ovl (result.hess_matrix ());
131 retval =
ovl (result.unitary_hess_matrix (),
132 result.hess_matrix ());
157 OCTAVE_END_NAMESPACE(
octave)
octave_idx_type rows() const
ComplexMatrix complex_matrix_value(bool frc_str_conv=false) const
bool is_single_type() const
FloatMatrix float_matrix_value(bool frc_str_conv=false) const
octave_idx_type columns() const
Matrix matrix_value(bool frc_str_conv=false) const
FloatComplexMatrix float_complex_matrix_value(bool frc_str_conv=false) const
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
#define DEFUN(name, args_name, nargout_name, doc)
Macro to define a builtin function.
void err_square_matrix_required(const char *fcn, const char *name)
void err_wrong_type_arg(const char *name, const char *s)
octave_value_list ovl(const OV_Args &... args)
Construct an octave_value_list with less typing.