53 #if defined (HAVE_CONFIG_H) 93 qt = (qt + 1) % (
N + 1);
102 qh = (qh + 1) % (
N + 1);
107 #define Q_empty(Q, N, qh, qt) ((qh) == (qt)) 112 #define LEFT(i) (((i) << 1) + 1) // = (2*(i)+1) 114 #define RIGHT(i) (((i) << 1) + 2) // = (2*(i)+2) 116 #define PARENT(i) (((i) - 1) >> 1) // = floor(((i)-1)/2) 131 if (l < size &&
A[l].deg <
A[j].deg)
136 if (r < size &&
A[r].deg <
A[smallest].deg)
163 if (H[
i].deg < H[
p].deg)
189 #define H_empty(H, h) ((h) == 0) 234 while (j1 < cidx[
i+1] || j2 < cidx2[
i+1])
254 else if (j2 == cidx2[
i+1])
310 if (max_dist <
x.dist)
366 else if (ridx[l] > j)
447 if (args.length () != 1)
479 if (nr == 0 && nc == 0)
540 for (
i = 0;
i <
N;
i++)
587 while (j1 < cidx[
i+1] || j2 < cidx2[
i+1])
604 else if (j2 == cidx2[
i+1])
is already an absolute the name is checked against the file system instead of Octave s loadpath In this if otherwise an empty string is returned If the first argument is a cell array of search each directory of the loadpath for element of the cell array and return the first that matches If the second optional argument return a cell array containing the list of all files that have the same name in the path If no files are found
F77_RET_T const F77_INT F77_CMPLX const F77_INT F77_CMPLX * B
static void Q_enq(CMK_Node *Q, octave_idx_type N, octave_idx_type &qt, const CMK_Node &o)
static octave_idx_type calc_degrees(octave_idx_type N, const octave_idx_type *ridx, const octave_idx_type *cidx, octave_idx_type *D)
static void H_insert(CMK_Node *H, octave_idx_type &h, const CMK_Node &o)
F77_RET_T const F77_INT & N
OCTINTERP_API void print_usage(void)
const T * fortran_vec(void) const
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)
T & elem(octave_idx_type n)
void err_square_matrix_required(const char *fcn, const char *name)
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
static octave_idx_type find_starting_node(octave_idx_type N, const octave_idx_type *ridx, const octave_idx_type *cidx, const octave_idx_type *ridx2, const octave_idx_type *cidx2, octave_idx_type *D, octave_idx_type start)
F77_RET_T const F77_INT F77_CMPLX * A
octave_idx_type columns(void) const
std::complex< double > w(std::complex< double > z, double relerr=0)
octave_idx_type rows(void) const
octave_idx_type * xridx(void)
SparseComplexMatrix sparse_complex_matrix_value(bool frc_str_conv=false) const
F77_RET_T const F77_INT const F77_INT const F77_INT F77_DBLE const F77_INT F77_DBLE const F77_INT F77_DBLE * Q
OCTAVE_EXPORT octave_value_list isa nd deftypefn *return ovl(args(0).isinteger())
#define Q_empty(Q, N, qh, qt)
SparseMatrix sparse_matrix_value(bool frc_str_conv=false) const
#define OCTAVE_LOCAL_BUFFER(T, buf, size)
static CMK_Node Q_deq(CMK_Node *Q, octave_idx_type N, octave_idx_type &qh)
#define DEFUN_DLD(name, args_name, nargout_name, doc)
Macro to define an at run time dynamically loadable builtin function.
octave_idx_type * xcidx(void)
Vector representing the dimensions (size) of an Array.
static CMK_Node H_remove_min(CMK_Node *H, octave_idx_type &h, int reorg)
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE * x
static void H_heapify_min(CMK_Node *A, octave_idx_type i, octave_idx_type size)