/// <inheritdoc />
        public int MaxIndex(INDArray array)
        {
            TNDArray internalArray = InternaliseArray(array);

            return(DNDArray.MaxIndex(internalArray.Handle));
        }
        /// <inheritdoc />
        public INumber Max(INDArray array)
        {
            TNDArray internalArray = InternaliseArray(array);

            return(CreateNumberFromHandle(new DNumber(internalArray.Data.GetValue(DNDArray.MaxIndex(internalArray.Handle)))));
        }