// Activation function which does nothing more than the summation
// of x * w, t is ignored, and only present so SumInputs matches
// the ActivationFunction type
Activation function which does nothing more than the summation
of x * w, t is ignored, and only present so SumInputs matches
the ActivationFunction type
// Activation function which does nothing more than the summation // of x * w t is ignored and only present so SumInputs matches // the ActivationFunction type
func SumInputs(x, w []float64, t float64) float64 {
	var sum float64 = 0
	for i := 0; i < len(x); i++ {
		sum += x[i] * w[i]
	}
	return sum
}
func SumInputs ( x , w [ ] float64 , t float64 ) float64 { var sum float64 = 0 for i := 0 ; i < len ( x ) ; i ++ { sum += x [ i ] * w [ i ] } return sum }
Activation function which does nothing more than the summation
of x * w, t is ignored, and only present so SumInputs matches
the ActivationFunction type
Activation function which does nothing more than the summation of x * w t is ignored and only present so SumInputs matches the ActivationFunction type