45 const float&,
const float*,
46 const octave_idx_type&,
const float*,
47 const octave_idx_type&,
const float&,
48 float*,
const octave_idx_type&
51 F77_FUNC (
xsdot, XSDOT) (
const octave_idx_type&,
const float*,
52 const octave_idx_type&,
const float*,
53 const octave_idx_type&,
float&);
78 if (c < 0 || c + a_len >
length ())
80 (*current_liboctave_error_handler) (
"range error for insert");
116 if (c1 < 0 || c2 < 0 || c1 >= len || c2 >= len)
118 (*current_liboctave_error_handler) (
"range error for fill");
122 if (c1 > c2) { std::swap (c1, c2); }
142 retval.
insert (a, nc_insert);
167 if (c1 > c2) { std::swap (c1, c2); }
207 retval.
resize (a_nc, 0.0);
218 a_nr, a_nc, 1.0, a.
data (),
219 ld, v.
data (), 1, 0.0, y, 1
236 float res =
elem (0);
252 float res =
elem (0);
267 os <<
" " << a.
elem (i);
300 float delta = (x2 - x1) / (n - 1);
303 retval(i) = x1 + i*delta;
FloatRowVector imag(const FloatComplexRowVector &a)
#define F77_CHAR_ARG_LEN(l)
void gripe_nonconformant(const char *op, octave_idx_type op1_len, octave_idx_type op2_len)
void mx_inline_real(size_t n, T *r, const std::complex< T > *x)
FloatRowVector real(const FloatComplexRowVector &a)
FloatRowVector append(const FloatRowVector &a) const
MArray< T > transpose(void) const
T & elem(octave_idx_type n)
std::ostream & operator<<(std::ostream &os, const FloatRowVector &a)
#define F77_XFCN(f, F, args)
octave_idx_type rows(void) const
bool operator!=(const FloatRowVector &a) const
#define F77_CONST_CHAR_ARG2(x, l)
void mx_inline_imag(size_t n, T *r, const std::complex< T > *x)
const float * data(void) const
FloatRowVector extract(octave_idx_type c1, octave_idx_type c2) const
subroutine xsdot(n, dx, incx, dy, incy, retval)
bool operator==(const FloatRowVector &a) const
FloatRowVector & insert(const FloatRowVector &a, octave_idx_type c)
FloatRowVector linspace(float x1, float x2, octave_idx_type n)
float & xelem(octave_idx_type n)
octave_idx_type length(void) const
Number of elements in the array.
This is a simple wrapper template that will subclass an Array type or any later type derived from ...
FloatRowVector operator*(const FloatRowVector &v, const FloatMatrix &a)
#define F77_CONST_CHAR_ARG_DECL
void resize(octave_idx_type n, const float &rfv=0)
std::istream & operator>>(std::istream &is, FloatRowVector &a)
std::complex< float > FloatComplex
static MArray< double > const octave_idx_type const octave_idx_type octave_idx_type octave_idx_type octave_idx_type c1
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 r1
const T * fortran_vec(void) const
FloatRowVector & fill(float val)
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 transpose(void) const
FloatRowVector extract_n(octave_idx_type c1, octave_idx_type n) const