24 #if defined (HAVE_CONFIG_H)
44 if (len != a.
numel ())
60 if (c < 0 || c + a_len >
numel ())
61 (*current_liboctave_error_handler) (
"range error for insert");
95 if (c1 < 0 || c2 < 0 || c1 >= len || c2 >= len)
96 (*current_liboctave_error_handler) (
"range error for fill");
118 retval.insert (a, nc_insert);
182 retval.
resize (a_nc, 0.0);
192 F77_XFCN (sgemv, SGEMV, (F77_CONST_CHAR_ARG2 (
"T", 1),
193 a_nr, a_nc, 1.0, a.
data (),
194 ld, v.
data (), 1, 0.0,
y, 1
195 F77_CHAR_ARG_LEN (1)));
210 float res =
elem (0);
226 float res =
elem (0);
241 os <<
" " << a.
elem (
i);
279 float delta = (x2 - x1) / (n - 1);
FloatRowVector imag(const FloatComplexRowVector &a)
octave_idx_type numel(void) const
Number of elements in the array.
identity matrix If supplied two scalar respectively For allows like xample val
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
void mx_inline_imag(size_t n, T *r, const std::complex< T > *x)
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
bool operator==(const FloatRowVector &a) const
const float * data(void) const
FloatRowVector extract(octave_idx_type c1, octave_idx_type c2) const
void err_nonconformant(const char *op, octave_idx_type op1_len, octave_idx_type op2_len)
F77_RET_T F77_FUNC(xstopx, XSTOPX) const
subroutine xsdot(n, dx, incx, dy, incy, retval)
the sparsity preserving column transformation such that that defines the pivoting threshold can be given in which case it defines the c
With real return the complex result
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)
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)
void resize(octave_idx_type n, const float &rfv=0)
=val(i)}if ode{val(i)}occurs in table i
the element is set to zero In other the statement xample y
std::istream & operator>>(std::istream &is, FloatRowVector &a)
std::complex< float > FloatComplex
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
write the output to stdout if nargout is
FloatColumnVector transpose(void) const
FloatRowVector extract_n(octave_idx_type c1, octave_idx_type n) const