24 #if ! defined (octave_boolMatrix_h) 25 #define octave_boolMatrix_h 1 27 #include "octave-config.h" boolMatrix transpose(void) const
bool operator!=(const dim_vector &a, const dim_vector &b)
std::istream & operator>>(std::istream &is, SparseBoolMatrix &a)
boolMatrix(const dim_vector &dv, bool val)
identity matrix If supplied two scalar respectively For allows like xample val
boolMatrix(const dim_vector &dv)
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
boolMatrix(octave_idx_type r, octave_idx_type c)
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
boolMatrix(octave_idx_type r, octave_idx_type c, bool val)
#define SM_BOOL_OP_DECLS(S, M, API)
#define MM_CMP_OP_DECLS(M1, M2, API)
#define MM_BOOL_OP_DECLS(M1, M2, API)
void resize(const dim_vector &dv, const T &rfv)
Resizing (with fill).
Array< T > transpose(void) const
bool operator==(const dim_vector &a, const dim_vector &b)
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
#define MS_BOOL_OP_DECLS(M, S, API)
boolMatrix(const Array< bool > &a)
octave_value operator!(const octave_value &a)
void resize(octave_idx_type nr, octave_idx_type nc, bool rfv=false)
write the output to stdout if nargout is
Vector representing the dimensions (size) of an Array.
boolMatrix(const boolMatrix &a)