Macaulay2 Engine
Loading...
Searching...
No Matches
SLP< Field > Class Template Reference

#include <NAG.hpp>

Inheritance diagram for SLP< Field >:
MutableEngineObject our_gc_cleanup our_new_delete

Public Types

typedef Field::element_type element_type

Public Member Functions

int num_out ()
SLP< Field > * copy ()
SLP< Field > * jacobian (bool makeHxH, SLP< Field > *&slpHxH, bool makeHxtH, SLP< Field > *&slpHxtH)
SLP< Field > * concatenate (const SLP< Field > *slp)
virtual ~SLP ()
void text_out (buffer &o) const
void stats_out (buffer &o) const
void evaluate (int n, const element_type *values, element_type *out)
Matrixevaluate (const Matrix *vals)
Public Member Functions inherited from MutableEngineObject
 MutableEngineObject ()
virtual ~MutableEngineObject ()
unsigned int hash () const
Public Member Functions inherited from our_gc_cleanup
 our_gc_cleanup ()
virtual ~our_gc_cleanup ()

Static Public Member Functions

static SLP< Field > * make (const PolyRing *, ring_elem)
static SLP< Field > * make (const Matrix *consts, M2_arrayint program)
Static Public Member Functions inherited from our_new_delete
static void * operator new (size_t size)
static void * operator new[] (size_t size)
static void operator delete (void *obj)
static void operator delete[] (void *obj)
static void * operator new (size_t size, void *existing_memory)
static void * operator new[] (size_t size, void *existing_memory)
static void operator delete (void *obj, void *existing_memory)
static void operator delete[] (void *obj, void *existing_memory)

Private Member Functions

 SLP ()
int poly_to_horner_slp (int n, gc_vector< int > &prog, gc_vector< element_type > &consts, Nterm *&f)
int diffNodeInput (int n, int v, gc_vector< int > &prog)
int diffPartReference (int n, int ref, int v, gc_vector< int > &prog)
void relative_to_absolute (int &aa, int cur_node)
void convert_to_absolute_position ()

Static Private Member Functions

static void make_nodes (element_type *&, int size)

Private Attributes

Field F
const CCCC
bool is_relative_position
M2_arrayint program
element_typenodes
gc_vector< intnode_index
int num_consts
int num_inputs
int num_operations
int rows_out
int cols_out
void * handle
void(* compiled_fn )(element_type *, element_type *)
clock_t eval_time
int n_calls

Static Private Attributes

static SLP< Field > * catalog [MAX_NUM_SLPs]
static int num_slps

Friends

class PathTracker

Detailed Description

template<class Field>
class SLP< Field >

Definition at line 484 of file NAG.hpp.


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