コード例 #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));
        }
コード例 #2
0
ファイル: MFullArray.cs プロジェクト: Sable/McCli
        public static MFullArray <TScalar> CreateWithShape(double rowCount, double columnCount)
        {
            var shape = MArrayShape.FromDoubles(rowCount, columnCount);

            return(CreateWithShape(shape));
        }