46 const float&,
const float*,
const octave_idx_type&,
47 const float*,
const octave_idx_type&,
const float&,
48 float*,
const octave_idx_type&
74 if (r < 0 || r + a_len >
length ())
76 (*current_liboctave_error_handler) (
"range error for insert");
112 if (r1 < 0 || r2 < 0 || r1 >= len || r2 >= len)
114 (*current_liboctave_error_handler) (
"range error for fill");
118 if (r1 > r2) { std::swap (r1, r2); }
138 retval.
insert (a, nr_insert);
151 return do_mx_unary_map<float, float, std::abs> (*this);
171 if (r1 > r2) { std::swap (r1, r2); }
221 nr, nc, 1.0
f, m.
data (), nr,
222 a.
data (), 1, 0.0f, y, 1
247 if (nr == 0 || nc == 0)
257 retval.
elem (i) = 0.0;
273 float res =
elem (0);
289 float res =
elem (0);
303 os << a.
elem (i) <<
"\n";
#define F77_CHAR_ARG_LEN(l)
void gripe_nonconformant(const char *op, octave_idx_type op1_len, octave_idx_type op2_len)
T elem(octave_idx_type r, octave_idx_type c) const
FloatColumnVector operator*(const FloatMatrix &m, const FloatColumnVector &a)
FloatColumnVector & fill(float val)
void mx_inline_real(size_t n, T *r, const std::complex< T > *x)
void resize(octave_idx_type n, const float &rfv=0)
void clear(octave_idx_type n)
octave_idx_type rows(void) const
MArray< T > transpose(void) const
FloatColumnVector abs(void) const
bool operator==(const FloatColumnVector &a) const
T & elem(octave_idx_type n)
FloatColumnVector stack(const FloatColumnVector &a) const
#define F77_XFCN(f, F, args)
bool operator!=(const FloatColumnVector &a) const
octave_idx_type rows(void) const
#define F77_CONST_CHAR_ARG2(x, l)
void mx_inline_imag(size_t n, T *r, const std::complex< T > *x)
F77_RET_T const octave_idx_type const octave_idx_type const float const float const octave_idx_type const float const octave_idx_type const float float const octave_idx_type & F77_CHAR_ARG_LEN_DECL
static MArray< double > const octave_idx_type const octave_idx_type octave_idx_type octave_idx_type r2
F77_RET_T const double const double * f
FloatColumnVector extract(octave_idx_type r1, octave_idx_type r2) const
const float * data(void) const
std::ostream & operator<<(std::ostream &os, const FloatColumnVector &a)
FloatColumnVector & insert(const FloatColumnVector &a, octave_idx_type r)
FloatRowVector transpose(void) const
FloatColumnVector imag(const FloatComplexColumnVector &a)
float & xelem(octave_idx_type n)
octave_idx_type cols(void) const
octave_idx_type length(void) const
Number of elements in the array.
#define F77_CONST_CHAR_ARG_DECL
FloatColumnVector real(const FloatComplexColumnVector &a)
std::istream & operator>>(std::istream &is, FloatColumnVector &a)
static MArray< double > const octave_idx_type const octave_idx_type octave_idx_type r1
const T * fortran_vec(void) const
bool mx_inline_equal(size_t n, const T1 *x, const T2 *y)
octave_idx_type cols(void) const
F77_RET_T F77_FUNC(sgemv, SGEMV)(F77_CONST_CHAR_ARG_DECL
FloatColumnVector extract_n(octave_idx_type r1, octave_idx_type n) const