Documentation
¶
Index ¶
- func AreResultsCorrect(initial, reduced Matrix) bool
- func CompareNetworkEfficiency(reducedLO, reducedJS Matrix)
- func DotProduct(a, b Vector) *big.Int
- func DotProductVec(v1, v2 []*big.Int) *big.Int
- func EfficiencyScore(reduced Matrix) float64
- func Max(a, b int) int
- func PrintMatrix(M Matrix)
- func VectorLength(v []*big.Int) *big.Float
- type Matrix
- type Vector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AreResultsCorrect ¶
func CompareNetworkEfficiency ¶
func CompareNetworkEfficiency(reducedLO, reducedJS Matrix)
func DotProduct ¶
Fonction qui calcule le produit scalaire deux vecteur
func EfficiencyScore ¶
Types ¶
type Matrix ¶
type Matrix []Vector
func CreateMatrix ¶
Fonction pour crée une nouvelle matrice de taille n*m
func GenerateJouxSternNetwork ¶
Fonction pour générer des réseaux Joux-Stern
func GenerateLagariasOdlyzkoNetwork ¶
Fonction pour générer des réseaux Lagarias-Odlyzko
func GramSchmidtOrthogonalization ¶
Fonction pour effectuer l'orthogonalisation de Gram-Schmidt
type Vector ¶
func MulVecToRat ¶
Cette fonction prend un vecteur v et un nombre rationnel r en tant que paramètres d'entrée.
func MulVecToScal ¶
Fonction qui calcule le produit d'un vecteur par un scalaire
Click to show internal directories.
Click to hide internal directories.