Documentation ¶
Overview ¶
Package for saving and check execution variables at checkpoints.
Index ¶
- func Activate()
- func AddFloatVar(name string, fptr *float64)
- func AddMatrixVar(name string, mtx *matrix.FloatMatrix)
- func AddScaleVar(w *sets.FloatMatrixSet)
- func AddVerifiable(name string, vvar Verifiable)
- func Check(name string, minor int)
- func Format(format string)
- func Major() int
- func MajorNext()
- func MinorEmpty() bool
- func MinorPop() int
- func MinorPush(minor int)
- func MinorTop() int
- func PanicVar(name string, ispanic bool)
- func PrintVariables()
- func Report()
- func Reset(path string)
- func Verbose(flag bool)
- type Verifiability
- type Verifiable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFloatVar ¶
Add or update float variable as check point variable.
func AddMatrixVar ¶
func AddMatrixVar(name string, mtx *matrix.FloatMatrix)
Add matrix variable as checkpointable variable.
func AddScaleVar ¶
func AddScaleVar(w *sets.FloatMatrixSet)
Add or update scaling matrix set to checkpoint variables.
func AddVerifiable ¶
func AddVerifiable(name string, vvar Verifiable)
Add or update float variable as check point variable.
Types ¶
type Verifiability ¶
type Verifiability interface { // Verify variable against reference values. Returns difference. Verify(vals ...interface{}) float64 }
type Verifiable ¶
Click to show internal directories.
Click to hide internal directories.