Slice an affine or projective space with a LinearSlice today!
More...
#include <slice.hpp>
|
| unsigned | Dimension () const |
| | Get the dimension of the slice.
|
| |
| template<typename NumT> |
| void | Eval (Vec< NumT > &result, Vec< NumT > const &x) const |
| | Evaluate the function values of the LinearSlice, in-place.
|
| |
| template<typename NumT> |
| Vec< NumT > | Eval (Vec< NumT > const &x) const |
| | Evaluate the function values of the LinearSlice.
|
| |
| template<typename NumT> |
| void | Jacobian (Mat< NumT > &result, Mat< NumT > const &x) const |
| | Evaluate the Jacobian of the LinearSlice, in-place.
|
| |
| template<typename NumT> |
| Mat< NumT > | Jacobian (Mat< NumT > const &x) const |
| | Evaluate the Jacobian of the LinearSlice.
|
| |
| | LinearSlice () |
| | the default constructor for linear slices.
|
| |
| | LinearSlice (VariableGroup const &v, unsigned dim, bool homogeneous) |
| | the constructor for linear slices.
|
| |
| unsigned | NumVariables () const |
| | Get the number of variables sliced.
|
| |
| unsigned | Precision () const |
| | Get the current precision of the slice.
|
| |
| void | Precision (unsigned new_precision) const |
| | Set the precision of the slice.
|
| |
|
| static LinearSlice | Make (VariableGroup const &v, unsigned dim, bool homogeneous, bool orthogonal, std::function< void(mpfr_complex &, unsigned)> gen) |
| | factory function for generating slices
|
| |
| static LinearSlice | RandomComplex (VariableGroup const &v, unsigned dim, bool homogeneous=false, bool orthogonal=true) |
| | Generate a random complex slice.
|
| |
| static LinearSlice | RandomReal (VariableGroup const &v, unsigned dim, bool homogeneous=false, bool orthogonal=true) |
| |
Slice an affine or projective space with a LinearSlice today!
◆ LinearSlice() [1/2]
| bertini::LinearSlice::LinearSlice |
( |
| ) |
|
|
inline |
the default constructor for linear slices.
Make an empty linear slice.
◆ LinearSlice() [2/2]
| bertini::LinearSlice::LinearSlice |
( |
VariableGroup const & | v, |
|
|
unsigned | dim, |
|
|
bool | homogeneous ) |
|
inline |
the constructor for linear slices.
◆ Dimension()
| unsigned bertini::LinearSlice::Dimension |
( |
| ) |
const |
|
inline |
Get the dimension of the slice.
◆ Eval() [1/2]
template<typename NumT>
| void bertini::LinearSlice::Eval |
( |
Vec< NumT > & | result, |
|
|
Vec< NumT > const & | x ) const |
|
inline |
Evaluate the function values of the LinearSlice, in-place.
◆ Eval() [2/2]
template<typename NumT>
| Vec< NumT > bertini::LinearSlice::Eval |
( |
Vec< NumT > const & | x | ) |
const |
|
inline |
◆ Jacobian() [1/2]
template<typename NumT>
| void bertini::LinearSlice::Jacobian |
( |
Mat< NumT > & | result, |
|
|
Mat< NumT > const & | x ) const |
|
inline |
◆ Jacobian() [2/2]
template<typename NumT>
| Mat< NumT > bertini::LinearSlice::Jacobian |
( |
Mat< NumT > const & | x | ) |
const |
|
inline |
◆ Make()
| static LinearSlice bertini::LinearSlice::Make |
( |
VariableGroup const & | v, |
|
|
unsigned | dim, |
|
|
bool | homogeneous, |
|
|
bool | orthogonal, |
|
|
std::function< void(mpfr_complex &, unsigned)> | gen ) |
|
inlinestatic |
factory function for generating slices
◆ NumVariables()
| unsigned bertini::LinearSlice::NumVariables |
( |
| ) |
const |
|
inline |
Get the number of variables sliced.
◆ Precision() [1/2]
| unsigned bertini::LinearSlice::Precision |
( |
| ) |
const |
|
inline |
Get the current precision of the slice.
- Returns
- The current precision, in digits.
◆ Precision() [2/2]
| void bertini::LinearSlice::Precision |
( |
unsigned | new_precision | ) |
const |
|
inline |
Set the precision of the slice.
Copies the slice coefficients into correct precision for subsequent precision.
- Parameters
-
| new_precision | The precision to change to. |
◆ RandomComplex()
| static LinearSlice bertini::LinearSlice::RandomComplex |
( |
VariableGroup const & | v, |
|
|
unsigned | dim, |
|
|
bool | homogeneous = false, |
|
|
bool | orthogonal = true ) |
|
inlinestatic |
Generate a random complex slice.
◆ RandomReal()
| static LinearSlice bertini::LinearSlice::RandomReal |
( |
VariableGroup const & | v, |
|
|
unsigned | dim, |
|
|
bool | homogeneous = false, |
|
|
bool | orthogonal = true ) |
|
inlinestatic |
Produce a random real slice on a variable group, slicing a given number of dimensions.
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | out, |
|
|
LinearSlice const & | s ) |
|
friend |
The documentation for this class was generated from the following file: