26 #if defined (HAVE_CONFIG_H)
42 bool isvector = (
x.columns () == 1 ||
x.rows () == 1);
43 bool iscomplex =
x.iscomplex ();
44 bool issparse =
x.issparse ();
45 bool isfloat =
x.is_single_type ();
47 if (! isfloat && !
x.is_double_type ())
54 if (isfloat & iscomplex)
78 if (isfloat & iscomplex)
100 bool iscomplex =
x.iscomplex ();
101 bool issparse =
x.issparse ();
102 bool isfloat =
x.is_single_type ();
104 if (! isfloat && !
x.is_double_type ())
118 if (isfloat & iscomplex)
140 bool iscomplex =
x.iscomplex ();
141 bool issparse =
x.issparse ();
142 bool isfloat =
x.is_single_type ();
144 if (! isfloat && !
x.is_double_type ())
158 if (isfloat & iscomplex)
180 bool iscomplex =
x.iscomplex ();
181 bool issparse =
x.issparse ();
182 bool isfloat =
x.is_single_type ();
184 if (! isfloat && !
x.is_double_type ())
196 if (isfloat & iscomplex)
209 OCTAVE_END_NAMESPACE(
octave)
bool isvector(const dim_vector &dim)
float float_value(bool frc_str_conv=false) const
double double_value(bool frc_str_conv=false) const
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
void err_wrong_type_arg(const char *name, const char *s)
F77_RET_T const F77_DBLE * x
octave_value xcolnorms(const octave_value &x, const octave_value &p)
octave_value xfrobnorm(const octave_value &x)
octave_value xrownorms(const octave_value &x, const octave_value &p)
octave_value xnorm(const octave_value &x, const octave_value &p)