Logo Search packages:      
Sourcecode: octave-ad version File versions  Download package

Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes

octave_gradient Class Reference

List of all members.

Public Types

enum  init_type { constant, dependent }
enum  storage_mode { dense = 0, sparse = 1 }

Public Member Functions

octave_value all (int dim=0) const
octave_value any (int dim=0) const
NDArray array_value (bool frc_str_conv=false) const
void assign (const octave_value_list &idx, const octave_gradient &rhs)
template<class T >
void assign (const octave_value_list &idx, const T &rhs)
size_t byte_size (void) const
octave_base_value * clone (void) const
octave_value convert_to_str_internal (bool pad, bool force, char type) const
dim_vector dims (void) const
octave_value do_index_op (const octave_value_list &idx, bool resize_ok)
octave_value_list dotref (const octave_value_list &idx)
double double_value (bool frc_str_conv) const
const octave_value & dx () const
octave_base_value * empty_clone (void) const
idx_vector index_vector (void) const
bool is_complex_type (void) const
bool is_constant (void) const
bool is_defined (void) const
bool is_map (void) const
bool is_matrix_type (void) const
bool is_numeric_type (void) const
bool is_real_type (void) const
bool is_scalar_type (void) const
bool is_sparse_type (void) const
octave_value jacobian () const
bool load_ascii (std::istream &is)
bool load_binary (std::istream &is, bool swap, oct_mach_info::float_format fmt)
MatrixType matrix_type (void) const
MatrixType matrix_type (const MatrixType &typ) const
octave_idx_type nderv (void) const
 octave_gradient (const octave_value &v, init_type t=dependent)
 octave_gradient (const octave_value &xv, const octave_value &dv)
 octave_gradient (const octave_gradient &g)
void print (std::ostream &os, bool pr_as_read_syntax=false) const
octave_value reshape (const dim_vector &dv) const
octave_value resize (const dim_vector &dv, bool fill=0) const
bool save_ascii (std::ostream &os)
bool save_binary (std::ostream &os, bool &save_as_floats)
double scalar_value (bool frc_str_conv) const
octave_value subsasgn (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
octave_value subsref (const std::string &type, const std::list< octave_value_list > &idx)
octave_value_list subsref (const std::string &type, const std::list< octave_value_list > &idx, int)
const octave_value & x () const

Static Public Member Functions

static void set_storage_mode (storage_mode val)
static bool sparse_storage_mode ()

Private Member Functions

void assign_const (const octave_value_list &idx, const octave_value &rhs)

Private Attributes

octave_value dval
octave_value xval

Static Private Attributes

static octave_idx_type num_derivatives = 1
static bool use_sparse_jacobian = false

Detailed Description

Definition at line 32 of file ov-grad.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index