Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comparator ¶
type Comparator interface {
Compare(dataset DataReaderWithArgs) (float64, error)
}
type DataFromFile ¶
type DataFromFile struct {
// contains filtered or unexported fields
}
func NewSeriesFromFile ¶
func NewSeriesFromFile(fileName string, key string) DataFromFile
func (DataFromFile) Read ¶
func (series DataFromFile) Read() []float64
type DataReader ¶
type DataReader interface {
Read() []float64
}
type DataReaderWithArgs ¶
type Pair ¶
type Pair struct {
// contains filtered or unexported fields
}
func NewPair ¶
func NewPair(data1 DataReader, data2 DataReader) Pair
func (Pair) GetFields ¶
func (pair Pair) GetFields() []DataReader
type PairWithArgs ¶
type PairWithArgs struct {
// contains filtered or unexported fields
}
func NewPairWithArgs ¶
func NewPairWithArgs(data1 DataReaderWithArgs, data2 DataReaderWithArgs, commonArgs DataReader) PairWithArgs
func (PairWithArgs) Compare ¶
func (data PairWithArgs) Compare(datas2 DataReaderWithArgs) (float64, error)
Compare return the RMS error of two series, synced to the largest common overlapping range. If an commonArgs serie is provided, this is used to sync the series TODO: Extend Compare to return an error as well...
func (PairWithArgs) GetFields ¶
func (pair PairWithArgs) GetFields() []DataReaderWithArgs
type SerieWithArgs ¶
type SerieWithArgs struct {
// contains filtered or unexported fields
}
func NewSeriesWithArgs ¶
func NewSeriesWithArgs(arguments DataReader, functionValues DataReader) SerieWithArgs
func (SerieWithArgs) Read ¶
func (series SerieWithArgs) Read() []float64
func (SerieWithArgs) ReadArgs ¶
func (series SerieWithArgs) ReadArgs() []float64
func (SerieWithArgs) ReadAt ¶
func (series SerieWithArgs) ReadAt(xs []float64) []float64
type WeightedPairs ¶
type WeightedPairs struct {
// contains filtered or unexported fields
}
func (WeightedPairs) Compare ¶
func (objFuncs WeightedPairs) Compare() (float64, error)
Click to show internal directories.
Click to hide internal directories.