23 #if ! defined (octave_dRowVector_h) 24 #define octave_dRowVector_h 1 26 #include "octave-config.h" 88 double min (
void)
const;
89 double max (
void)
const;
93 friend OCTAVE_API std::ostream&
operator << (std::ostream&
os,
RowVector(const dim_vector &dv)
bool operator!=(const dim_vector &a, const dim_vector &b)
void resize(octave_idx_type n, const double &rfv=0)
OCTAVE_API RowVector linspace(double x1, double x2, octave_idx_type n)
std::istream & operator>>(std::istream &is, SparseBoolMatrix &a)
void fill(const Complex &val)
identity matrix If supplied two scalar respectively For allows like xample val
static void transpose(octave_idx_type N, const octave_idx_type *ridx, const octave_idx_type *cidx, octave_idx_type *ridx2, octave_idx_type *cidx2)
RowVector(const Array< double > &a)
RowVector(octave_idx_type n, double val)
nd example oindent opens the file binary numeric values will be read assuming they are stored in IEEE format with the least significant bit and then converted to the native representation Opening a file that is already open simply opens it again and returns a separate file id It is not an error to open a file several though writing to the same file through several different file ids may produce unexpected results The possible values of text mode reading and writing automatically converts linefeeds to the appropriate line end character for the you may append a you must also open the file in binary mode The parameter conversions are currently only supported for and permissions will be set to and then everything is written in a single operation This is very efficient and improves performance c
#define MARRAY_FORWARD_DEFS(B, R, T)
RowVector(const MArray< double > &a)
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
ComplexNDArray & insert(const NDArray &a, octave_idx_type r, octave_idx_type c)
void resize(const dim_vector &dv, const T &rfv)
Resizing (with fill).
RowVector(octave_idx_type n)
ComplexNDArray & operator=(const ComplexNDArray &a)
bool operator==(const dim_vector &a, const dim_vector &b)
double OCTAVE_API operator*(const RowVector &a, const ColumnVector &b)
RowVector(const RowVector &a)
MArray< T > & operator=(const MArray< T > &a)
Array< Complex > as_row(void) const
Return the array as a row vector.
charNDArray max(char d, const charNDArray &m)
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
ColumnVector imag(const ComplexColumnVector &a)
void clear(octave_idx_type n)
std::complex< double > Complex
ColumnVector real(const ComplexColumnVector &a)
write the output to stdout if nargout is
Vector representing the dimensions (size) of an Array.
charNDArray min(char d, const charNDArray &m)