model

package
v0.0.0-...-32b4908 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discrete

type Discrete struct {
	// contains filtered or unexported fields
}

func NewDiscrete

func NewDiscrete(tvs ...TenorValue) (Discrete, error)

type Tenor

type Tenor int
const (
	ON Tenor = iota
	W1
	M1
	M3
	M6
	M12
)

func (Tenor) Value

func (t Tenor) Value() float64

type TenorValue

type TenorValue struct {
	// contains filtered or unexported fields
}

func NewTenorValue

func NewTenorValue(tenor Tenor, value float64) TenorValue

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL