From af4e9ef1560fa7fff9982f0d43349e6939d650d1 Mon Sep 17 00:00:00 2001 From: "Michael J. Roberts" <84131395+michealroberts@users.noreply.github.com> Date: Sun, 17 Dec 2023 15:16:21 +0000 Subject: [PATCH] feat: Added type VCurveParams struct to vcurve IRIS module. feat: Added type VCurveParams struct to vcurve IRIS module. --- pkg/vcurve/vcurve.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkg/vcurve/vcurve.go b/pkg/vcurve/vcurve.go index 9ee5752..6be55db 100644 --- a/pkg/vcurve/vcurve.go +++ b/pkg/vcurve/vcurve.go @@ -10,3 +10,13 @@ type Point struct { type VCurve struct { Points []Point } + +// VCurveParams is a struct that holds the parameters for the V-curve model optisation and the data points. +type VCurveParams struct { + A float64 + B float64 + C float64 + D float64 + x []float64 + y []float64 +}