26 #if ! defined (octave_lo_utils_h)
27 #define octave_lo_utils_h 1
29 #include "octave-config.h"
43 template <
typename F,
typename T,
bool zero>
49 for (i = 0; i <
len - 3; i += 4)
53 if (fcn (
m[i]) != zero
54 || fcn (
m[i+1]) != zero
55 || fcn (
m[i+2]) != zero
56 || fcn (
m[i+3]) != zero)
63 if (fcn (
m[i]) != zero)
74 return x == T (0) ||
x == T (1);
119 #if defined (OCTAVE_HAVE_LONG_LONG_INT)
129 unsigned long int *
r);
131 #if defined (OCTAVE_HAVE_UNSIGNED_LONG_LONG_INT)
134 unsigned long long int *
r);
137 OCTAVE_END_NAMESPACE(math)
138 OCTAVE_END_NAMESPACE(
octave)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
F77_RET_T const F77_DBLE * x
std::string fgets(std::FILE *)
void write_value(std::ostream &os, const T &value)
bool is_one_or_zero(const T &x)
bool int_multiply_overflow(int a, int b, int *r)
char * strsave(const char *)
std::string fgetl(std::FILE *)
bool too_large_for_float(double x)
bool is_int_or_inf_or_nan(float x)
bool xis_int_or_inf_or_nan(double x)
bool any_all_test(F fcn, const T *m, octave_idx_type len)
T read_value(std::istream &is)
std::complex< double > Complex
std::complex< float > FloatComplex