Macaulay2 Engine
Loading...
Searching...
No Matches
NAG.cpp File Reference
#include "NAG.hpp"
#include "engine-includes.hpp"
#include <M2/math-include.h>
#include <time.h>
#include "interface/NAG.h"
#include "lapack.hpp"
#include "matrix-con.hpp"
#include "matrix.hpp"
#include "poly.hpp"
#include "relem.hpp"

Go to the source code of this file.

Macros

#define dlopen(x, y)
#define dlsym(x, y)
#define dlclose(x)

Functions

Ntermextract_divisible_by_x (Nterm *&ff, int i)
template<class Field>
int add_constant_get_position (gc_vector< typename Field::element_type > &consts, typename Field::element_type c)
void monomials_to_conventional_expvectors (int n, Nterm *f)
bool solve_via_lapack (int size, complex *A, int bsize, complex *b, complex *x)
bool solve_via_lapack_without_transposition (int size, complex *A, int bsize, complex *b, complex *x)
bool cond_number_via_svd (int size, complex *A, double &cond)
bool norm_of_inverse_via_svd (int size, complex *A, double &norm)
void rawSetParametersPT (PathTracker *PT, M2_bool is_projective, gmp_RR init_dt, gmp_RR min_dt, gmp_RR dt_increase_factor, gmp_RR dt_decrease_factor, int num_successes_before_increase, gmp_RR epsilon, int max_corr_steps, gmp_RR end_zone_factor, gmp_RR infinity_threshold, int pred_type)
void rawLaunchPT (PathTracker *PT, const Matrix *start_sols)
const MatrixrawGetSolutionPT (PathTracker *PT, int solN)
const MatrixrawGetAllSolutionsPT (PathTracker *PT)
int rawGetSolutionStatusPT (PathTracker *PT, int solN)
int rawGetSolutionStepsPT (PathTracker *PT, int solN)
gmp_RRorNull rawGetSolutionLastTvaluePT (PathTracker *PT, int solN)
gmp_RRorNull rawGetSolutionRcondPT (PathTracker *PT, int solN)
const MatrixrawRefinePT (PathTracker *PT, const Matrix *sols, gmp_RR tolerance, int max_corr_steps_refine)
int degree_ring_elem (const PolyRing *R, ring_elem re)
void print_complex_matrix (int size, const double *A)

Variables

template<class Field>
int SLP< Field >::num_slps = 0
template<class Field>
SLP< Field > * SLP< Field >::catalog [MAX_NUM_SLPs]