Ejemplo n.º 1
0
        public static MFullArray <TScalar> Expand <[AnyPrimitive] TScalar>(TScalar value, double rowCount, double columnCount)
        {
            var shape = MArrayShape.FromDoubles(rowCount, columnCount);

            return(MFullArray <TScalar> .ExpandScalar(value, shape));
        }
Ejemplo n.º 2
0
        public static MFullArray <TScalar> CreateWithShape(double rowCount, double columnCount)
        {
            var shape = MArrayShape.FromDoubles(rowCount, columnCount);

            return(CreateWithShape(shape));
        }