/** * Creates an ndarray * * @param rows the number of rows in the matrix * @param columns the number of columns in the row vector * @return ndarray */ public static IComplexNDArray complexOnes(int rows, int columns) { IComplexNDArray ret = INSTANCE.complexOnes(rows, columns); logCreationIfNecessary(ret); return ret; }
/** * Creates an ndarray * * @param columns the number of columns in the row vector * @return ndarray */ public static IComplexNDArray complexOnes(int columns) { IComplexNDArray ret = INSTANCE.complexOnes(columns); logCreationIfNecessary(ret); return ret; }
/** * Create an ndarray of ones * * @param shape the shape of the ndarray * @return an ndarray with ones filled in */ public static IComplexNDArray complexOnes(int... shape) { checkShapeValues(shape); IComplexNDArray ret = INSTANCE.complexOnes(shape); logCreationIfNecessary(ret); return ret; }
/** * Creates an ndarray * * @param rows the number of rows in the matrix * @param columns the number of columns in the row vector * @return ndarray */ public static IComplexNDArray complexOnes(int rows, int columns) { IComplexNDArray ret = INSTANCE.complexOnes(rows, columns); logCreationIfNecessary(ret); return ret; }
/** * Creates an ndarray * * @param columns the number of columns in the row vector * @return ndarray */ public static IComplexNDArray complexOnes(int columns) { IComplexNDArray ret = INSTANCE.complexOnes(columns); logCreationIfNecessary(ret); return ret; }
/** * Create an ndarray of ones * * @param shape the shape of the ndarray * @return an ndarray with ones filled in */ public static IComplexNDArray complexOnes(int... shape) { checkShapeValues(shape); IComplexNDArray ret = INSTANCE.complexOnes(shape); logCreationIfNecessary(ret); return ret; }