25 #if defined (HAVE_CONFIG_H) 90 if (args.length () != 2)
95 if (args(0).is_single_type () || args(1).is_single_type ())
97 if (args(0).iscomplex () || args(1).iscomplex ())
118 float x = args(0).float_value ();
119 float y = args(1).float_value ();
138 if (args(0).iscomplex () || args(1).iscomplex ())
140 Complex cx = args(0).complex_value ();
141 Complex cy = args(1).complex_value ();
159 double x = args(0).double_value ();
160 double y = args(1).double_value ();
FloatComplex float_complex_value(bool frc_str_conv=false) const
OCTINTERP_API void print_usage(void)
#define DEFUN(name, args_name, nargout_name, doc)
Macro to define a builtin function.
OCTAVE_EXPORT octave_value_list return the number of command line arguments passed to Octave If called with the optional argument the function xample nargout(@histc)
With real return the complex result
OCTAVE_EXPORT octave_value_list isa nd deftypefn *return ovl(args(0).isinteger())
ComplexMatrix Givens(const Complex &x, const Complex &y)
the element is set to zero In other the statement xample y
std::complex< float > FloatComplex
std::complex< double > Complex
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE * x