AIMA.Core.Util.Math.Vector.size C# (CSharp) Method

size() public method

public size ( ) : int
return int
        public int size()
        {
            return getRowDimension();
        }

Usage Example

Exemplo n.º 1
0
	//
	// PRIVATE METHODS
	//

	private Matrix createDerivativeMatrix(Vector lastInducedField) {
		List<Double> lst = new List<Double>();
		for (int i = 0; i < lastInducedField.size(); i++) {
			lst.Add(layer.getActivationFunction().deriv(
					lastInducedField.getValue(i)));
		}
		return Matrix.createDiagonalMatrix(lst);
	}
All Usage Examples Of AIMA.Core.Util.Math.Vector::size